Announcement

Collapse
No announcement yet.

Can't make screen size permanent

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

    Can't make screen size permanent

    ok Iv been all over but still can not figure out how to make my screen size permanent on kubuntu. I have had this problem with 9.10, 10.04 and now my current 10.10. I set it in the settings or with krandrtry but after rebooting it just goes back to what it wants witch is 1920x1200. I can't even see that. So I set it to 1280x1024 but as I said once you reboot it goes back the 1920x1200. I no a little about command line stuff but not much. But if someone can give me a step by step i'll try it. I do believe that this should be fix. There should be an option in the settings to choose "make perm" or something. Hope kubuntu adds it cause this is what well scare windows people off. I hope that its just not my system I don't see anyone else having this problems in the forms. I have a intel i3 530 with the GA-H55M-S2H bios is F7 and I have 4gbs of ram. I am using the onboard video

    Thanks for any help.

    joey

    #2
    Re: Can't make screen size permanent

    You can make a little script with the xrandr command and put it in the autostart folder of kde.

    In my case the output for the displays is (I work dual display):
    fl@MSIX340:~$ xrandr
    Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
    VGA1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 477mm x 268mm
    1920x1080 60.0*+
    1680x1050 60.0
    1600x900 60.0
    1280x1024 75.0 60.0
    1280x960 60.0
    1152x864 75.0
    1280x720 60.0
    1152x720 60.0
    1024x768 75.1 60.0
    832x624 74.6
    800x600 75.0 60.3
    640x480 75.0 60.0
    720x400 70.1
    LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 353mm x 198mm
    1366x768 60.0*+
    1360x768 59.8 60.0
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    HDMI1 disconnected (normal left inverted right x axis y axis)
    DP1 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    TV1 disconnected (normal left inverted right x axis y axis)
    fl@MSIX340:~$

    I would like it to be one screen on the laptop, I would need the following script or command:
    xrandr --output LVDS1 --mode 1366x768

    And putting that script in the /home/fl/.kde/Autostart folder will automatically at boot up accomodate the screen size that you want.

    Comment


      #3
      Re: Can't make screen size permanent

      I assume your monitor is defaulting to it's native resolution 1920x1200? Nice to have such a high quality screen.

      FYI: All lcd monitors have a much clearer image when using their native resolution. They will scale to a smaller size, but always be somewhat blurry. Another solution (and the one I use on my Dell laptop with 1920x1200) is to allow the native resolution to remain but enlarge all the fonts to a readable size. The only time this doesn't work well if in the case of an (usually) older program that has a fixed small window size. You might have to temporarily zoom in or jump to a different size while using that program.

      From my point of view, having an lcd monitor purposely set at a smaller and blurry resolution is not a positive move. For example - at 1920x1200 you can watch High Definition 1080p video at full screen. At 1280x1024 you can't even watch 720p at full resolution. Also - photo editing is much easier at higher resolutions. Of course, it is your equipment so set it up how you wish.

      If you still want to re-size your screen and have it that way every time, there are several ways to do this;

      If the file /etc/X11/xorg.conf is present, you can set the resolution there. If not...

      Since xrandrtray has the resolution you desire, we know it's available. Open a terminal window and type xrandr -q . You will see output like in Francois's post. The asterisk and plus sign indicate default and selected resolutions. The remaining ones are available resolutions.

      The information you need is the connection being used (VGA1 in Francois's example)and the resolution and scan frequency (1280x1024 @ 60?).

      You should test the command first in the terminal window:

      xrandr --output VGA1 --mode 1280x1024 --rate 60

      Obviously, substitute your own correct output and desired settings.

      Then where you put this command makes a difference as to when it takes effect. The most "correct" way is to create a hidden executable file called .xprofile in your home directory and put the command into it. In the terminal window again:

      echo "xrandr --output VGA1 --mode 1280x1024 --rate 60" > ~/.xprofile
      chmod 755 ~/.xprofile


      Log out and back in to have it take effect. That should do it.

      Please Read Me

      Comment


        #4
        Re: Can't make screen size permanent

        well i tried all that but still does not work. also I don't have a LCD I have the older vga big monitor tube kind. its a Gateway EV910. Any other ideals?

        Comment


          #5
          Re: Can't make screen size permanent

          start by posting the results of xrandr -q

          Please Read Me

          Comment


            #6
            Re: Can't make screen size permanent

            ok sorry for the delay but here is the out put of the command xrandr -q

            Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
            VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 350mm x 262mm
            1792x1344 60.0 60.0
            1920x1200 59.9
            1600x1200 75.0 70.0 65.0 60.0
            1680x1050 74.9 69.9 60.0
            1600x1024 60.2
            1400x1050 85.0 85.0 74.9 74.8 70.0 60.0 60.0
            1280x1024 85.0* 75.0 60.0
            1440x900 84.8 75.0 59.9
            1280x960 85.0 60.0
            1360x768 60.0 59.8
            1280x800 84.9 74.9 59.8
            1152x864 100.0 85.1 85.0 75.0 75.0 70.0 60.0
            1280x768 84.8 74.9 59.9
            1024x768 85.0 75.1 75.0 70.1 60.0
            832x624 74.6
            800x600 85.1 85.1 72.2 75.0 60.3 56.2
            848x480 60.0
            640x480 85.0 72.8 75.0 72.8 75.0 66.7 60.0 60.0 59.9 59.9
            720x405 70.0
            720x400 87.8 85.0 70.1
            640x400 85.1
            640x350 85.1
            HDMI1 disconnected (normal left inverted right x axis y axis)
            DP1 disconnected (normal left inverted right x axis y axis)
            HDMI2 disconnected (normal left inverted right x axis y axis)
            HDMI3 disconnected (normal left inverted right x axis y axis)
            DP2 disconnected (normal left inverted right x axis y axis)
            DP3 disconnected (normal left inverted right x axis y axis)
            xxxx@xxxx-linux:~$ x=hidden

            Comment


              #7
              Re: Can't make screen size permanent

              So if you want your screen to be 1280x1024 just issue the following command:

              xrandr --output VGA1 --mode 1280x1024

              If you like it we will make a script and install it in the autostart folder of kde so that you get the right resolution at boot up automatically.

              So try the command and report the output.

              Comment


                #8
                Re: Can't make screen size permanent

                Its kinda sad that kubuntu just don't have a setting in its display settings to just click on to save what ever screen setting one would won't. This is just basic in every other OS. Yes I do want my screen size to be the 1280x1024 85. if its any higher I can't see it lol me eyes are going. Think you francois.e and everyone else for your help.

                Comment


                  #9
                  Re: Can't make screen size permanent

                  So if the xrandr command works to give you the right size screen, just make a file called a script:

                  1) right click on on the desktop folder to create a .txt file and rename it for my_type_of_display_1280x1024.sh (.sh is for executable file)
                  2) make it executable: right click on it, select properties, and select executable
                  3) in that file put the content of the xrandr command, that is the following line:
                  xrandr --output VGA1 --mode 1280x1024
                  and save it. (now if you double click on the file my_type_of_display_1280x1024.sh, it will do the same as using the xrandr command in cli mode)
                  4) to get that script working automatically at bootup:
                  kde>system settings>system administration>startup and shutdown, at the right click on Add script and select the .sh file you have created on the desktop
                  5) reboot the size of the display will be set automatically from then on.


                  Note: Other OS come with some problem too. They are not perfect. However, I would be surprised that people on forums could be as enthusiastic to help you solve the daily difficulties that you have. In addition, linux is free as an OS and it comes with a lot of free packages. It is also Free as in freedom.

                  Comment


                    #10
                    Re: Can't make screen size permanent

                    ok I did that but something went really wrong lol. When booting up it put me in a black screen. I could not see to fix it. So I rebooted and went into safe mode in a command line mode and deleted the .sh file I made and then rebooted and it let me in to a messed up screen but I was in the gui so from there I think whats messing things up is I have Desktop Effects enabled. So when disabling it all is back to normal "1920x1200". I did see in the start up preferences a script that starts up a pre-kde startup for grk2-engines-qtcurve.rc.sh is this normal? anyway I'm a bit scared to tried it again but I think its the desktop effects that messed it up. any ideals?

                    Comment


                      #11
                      Re: Can't make screen size permanent

                      I have not had the same problems as you have had but, as you have found, I have been frustrated by not finding a solution to having the settings permanent. In my case I have a Laptop with a second screen and I was wanting my Laptop to be the primary display with the second screen on the left each time I booted. Recently I found on the ubuntu forum a solution which I am pleased to report works . For my system I do the following:
                      Code:
                      Edit /etc/kde4/kdm/Xsetup and add the line: 
                      xrandr --output LVDS --primary; xrandr --output LVDS --auto --output VGA-0 --auto --left-of LVDS
                      The Xsetup file I understand is executed as kde starts up. In this example, the first command sets the Laptop as primary and then sets the screens for the default settings which in my case are acceptable.

                      In your case I do not think that you should need the commands before the ";". You will probably only need to have the following line in your Xsetup file.
                      Code:
                      xrandr --output VGA1 --mode 1280x1024
                      I hope this approach works for you and also for others that have had related problems.

                      Comment


                        #12
                        Re: Can't make screen size permanent

                        No solution, but did want to say that I'm experiencing the same problem.
                        My display defaults to 800x600. I'll reset it, but after a reboot, it goes back to 800x600. I've followed some of the suggestions in the posts, but problem continues. Disappointing.... way too much wasted time trying to get the basic stuff to work. Maybe its just me but seems like nothing works 100% correctly out of the box.

                        CPS22

                        Comment


                          #13
                          Re: Can't make screen size permanent

                          NoWorries: work like a charm. I did notice that with the new release of kde 4.6b1 they fix this. You can now go to system settings and display and monitor and Click on the size you want and then click on save as default. Kewl but I have not tried it yet. My new question is can I delete the start up file you had me make and the go into here and make it default? I guess i'll try it. If it works then "A+" to the kde team, even the desktop effects or on at start up kewl...

                          Comment


                            #14
                            Re: Can't make screen size permanent

                            Glad to know that it worked for you . In my case the file /etc/kde4/kdm/Xsetup already existed and all I did was add the lines that I gave in my previous post. So if this problem is fixed in KDE 4.6, all I would do is comment the lines that I added. I am looking forward to testing this when KDE 4.6 is released.

                            Comment


                              #15
                              Re: Can't make screen size permanent

                              I am not sure if I have the exact same problem.. but when I start up Kubuntu, the resolution is low... like 640x480, and that's definitely not my LCDs native resolution (1680x1050). If I set it to what I want, it's fine until a reboot.

                              The funny thing is, when it comes up with that low res, if I logout, restart X, and login it comes up as 1680x1050. So it seems like it's just not getting the right resolution the first time after a reboot.

                              Another data point is that prior to yesterday I was using my Intel GMA3100 onboard video. When it would start up with low res, it would span the screen. But yesterday I installed a new video card (Nvidia GT240) and now it still comes up low res, but I can pan around the screen and it goes to the full width/height of 1680 and 1050. Hope that made sense. I don't know if that gives anyone a clue as to what the source of the problem might be but it seemed worth mentioning.

                              Comment

                              Working...
                              X