Bug 293006 - Krandrtray error, the program don't save display settings
Summary: Krandrtray error, the program don't save display settings
Status: RESOLVED DUPLICATE of bug 183143
Alias: None
Product: krandr
Classification: Unmaintained
Component: krandrtray (show other bugs)
Version: 4.8.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Gustavo Pichorim Boiko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 23:49 UTC by gabriel9643
Modified: 2012-08-20 01:51 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gabriel9643 2012-01-31 23:49:23 UTC
Version:           unspecified (using KDE 4.8.0) 
OS:                Linux

Krandrtray in version 4.8 of kde, the configuration is reset every time I log into kubuntu, the options that I put are not saved as default

Forgive me for the writing, I speak Spanish

Reproducible: Always

Steps to Reproduce:
I turn to the system configuration to set the screen size, the configuration is applied but every time I turn on the computer, the display settings are restart

the Program don't report error, Neither unexpectedly is closed

Actual Results:  
every time I turn on the computer or logs on, the display settings restarts

Expected Results:  
none

OS: Linux (i686) release 3.0.0-15-generic
Compiler: gcc
Comment 1 jamese 2012-02-19 22:47:02 UTC
ditto here, krandr defaults have never worked for me. Every log in to KDE the display settings have to be reset to their optimal settings.

Setup:
1x LCD (LVDS-1) @ 1280x800
1x LCD (HDMI-1) @ 1680x1050


$ cat ~/.kde/share/config/krandrrc
[Display]
ApplyOnStartup=true
StartupCommands=xrandr --output LVDS-1 --pos 0x0 --mode 1280x800 --refresh 59.9913\nxrandr --output HDMI-1 --pos 1280x0 --mode 1680x1050 --refresh 59.9543\nxrandr --noprimary

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

[Screen_0_Output_HDMI-1]
Active=true
Rect=1280,0,1680,1050
RefreshRate=60.0038414001465
Rotation=1

[Screen_0_Output_LVDS-1]
Active=true
Rect=0,0,1280,800
RefreshRate=59.9201316833496
Rotation=1



On a new startup, the screens are both set to 1024x768 even when "Save as Default > Save as Default" is chosen with optimal settings.

There seem to be a lot of bugs regarding the ability for Krandr to restore from defaults, Given the config seems to be correct something else may be interfering.

Thanks
James
Comment 2 jamese 2012-02-19 22:49:01 UTC
see also: bug #292937 - exactly the same symptoms.
Comment 3 jamese 2012-04-12 22:50:25 UTC
This is still happening in KDE 4.8.0, kubuntu packages, nouveau driver all up to date for that version.

Interestingly if I run the StartupCommands manually on the shell (bash) they work just fine.

$ xrandr --output LVDS-1 --pos 0x0 --mode 1280x800 --refresh 59.9913\nxrandr --output HDMI-1 --pos 1280x0 --mode 1680x1050 --refresh 59.9543\nxrandr --output HDMI-1 --primary
$

On reboot both screens are 1024x768. The defaults are certainly saved according to the RC file but never applied. 

Out of interest I'm wondering how a bug gets attention here ? This one has 21 votes.
Comment 4 Shawn Starr 2012-05-15 23:18:40 UTC
This is also affecting me also. This is VERY ANNOYING
Comment 5 jamese 2012-06-13 23:35:25 UTC
FYI https://bugs.kde.org/show_bug.cgi?id=293006#c1 is still happening in KDE 4.8.3
Comment 6 Myriam Schweingruber 2012-06-20 08:19:27 UTC
Confirmed by other users.
Comment 7 jamese 2012-07-30 23:23:45 UTC
If it helps, I've got a new screen and a new install of KDE 4.8.4 from Kubuntu repos, the bug still happens.

In the Screen Resize and Rotate control panel app I saved a default of:

LVDS-1: 1280x800
VGA-1: 2048x1152

On startup VGA-1 is a low res (possibly 1024x768, not sure, certainly not 2048) and after KDE login, the screen has to be set up again with the required dimensions.

$ cat ~/.kde/share/config/krandrrc
[Display]
ApplyOnStartup=true
StartupCommands=xrandr --output LVDS-1 --pos 0x0 --mode 1280x800 --refresh 59.9913\nxrandr --output VGA-1 --off\nxrandr --output VGA-1 --primary

[Screen_0]
OutputsUnified=false
UnifiedRect=0,0,0,0
UnifiedRotation=1
                                                                                                               
[Screen_0_Output_LVDS-1]                                                                                       
Active=true                                                                                                    
Rect=2048,0,1280,800                                                                                           
RefreshRate=59.9913482666016                                                                                   
Rotation=1                                                                                                     
                                                                                                               
[Screen_0_Output_VGA-1]                                                                                        
Active=false                                                                                                   
Rect=0,0,2048,1152                                                                                             
RefreshRate=59.9087333679199                                                                                   
Rotation=1                                                                                                     
                                                                                                               
[Screen_0_Output_default]                                                                                      
Active=true                                                                                                    
Rect=0,0,0,0                                                                                                   
RefreshRate=50                                                                                                 
Rotation=1


xrandr output

$ xrandr
Screen 0: minimum 320 x 200, current 3328 x 1152, maximum 8192 x 8192
LVDS-1 connected 1280x800+2048+0 (normal left inverted right x axis y axis) 287mm x 180mm
   1280x800       60.0*+
   1024x768       59.9  
   800x600        59.9  
   640x480        59.4  
   720x400        59.6  
   640x400        60.0  
   640x350        59.8  
VGA-1 connected 2048x1152+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2048x1152      59.9*+
   1600x1200      60.0  
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
HDMI-1 disconnected (normal left inverted right x axis y axis)
Comment 8 Myriam Schweingruber 2012-07-31 07:16:44 UTC
Thank you for the feedback, Jamese
Comment 9 Lamarque V. Souza 2012-08-20 01:51:37 UTC

*** This bug has been marked as a duplicate of bug 183143 ***