View Full Version : [ubuntu] executable file that changes my resolution

May 7th, 2008, 07:35 AM
Hi everybody,

I use an external Display(Samsung SyncMaster 226bw) on my Notebook(MSI s260, 12") and each time I reboot the resolution is at 1280*800 instead of 1680*1050. I always need to change the resolution manually.

Can anybody help me to create a file which changes the resolution? This would give me the possibility to easily change the resolution when I'm running my external Display.


May 7th, 2008, 09:25 AM
create a script which will be launched upon logging of your user.

vi myres.sh

xrandr -s 1680x1050

chmod u+x myres.sh

open system/pref/session and include myres.sh in the program to be launched upon logging

May 8th, 2008, 07:22 PM
Works great!!! ThankS! :guitar: