SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: huemanbeeang on September 15, 2021, 06:10:44 AM

Title: (SOLVED) How to make ARandR setting persistant
Post by: huemanbeeang on September 15, 2021, 06:10:44 AM
  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 autostart.sh or LXSession autostart? Problem is I don't know how.
Am soo clueless not even sure if am asking the right question.

Title: Re: How to make ARandR setting persistant
Post by: bin on September 15, 2021, 06:49:28 AM
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

Title: Re: How to make ARandR setting persistant
Post by: huemanbeeang on September 15, 2021, 10:07:20 PM
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