how to add an xrandr resolution

Even though this thread (How To Add Additional Resolution Using Xrandr? - openSUSE Forums) is locked, I thought I’d post something more useful than “look at the man pages”…

I used gtf to generate a modeline
gtf 1920 1200 60

Then set it with xrandr (getting the “VGA” device name with xrandr -q)
xrandr --newmode “1920x1200_60.00” 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -HSync +Vsync
xrandr --addmode VGA “1920x1200_60.00”
xrandr --size “1920x1200_60.00”

This seemed to surprisingly just work.

cheers,
Nicholas

Thanks for sharing this tip. It may offer useful and simple alternative to editing xorg.conf via editor. :slight_smile:

Nicholos,

Thanks for your gtf/xrandr solution. However, this only sticks during a given session. For the new modeline to last, it’s still nescesary to tweak xorg.conf. Which I can’t seem to figure out… Can you please explain to me how to adapt it?

Thanks a million, vinniq