Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Hello everybody, I intalled my ubuntu 9.04 in my windows xp in my pc. I noticed that when I use the xp, the desktop fits perfectly well while in the ...
  1. #1
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Location
    An Island in the Pacific!
    Posts
    1,197

    [SOLVED] Screen Cannot Fit the Ubuntu Desktop



    Hello everybody,

    I intalled my ubuntu 9.04 in my windows xp in my pc.
    I noticed that when I use the xp, the desktop fits perfectly well while in the ubuntu the desktop doesn't seem to fit. I thought it was because of my monitor (hardware) but now I realize that if it runs well with windows, it should be running well in ubuntu. Can somebody please help me figure this out? Thanks in advance,,,

    nujinini

  2. #2
    Just Joined!
    Join Date
    Mar 2008
    Posts
    5
    If your monitor has an auto-adjust feature, try that, as I have found that my windows desktop is shifted about 20 pixels further right than it is in X.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    Are you using correct Graphics Driver and supported HorizSync/VertRefresh rates?
    Code:
    sudo lspci | grep -i vga
    grep -i driver /etc/X11/xorg.conf
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Location
    An Island in the Pacific!
    Posts
    1,197
    Quote Originally Posted by devils casper View Post
    Are you using correct Graphics Driver and supported HorizSync/VertRefresh rates?
    Code:
    sudo lspci | grep -i vga
    grep -i driver /etc/X11/xorg.conf
    Code:
    family@family-desktop:~$ sudo lspci | grep -i vga
    [sudo] password for family: 
    00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 405 (rev a2)
    family@family-desktop:~$ sudo lspci | grep -i vga
    00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 405 (rev a2)
    family@family-desktop:~$ grep -i driver /etc/X11/xorg.conf
    #	Driver		"kbd"
    #	Driver		"mouse"
    	Driver	"nvidia"
    family@family-desktop:~$
    Hello, I executed the above and this is what I got.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    How did you install Nvidia Proprietary Driver?

    Post the contents of /etc/X11/xorg.conf file here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Location
    An Island in the Pacific!
    Posts
    1,197
    Quote Originally Posted by devils casper View Post
    How did you install Nvidia Proprietary Driver?

    Post the contents of /etc/X11/xorg.conf file here.
    family@family-desktop:~$ /etc/X11/xorg.conf
    bash: /etc/X11/xorg.conf: Permission denied
    family@family-desktop:~$ sudo /etc/X11/xorg.conf
    [sudo] password for family:
    Sorry, try again.
    [sudo] password for family:
    sudo: /etc/X11/xorg.conf: command not found
    family@family-desktop:~$ sudo cat /etc/X11/xorg.conf
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    # sudo dpkg-reconfigure -phigh xserver-xorg
    # commented out by update-manager, HAL is now used
    #Section "InputDevice"
    # Identifier "Generic Keyboard"
    # Driver "kbd"
    # Option "XkbRules" "xorg"
    # Option "XkbModel" "pc105"
    # Option "XkbLayout" "us"
    #EndSection
    # commented out by update-manager, HAL is now used
    #Section "InputDevice"
    # Identifier "Configured Mouse"
    # Driver "mouse"
    # Option "CorePointer"
    #EndSection

    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    DefaultDepth 24
    EndSection

    Section "Module"
    Load "glx"
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    screen "Default Screen"
    EndSection

    Section "Device"
    Identifier "Configured Video Device"
    Driver "nvidia"
    Option "NoLogo" "True"
    EndSection

    family@family-desktop:~$
    hello dc

    this is what i got

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    Check Monitor's Manual for supported Refresh Rates (HorizSync/VertRefresh) and Resolutions (modes).

    Press Alt+F2 and type this
    Code:
    gksu gedit /etc/X11/xorg.conf
    It will open xorg.conf file in Gedit with root privileges.

    Add supported Refresh rates and Modes.

    Generic Values, work fine for most of Monitors.
    Code:
    Section "Monitor"
               Identifier "Configured Monitor"
               HorizSync    30-71
               VertRefresh    50-160
    EndSection
    
    Section "Screen"
            Identifier "Default Screen"
            Monitor "Configured Monitor"
            Device "Configured Video Device"
            DefaultDepth 24
            SubSection "Display"
                  Depth        24
                  Modes        "1280x1024" "1024x768" 
            EndSubSection
    EndSection
    Save file and reboot machine.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Location
    An Island in the Pacific!
    Posts
    1,197
    Quote Originally Posted by devils casper View Post
    Check Monitor's Manual for supported Refresh Rates (HorizSync/VertRefresh) and Resolutions (modes).

    Press Alt+F2 and type this
    Code:
    gksu gedit /etc/X11/xorg.conf
    It will open xorg.conf file in Gedit with root privileges.

    Add supported Refresh rates and Modes.

    Generic Values, work fine for most of Monitors.
    Code:
    Section "Monitor"
               Identifier "Configured Monitor"
               HorizSync    30-71
               VertRefresh    50-160
    EndSection
    
    Section "Screen"
            Identifier "Default Screen"
            Monitor "Configured Monitor"
            Device "Configured Video Device"
            DefaultDepth 24
            SubSection "Display"
                  Depth        24
                  Modes        "1280x1024" "1024x768" 
            EndSubSection
    EndSection
    Save file and reboot machine.
    Hi DC,

    It appears to be working as I am using it now and looks much better (it fits) the graphics are a little low however and a bit grainy. In fact, it gave a warning that it would operate only in this mode just for this session. I still have to check as I reboot in a while.

  9. #9
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Location
    An Island in the Pacific!
    Posts
    1,197
    Quote Originally Posted by nujinini View Post
    Hi DC,

    It appears to be working as I am using it now and looks much better (it fits) the graphics are a little low however and a bit grainy. In fact, it gave a warning that it would operate only in this mode just for this session. I still have to check as I reboot in a while.
    Dear DC,

    Thank you very much! I tried to reboot twice and it is a very stable configuration. Our ubuntu desktop have never looked better. In fact, this is the first time I see it fit. My children will be very happy with this when they come home from school. I thought we needed to buy a bigger monitor. I save some money by doing this. Again, sincerest thanks!

    nujinini )

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    Glad to help you !

    Save a copy of this working xorg.conf file. You can use same copy in future. This configuration will work fine in most of distros. Whenever you install any other distro, just replace default xorg.conf file of that distro with this one.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •