You are not logged in.
Hi all,
I'm brand new to Arch - have run Ubuntu for a few years.
Adding a persistent custom resolution to Ubuntu (Gnome) with xrandr was an easy task.
Arch + LXDE - not so much.
The results of xrandr --newmode and xrandr --addmode do not persist between sessions.
I have the following in both ~/.xinitrc and ~/.xprofile and have rebooted after each change.
xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync -vsync
xrandr --addmode VGA1 1360x768_60.00
xrandr --output VGA1 --mode 1360x768_60.00
If I run all these commands manually in a terminal, I can change the resolution.
What's next? I've been Googling this for the past half hour.
Thanks for any pointers.
Last edited by testingwithfire (2014-06-02 01:35:09)
Offline
you can add these lines to an autostart file that is executed by lxsession on login(*) - that's the easiest workaround, i'd say.
other than that, you can set up you xorg.conf to change resolution a little earlier in startup process. please search the wiki for that
(*) lxsession handles things differently than plain openbox.
on Lubuntu, it would be ~/.config/lxsession/Lubuntu/autostart.
if you can't find the appropriate file, you can also create a .desktop file that does the same, and make that autostart.
Offline
Putting the lines in ~/,config/lxsession/LXDE/autostart appears to have made the resolution stick. Thanks for the pointer.
Offline