Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.