Take the 2-minute tour ×

I am using following command to change my screen resolution:

xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
xrandr --addmode VGA1 1368x768_60.00
xrandr --output VGA1 --mode 1368x768_60.00

Now, which file do I need to edit so it will modify my screen resolution when I start up my Ubuntu PC?

NOTE: editing .xprofile isn't ideal since it's only per-user, not system-wide, and GDM/KDM doesn't existed on a vanilla 11.10 install, nor does xorg.conf

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The https://wiki.ubuntu.com/X/Config/Resolution :

There are several ways to make xrandr customizations permanent from session to session: a) .xprofile, b) kdm/gdm, c) xorg.conf.

share|improve this answer

Your Answer


