Primitive command line interface to RandR extension
If you’re hand tweaking /etc/X11/xorg.conf to your liking, you should avoid listing display modes in the screen sections that your system can’t support. This little tool will let you know exactly what’s available.
$ xrandr
Screen 0: minimum 320 x 200, current 2400 x 1600, maximum 3520 x 1600 DVI-1 connected 1200x1600+0+0 left (normal left inverted x y) 367mm x 275mm 1600x1200 60.0*+ 1280x1024 75.0 60.0 1152x864 75.0 1024x768 75.0 60.0 800x600 75.0 60.3 640x480 75.0 59.9 720x400 70.1 DVI-0 connected 1200x1600+1200+0 left (normal left inverted x y) 367mm x 275mm 1600x1200 60.0*+ 1280x1024 75.0 60.0 1152x864 75.0 1024x768 75.0 60.0 800x600 75.0 60.3 640x480 75.0 59.9 720x400 70.1
Add the verbose switch and get even more info.
$ xrandr --verbose
1600x1200 (0x53) 162.0MHz +HSync +VSync *current +preferred
h: width 1600 start 1664 end 1856 total 2160 skew 0 clock 75.0KHz
v: height 1200 start 1201 end 1204 total 1250 clock 60.0Hz
1280x1024 (0x54) 135.0MHz +HSync +VSync
h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 80.0KHz
v: height 1024 start 1025 end 1028 total 1066 clock 75.0Hz
1280x1024 (0x55) 108.0MHz +HSync +VSync
h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz
v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz