Advertising

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

{solved} problems setting resolution and saving it over reboots openbox

Started by Lizbeth, May 30, 2015, 12:28:35 AM

Previous topic - Next topic

Lizbeth

Try as i might i could not get lxradr to save the resolution i set across reboots.  My one computer is connected to the tv and so  it always start out maxed 1920x1080 which is no good for these eyes.  After a discussion on another post, Pavroo mentioned setting up a desktop preference file but that didn't work for me. 

The reason it didn't work is because there is a a desktop preference file located in /home/user,.config/autostart called:

lxrandr-autostart.desktop

after looking into its contents i found this

[Desktop Entry]
Type=Application
Name=LXRandR autostart
Comment=Start xrandr with settings done in LXRandR
Exec=sh -c 'xrandr --output HDMI1 --mode 1440x900'
OnlyShowIn=LXDE


this file contains an error, the last line says only show in lxde, im using openbox so it wont work.  solution...delete that line and save the file.

problem solved

[Desktop Entry]
Type=Application
Name=LXRandR autostart
Comment=Start xrandr with settings done in LXRandR
Exec=sh -c 'xrandr --output HDMI1 --mode 1440x900'

of course when you set your monitor preferences, it will show whatever you saved

View the most recent posts on the forum