Tell me more ×  Whenever I login, the screen resolution is
always set to 1024 x 768. With a 1366 x 768 monitor, I end up
with two large black bars on the sides of the screen, and I have
to manually set the resolution back to 1366 x 768 via system
settings. This does not affect the Ubuntu login screen; it
occurs only after I log in. How can I make my computer
automatically start up at the correct resolution?  share|improve
this question Which drivers are you using? Proprietary
Nvidia/ATI or the open source ones? –  MiJyn Feb 15 '12 at 0:36
Intel Core intergrated graphics controller –  TreefrogInc Feb 15
'12 at 1:04 I tried adding 'xrandr -s 1366x768' to "Startup
Applications", but that doesn't seem to work. –  TreefrogInc Feb
25 '12 at 19:32 add comment  1 Answer  up vote 2 down vote
accepted  You can make a script: Run gedit ~/.screenmod and
paste  gnome-terminal -e "bash -c \"xrandr -s 1366x768; exit;
exec bash\"" exit 0   Make it executable: chmod +x ~/.screenmod
And then put it at startup applications: en