Automate desired resolution at login
Russell Shaw
rjshaw at netspace.net.au
Sun Jan 19 15:57:15 PST 2014
On 19/01/14 07:11, jeb at askur.org wrote:
> 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?
You can put the xrandr commands in ~/.Xsession
More information about the xorg
mailing list