[Solved] Mabox doesn´t save screen res setting?

Hi folks,

I have a new laptop (lenovo thinkpad) and somehow Mabox doesn´t remember my 1920x1080 screen resolution setting. When I go to the LXRandr settings it already shows the 1920x1080 tab but I have to click apply and save. Not a deal breaker as I love Mabox so much, but if someone could help me that´d be awesome.

Cheers

Hello @Marquez and welcome to the forum.

If you use LXRandr to set resolution, it should create autostart file.

Check Main MenuMabox ConfigAutostart ->… GUI Editor
Check if it is there and enabled.

Thanks napcok, yes LXandR is enabled in autostart…still…have to click apply every time I boot up…

Strange :thinking:
Can you please paste here content of this file?

cat ~/.config/autostart/lxrandr-autostart.desktop
1 Like

The way i do it is .

Using Arandr. Save the profile like ~/.screenlayout/screenlayout.sh

And put screenlayout.sh at the top of openbox autostart.

:bird:

2 Likes

Thanks so much!!! This worked :-))

1 Like

I did not find this exact content. However, it showed my prefered resolution (1920x1080) in the autostart file but still I had to click apply in the settings. Anyways, I did what muzqs suggested in the comment below and that worked. Thanks so much for your help though

~/.config/openbox/autostart contains those 2 lines by default. They just examples - commented out because output names and needed resolution may be different.

## Resolution
#xrandr --output VGA-1 --primary --mode 1600x900 --pos 0x0 --rotate normal
#xrandr --output VGA-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal
1 Like