[Bug 266995] New: Settings for dual monitor setup not saved correctly (krandrrc)

nizamov.shawkat at gmail.com nizamov.shawkat at gmail.com
Wed Feb 23 16:49:33 GMT 2011


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

           Summary: Settings for dual monitor setup not saved correctly
                    (krandrrc)
           Product: kde
           Version: 4.6
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: dualhead
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: nizamov.shawkat at gmail.com


Version:           4.6 (using KDE 4.6.0) 
OS:                Linux

There is a bug reported https://bugs.kde.org/show_bug.cgi?id=183143
It is said to be fixed in kde 4.6 but looks like fix is not complete.

The visible symptoms are the same - dualhead settings not restored at startup
despite krandtray being loaded and run at startup. But after some investigation
I found that "Configure Display" does not write down
~/.kde/share/config/krandrrc correctly. In my case the setting for the CRT2 is
always set to the "false", effectively disabling the second display at startup
and at calling "Configure Display" application (e.g. by clicking on krandrtray
icon). 
However, the actual StartupCommands setting may be saved correctly! Saving this
file manually (and not touching Configure Display anymore) makes thing work. At
least, clicking on krandtray and therefore activating "Configure Display" does
not automatically disable the second display. But after playing with "Configure
Display" (e.g., activating second display on top or on the left of the first,
and later to the right) and saving the configuration as default the resulting
setting for CRT2 will be Active=false. Maybe it is triggered only when position
of CRT2 is to the right to DFP2, I do not know. 

That's why I think that this is a separate bug from already described bug
https://bugs.kde.org/show_bug.cgi?id=183143. 

I am sorry if the bug description is messy and cryptic. Here is my file 
~/.kde/share/config/krandrrc for illustration, with the line that erroneously
flips back to false.  

[Display]
ApplyOnStartup=true
StartupCommands=xrandr --output "DFP2" --pos 0x0 --mode 1280x1024 --refresh
60.0197\nxrandr --output "CRT2" --pos 1280x0 --mode 1024x768 --refresh
60.0038\nxrandr --output DFP2 --primary

[Screen_0]
OutputsUnified=false
UnifiedRect=0,0,0,0
UnifiedRotation=1

[Screen_0_Output_CRT2]
Active=true    --------------------------------> mostly gets saved as false!!!
Rect=1280,0,-1,-1
RefreshRate=0
Rotation=1

[Screen_0_Output_DFP2]
Active=true
Rect=0,0,1280,1024
RefreshRate=60.0197410583496
Rotation=1


Reproducible: Always

Steps to Reproduce:
see the bug details.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list