Hide Forgot
Description of problem: Default screen resolution 1400x1050. I set my screen resolution to 1024x768. My setting is lost on log-out. Version-Release number of selected component (if applicable): LXRandR 0.1.1 How reproducible: always Steps to Reproduce: 1. Open LXRandR 0.1.1 2. Change de default screen resolution do a different resolution 3. Log-out/in Actual results: the change is lost Expected results: the setting is remembered Additional info: This is the output of $ xrandr after I change my screen resolution: $ xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096 VGA-0 disconnected (normal left inverted right x axis y axis) LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1400x1050 60.0 + 60.0 1280x1024 59.9 60.0 1280x960 60.0 59.9 1280x854 59.9 1280x800 59.8 1280x720 59.9 1152x768 59.8 1024x768 60.0* 59.9 800x600 60.3 59.9 56.2 848x480 59.7 720x480 59.7 640x480 59.9 59.4 S-video disconnected (normal left inverted right x axis y axis) I believe all I have to do is to add line in /home/user/.bashrc xrand <I DON'T KNOW WHAT STRING TO PASS HERE FROM THE $ xrand OUTPUT -- THANKS HELPING>
man xrandr, version 1.1: xrandr -s <width>x<height>
lxrandr currently does not support restoring a resolution on login. This is not intended, it's only for temporarily configuring external displays. I suggest you stick with xrandr for now, but I'd make some changes: 1. ~/.bashrc is executed whenever you start bash, so for example when you open lxterminal. This is not what you want. 2. ~/.bash_profile is only executed on login, but also for a login on a console or via ssh. Not what you want either. 3. YOu want this only to happen on graphical login: I suggest you copy /etc/xdg/lxsession/LXDE/autostart to ~/.config/lxsession/LXDE/autostart and add the xrandr call there: xrandr -s 1024x768 @lxpanel --profile LXDE @pcmanfm --desktop --profile lxde @xscreensaver -no-splash @pulseaudio -D 4. If you want to set the resolution for all system wide (also for the login screen and for all users), drop an configuration file into /etc/X11/xorg.conf.d/. You can use system-config-display to generate it. I hope this info helps, I'll now close this bug. In the future, please use a mailing list like https://admin.fedoraproject.org/mailman/listinfo/lxde for questions like this one or if you are unsure if something is a bug or a feature.
Thanks Chirstoph. I will do as advised for future questions which might not be bugs.
No problem. You are not the first person who wants lxrandr to remember the screen setup, there is also a feature request at http://sourceforge.net/tracker/?func=detail&atid=894871&aid=3107353&group_id=180858 So far the developers have not picked it up because they don't like the approach and for me as I maintainer this means I should not do this ether.