Announcement

Collapse
No announcement yet.

kde system settings > display and monitor > save as default lost after reboot

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    kde system settings > display and monitor > save as default lost after reboot

    I have 3 monitors and I'm trying to save my display settings, but they are lost after every reboot.

    I've read about creating an xorg.conf file and also about editing /etc/kde4/kdm/Xsetup. Neither of those sound like the correct approach. Surely there is some way to make the system settings "save as defaults" button actually work like it was designed to work without resorting to a hack. What's the right way to solve this?

    If an Xorg.conf is the right way, can someone supply a template?

    This info should help:

    Code:
    01:00.0 VGA compatible controller: ATI Technologies Inc Juniper LE [AMD Radeon HD 6700 Series]
    Code:
    /etc/kde4/kdm$ xrandr -q
    Screen 0: minimum 320 x 200, current 6400 x 1600, maximum 8192 x 8192
    DisplayPort-0 connected 2560x1600+1920+0 (normal left inverted right x axis y axis) 641mm x 401mm
       2560x1600      60.0*+
       1920x1440      60.0  
       1920x1200      59.9  
       1920x1080      60.0  
       1600x1200      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-0 connected 1920x1200+4480+0 (normal left inverted right x axis y axis) 518mm x 324mm
       1920x1200      60.0*+
       1920x1080      60.0  
       1600x1200      60.0  
       1680x1050      60.0  
       1280x1024      60.0  
       1280x960       60.0  
       1024x768       60.0  
       800x600        60.3  
       640x480        60.0  
       720x400        70.1  
    DVI-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
       1920x1200      60.0*+
       1920x1080      60.0  
       1600x1200      60.0  
       1680x1050      60.0  
       1280x1024      60.0  
       1280x960       60.0  
       1024x768       60.0  
       800x600        60.3  
       640x480        60.0  
       720x400        70.1  
    DVI-1 unknown connection (normal left inverted right x axis y axis)
       1360x768       59.8  
       1152x864       60.0  
       1024x768       60.0  
       800x600        60.3  
       640x480        59.9  
       680x384       119.6    119.9  
       576x432       120.1  
       512x384       120.0  
       400x300       120.6  
       320x240       120.1
    BTW, this is a brand new clean install of Kubuntu 11.10. It's completely stock so far.

    Thanks

    #2
    Something to look/check

    When you are saving as default

    1) Do you get the confirmation notification ?



    2) Is there the ~/.kde/share/config/krandrrc file?

    3) Does the krandrrc file have the correct information ?

    After the reboot

    4) Is the ~/.kde/share/config/krandrrc file still there ?

    5) Does the krandrrc have the correct information ?


    Manual configuration

    Generic: https://wiki.ubuntu.com/X/Config
    Today's X rarely requires manual configuration. X now automatically configures itself with reasonable defaults. Both GNOME and KDE provide GUI utilities for customizing settings beyond these defaults if you like.

    However, sometimes you need to muck with the configuration manually, beyond what these tools allow...
    Have you tried ?

    - How to Ask a Question on the Internet and Get It Answered
    - How To Ask Questions The Smart Way

    Comment


      #3
      Thank you for the very helpful reply! That's the best reply I have seen in any of my research on this problem.

      I do get that confirmation dialog. And I do have the ~/.kde/share/config/krandrrc file. After I post this, I'll reboot and see if the file is still there.

      Here are the current contents, after setting the display configuration the way I want it and saving:

      Code:
      $ cat ~/.kde/share/config/krandrrc
      [Display]
      ApplyOnStartup=true
      StartupCommands=xrandr --output DisplayPort-0 --pos 1920x0 --mode 2560x1600 --refresh 59.9716\nxrandr --output HDMI-0 --pos 4480x0 --mode 1920x1200 --refresh 59.9502\nxrandr --output DVI-0 --pos 0x0 --mode 1920x1200 --refresh 59.9502\nxrandr --output DisplayPort-0 --primary
      
      [Screen_0]
      OutputsUnified=false
      UnifiedRect=0,0,0,0
      UnifiedRotation=1
      
      [Screen_0_Output_DVI-0]
      Active=true
      Rect=0,0,1920,1200
      RefreshRate=59.9501724243164
      Rotation=1
      
      [Screen_0_Output_DisplayPort-0]
      Active=true
      Rect=1920,0,2560,1600
      RefreshRate=59.9715881347656
      Rotation=1
      
      [Screen_0_Output_HDMI-0]
      Active=true
      Rect=4480,0,1920,1200
      RefreshRate=59.9501724243164
      Rotation=1

      Comment


        #4
        Update: everything is working as it should in Netrunner 4.0.1 64 bit. Previously I tried Kubuntu 11.10 and 12.04 as well as openSuse 12.1 and the display settings were not saved. But with Netrunner it works. I'm not sure why, because Netrunner 4.0.1 is built on Kubuntu 11.10.

        Now that I know which files to look for, I'm tempted to reinstall both openSuse and Kubuntu and see if I can isolate the problem. But for now, I will simply use Netrunner because "it just works."

        Thanks so much for explaining how this should work. Now I understand what to look for in the future if I have this problem with another distro or version.
        Last edited by MountainX; Feb 08, 2012, 01:19 PM. Reason: small typo fixed

        Comment


          #5
          You could try a utility called arandr. If I'm not mistaken it lets you save your configuration as a bash script which can be executed either after login or, if you do a bit of research, at the login screen.
          Registered Linux user #481882

          Comment


            #6
            I have the same problem, the krandrrc file is there all the time and has the correct info, it just does not exicute. I have to recreate the resolution after every login before it shows in system settings, then it works great untill the next login. But when I navigate to the krandrrc, it is all set just as it should be. I am at a lose to figure this one out, HELP! Here is my krandrrc. [Display]
            ApplyOnStartup=true
            StartupCommands=xrandr --output VGA1 --pos 0x0 --mode 1600x1200 --refresh 59.9988\nxrandr --output VGA1 --primary

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

            [Screen_0_Output_VGA1]
            Active=true
            Rect=0,0,1600,1200
            RefreshRate=59.9988059997559
            Rotation=1

            Comment


              #7
              Possibly the newline part (\n) is the problem. Try
              Code:
              StartupCommands=xrandr --output VGA1 --pos 0x0 --mode 1600x1200 --primary --refresh 59.9988

              Please Read Me

              Comment


                #8
                For MountainX, try creating an executable script separating the xrandr commands into individual commands and add it the to startup script list in System Settings

                Please Read Me

                Comment


                  #9
                  I noticed on my system /usr/in/startkde contains

                  Code:
                  krandrrc Display ApplyOnStartup false
                  changing this to true might solve this for both of you.

                  Please Read Me

                  Comment

                  Working...
                  X