Automate desired resolution at login
mrmazda at earthlink.net
Sun Jan 19 19:23:07 PST 2014
On 2014-01-18 15:11 (GMT-0500) jeb at askur.org composed:
> When I log into X I seem to have the wrong resolution (My screen: vga
> 19"LCD envision rated at 1440x900). I am able to get around that by typing
> the following:
> xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903
> 909 934 -hsync +vsync
> xrandr --addmode VGA-0 1440x900_60.00
> xrandr --output VGA-0 --mode 1440x900_60.00
> I haven't been able to figure out how to make this happen automatically,
> i.e. how to save this as the default mode at login.
> If you look at the log excerpt which is attached you see that there are
> some modes selected there but I don't know how to change that. I don't
> know where those modes came from.
> Trying Xorg -configure was unsuccessful due to "Number of screens..."
> Could you make any recommendations or point me in the right direction?
My Polaroid 1440x900 TV screen misbehaves similarly.
/etc/X11/xorg.conf works the same as it always has. The following works for mine:
Identifier "Default Device"
Identifier "Default Monitor"
Option "PreferredMode" "1440x900"
Identifier "Default Screen"
Device "Default Device"
Monitor "Default Monitor"
xorg.conf can be split up into 3 files named as per the comments and put into
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/
More information about the xorg