Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Solved! Xrandr Settings Do Not Stay After Reboot

Started by 1Leenie, August 23, 2022, 04:58:17 PM

Previous topic - Next topic

1Leenie

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?

AxL

Quote from: 1Leenie on August 23, 2022, 04:58:17 PM[....] My problem is the system boots into portrait mode and not landscape.

Please check if this option will work for you, to solve the problem:

➤ Want to know how you can use a program you have never used before? "man" will be your best new friend! Type "man <pkg-name>" in a shell.
➤ Or, point your browser to "manpages.debian.org/<pkg-name>" .... RTFM !!!

1Leenie

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!


AxL

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.

Have you already tried, adding the option you mention, to the OpenBox 'autostart' file (~/.config/openbox/autostart) ... ???


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









Cheers !! 
➤ Want to know how you can use a program you have never used before? "man" will be your best new friend! Type "man <pkg-name>" in a shell.
➤ Or, point your browser to "manpages.debian.org/<pkg-name>" .... RTFM !!!

1Leenie

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?

AxL

Quote from: 1Leenie on August 24, 2022, 06:00:51 PMThank you so much!!


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.









Cheers !!
➤ Want to know how you can use a program you have never used before? "man" will be your best new friend! Type "man <pkg-name>" in a shell.
➤ Or, point your browser to "manpages.debian.org/<pkg-name>" .... RTFM !!!

1Leenie

#6
How do I mark this as solved to help others? (I am a moderator on planetwatt.com/newforum/)

AxL

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. 
➤ Want to know how you can use a program you have never used before? "man" will be your best new friend! Type "man <pkg-name>" in a shell.
➤ Or, point your browser to "manpages.debian.org/<pkg-name>" .... RTFM !!!

View the most recent posts on the forum