Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum

(SOLVED) How to make ARandR setting persistant

Started by huemanbeeang, September 15, 2021, 06:10:44 AM

Previous topic - Next topic


  Host: ba Kernel: 4.19.0-17-amd64 x86_64 bits: 64 Desktop: LXDE 0.10.0
  Distro: SparkyLinux 5.15 (Nibiru)

Added a monitor and have been configuring ARandR on boot, not a big deal but ... ARandR setting saved as .sh file in the home directory now what?
Guessing I could get it to autostart with openbox or LXSession autostart? Problem is I don't know how.
Am soo clueless not even sure if am asking the right question.


This should just work with the LXRandR utility Menu>Preferences>Monitor Settings

However you should find lxrandr-autostart.desktop in your ~/.config/autostart folder

If you edit this you'll see the line that you need to enter/modify beginning Exec = sh -c .....

Take the values from the sh file and pop them in there

Obviously LXRandR autostart needs to be enabled in Desktop Session Settings


Thanks bin,
what was confusing me was the ARandR and LXRandR having different outputs in different locations and several ways to autostart
(way too many choices). While LX on autostart got my L R right, and after I boot, applying the ARandR GUI gets my vertical position right. Need to work on which flags to use for which monitor.?
Anyway ... you got me on the right track now with editing the autostart.  Thanks again

View the most recent posts on the forum