| |
07-01-2009
|
#1 (permalink)
| | Linux User
Join Date: Apr 2009
Posts: 337
| [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 |
|
|
07-01-2009
|
#2 (permalink)
| | 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. |
| |
07-01-2009
|
#3 (permalink)
| | Super Moderator
Join Date: Jun 2006 Location: Chandigarh, India
Posts: 21,081
| 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 takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein New Users: Read This First |
| |
07-01-2009
|
#4 (permalink)
| | Linux User
Join Date: Apr 2009
Posts: 337
| Quote:
Originally Posted by devils casper 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.  |
| |
07-01-2009
|
#5 (permalink)
| | Super Moderator
Join Date: Jun 2006 Location: Chandigarh, India
Posts: 21,081
| How did you install Nvidia Proprietary Driver?
Post the contents of /etc/X11/xorg.conf file here.
__________________ It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein New Users: Read This First |
| |
07-02-2009
|
#6 (permalink)
| | Linux User
Join Date: Apr 2009
Posts: 337
| Quote:
Originally Posted by devils casper How did you install Nvidia Proprietary Driver?
Post the contents of /etc/X11/xorg.conf file here. | Quote:
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  |
| |
07-02-2009
|
#7 (permalink)
| | Super Moderator
Join Date: Jun 2006 Location: Chandigarh, India
Posts: 21,081
| 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 takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein New Users: Read This First |
| |
07-02-2009
|
#8 (permalink)
| | Linux User
Join Date: Apr 2009
Posts: 337
| Quote:
Originally Posted by devils casper 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. |
| |
07-02-2009
|
#9 (permalink)
| | Linux User
Join Date: Apr 2009
Posts: 337
| Quote:
Originally Posted by nujinini 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  ) |
| |
07-03-2009
|
#10 (permalink)
| | Super Moderator
Join Date: Jun 2006 Location: Chandigarh, India
Posts: 21,081
| 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 takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein New Users: Read This First |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |