Summary: | Krandrtray error, the program don't save display settings | ||
---|---|---|---|
Product: | [Unmaintained] krandr | Reporter: | gabriel9643 |
Component: | krandrtray | Assignee: | Gustavo Pichorim Boiko <gustavo.boiko> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | james.ellis, lamarque, myriam, shawn.starr |
Priority: | NOR | ||
Version: | 4.8.4 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
gabriel9643
2012-01-31 23:49:23 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 see also: bug #292937 - exactly the same symptoms. 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. This is also affecting me also. This is VERY ANNOYING FYI https://bugs.kde.org/show_bug.cgi?id=293006#c1 is still happening in KDE 4.8.3 Confirmed by other users. 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) Thank you for the feedback, Jamese *** This bug has been marked as a duplicate of bug 183143 *** |