| Summary: | LXRandR - screen resolution setting is lost on log-out | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | nomnex <nomnex> |
| Component: | lxrandr | Assignee: | Christoph Wickert <cwickert> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 13 | CC: | cwickert |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-24 14:56:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
nomnex
2011-02-24 00:10:40 UTC
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. |