[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 183143] Display Settings are Lost on Logout
From:       gene smith <gds () chartertn ! net>
Date:       2011-04-29 15:15:02
Message-ID: 20110429151502.7A91786408 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=183143





--- Comment #55 from gene smith <gds chartertn net>  2011-04-29 17:14:51 ---
(In reply to comment #53)
> (In reply to comment #52)
> 
> Please, "Save as default" your desired setup and post that broken
> StartupCommands line here, so that I can try to work around it for you.
> 

Here's my results for the system with two DVI and resolution 1600x1200.

Monitor "size and orientation" config screen set like this:

DVI-0 (Connected)
Size: 1600x1200 (auto)
Refresh: 60 Hz
Orientation: No rotation
Position Absolute 1600 0

DVI-0 (Connected)
Size: 1600x1200 (auto)
Refresh: 60 Hz
Orientation: No rotation
Position: Left of DVI-0 (or Absolute: 0 0 -- same result)

Saved to krandrrc by doing "apply" and then "save as default" produces this
StartupCommands in krandrrc:
StartupCommands=xrandr --output "DVI-0" --pos 1600x0 --mode 1600x1200 --refresh
60\nxrandr --output "DVI-1" --pos 0x0 --mode 1600x1200 --refresh 60\nxrandr
--output "DVI-0" --primary
After just apply, this produces the expected results. But this comes up
"cloned" (same on both monitors) after logoff / login:

Edit ~/.kde/share/config/krandrrc to this and logoff / login then works as
expected:
StartupCommands=xrandr --output "DVI-0" --right-of "DVI-1" --mode 1600x1200
--refresh 60\nxrandr --output "DVI-1" --pos 0x0 --mode 1600x1200 --refresh
60\nxrandr --output "DVI-0" --primary

This also works as expected after logoff / login (single consolidated xrandr
call):
StartupCommands=xrandr --output "DVI-0" --pos 1600x0 --mode 1600x1200 --refresh
60 --primary --output "DVI-1" --pos 0x0 --mode 1600x1200 --refresh 60

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic