Advertising

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

Author Topic: (SOLVED) How to make ARandR setting persistant  (Read 320 times)

Offline huemanbeeang

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
(SOLVED) How to make ARandR setting persistant
« 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.

« Last Edit: September 16, 2021, 02:50:45 am by huemanbeeang »

Offline bin

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 2
Re: How to make ARandR setting persistant
« Reply #1 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


Offline huemanbeeang

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: How to make ARandR setting persistant
« Reply #2 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