SparkyLinux Forums

Installation & Upgrade => Installation => Topic started by: 1Leenie on August 23, 2022, 04:58:17 PM

Title: Solved! Xrandr Settings Do Not Stay After Reboot
Post by: 1Leenie on August 23, 2022, 04:58:17 PM
I just installed SparkyLinux 32bit Openbox on an old RCA Cambio W101CS. 2gb ram 32gb hard drive. My problem is the system boots into portrait mode and not landscape. This is awkward with a keyboard attached. I can turn it with xrandr, (xrandr --output DSI-1 --rotate right) but it does not stay on reboot or display the boot splash in landscape. Where can I look for help on this forum?
Title: Re: Xrandr Settings Do Not Stay After Reboot
Post by: AxL on August 23, 2022, 06:27:23 PM
Quote from: 1Leenie on August 23, 2022, 04:58:17 PM[....] My problem is the system boots into portrait mode and not landscape.

(https://i.imgur.com/bDtcOwK.gif) Please check if this option will work for you, to solve the problem:

Title: Re: Xrandr Settings Do Not Stay After Reboot
Post by: 1Leenie on August 23, 2022, 08:08:24 PM
I added video=efifb fbcon=rotate:1 to kernel command line, saved it and did update-grub. upon reboot it did not work. I have been using Linux for 12 years and a simple thing like this has reduced me to a newbie!

Title: Re: Xrandr Settings Do Not Stay After Reboot
Post by: AxL on August 24, 2022, 01:34:29 PM
Quote from: 1Leenie on August 23, 2022, 04:58:17 PM[....] I can turn it with xrandr, (xrandr --output DSI-1 --rotate right) but it does not stay on reboot or display the boot splash in landscape.

(https://i.imgur.com/bDtcOwK.gif) Have you already tried, adding the option you mention, to the OpenBox 'autostart' file (~/.config/openbox/autostart) ... ???


xrandr --output DSI-1 --rotate right &









Cheers !!  (https://i.imgur.com/emjz0.gif)
Title: Re: Xrandr Settings Do Not Stay After Reboot
Post by: 1Leenie on August 24, 2022, 06:00:51 PM
Thank you so much!! It goes to landscape after booting. I added the line "xrandr --output DSI-1 --rotate right &" to the bottom of the .config/openbox/autostart.sh file. Would you please confirm that was the correct place?
Title: Re: Xrandr Settings Do Not Stay After Reboot
Post by: AxL on August 24, 2022, 07:14:05 PM
Quote from: 1Leenie on August 24, 2022, 06:00:51 PMThank you so much!!
(https://i.imgur.com/rsNxgL4.gif)

Quote from: 1Leenie on August 24, 2022, 06:00:51 PM[...] It goes to landscape after booting. I added the line "xrandr --output DSI-1 --rotate right &" to the bottom of the .config/openbox/autostart.sh file. Would you please confirm that was the correct place?

Yep, that's right ... & I'm glad you have solved the issue. (https://i.imgur.com/RGwcc9H.gif)









Cheers !! (https://i.imgur.com/rOXmqAV.gif)
Title: Re: Xrandr Settings Do Not Stay After Reboot
Post by: 1Leenie on August 24, 2022, 08:11:24 PM
How do I mark this as solved to help others? (I am a moderator on planetwatt.com/newforum/)
Title: Re: Xrandr Settings Do Not Stay After Reboot
Post by: AxL on August 24, 2022, 10:00:41 PM
Quote from: 1Leenie on August 24, 2022, 08:11:24 PMHow do I mark this as solved to help others?

Just personally edit your first post in this thread, and add [SOLVED] to the message title.  (https://i.imgur.com/gBOvUdx.gif)