After closing some game my display resolution turned into 640x480 so I tried to modify xorg.conf to the following but I noticed that there are disappeared sides (at right & left) in my monitor and fonts appear small and ugly!!!
How can I fix this issue?
----xorg.conf-----
	
PS
I tried to change display resolution from display settings before modifying xorg.conf but I couldn't find any resolution bigger than 640x480 so I forced to change the resolution manually
Another thing, I tried the tip mentioned above but it didn't work because I got the following error message:
	
							
						
					How can I fix this issue?
----xorg.conf-----
Code:
	
	# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 260.19.06 (buildd@yellow) Mon Oct 4 15:59:51 UTC 2010
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 260.19.06 (buildmeister@builder101) Mon Sep 13 04:59:45 PDT 2010
Section "ServerLayout"
  Identifier   "Layout0"
  Screen   0 "Screen0" 0 0
  InputDevice  "Keyboard0" "CoreKeyboard"
  InputDevice  "Mouse0" "CorePointer"
  Option     "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
  # generated from default
  Identifier   "Mouse0"
  Driver     "mouse"
  Option     "Protocol" "auto"
  Option     "Device" "/dev/psaux"
  Option     "Emulate3Buttons" "no"
  Option     "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
  # generated from default
  Identifier   "Keyboard0"
  Driver     "kbd"
EndSection
Section "Monitor"
  Identifier   "Monitor0"
#  VendorName   "Unknown"
#  ModelName   "CRT-0"
#  HorizSync    28.0 - 33.0
#  VertRefresh   43.0 - 72.0
#  Option     "DPMS"
#  Identifier   "External DVI"
  Modeline    "1360x768_60.00"  84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
  Option     "PreferredMode" "1360x768_60.00"
EndSection
Section "Device"
  Identifier   "Device0"
  Driver     "nvidia"
  VendorName   "NVIDIA Corporation"
  BoardName   "GeForce 9500 GT"
EndSection
Section "Screen"
# Removed Option "metamodes" "nvidia-auto-select @1360x768 +0+0"
# Removed Option "metamodes" "640x480 @1360x768 +0+0"
  Identifier   "Screen0"
  Device     "Device0"
  Monitor    "Monitor0"
  DefaultDepth  24
#  Option     "TwinView" "0"
#  Option     "TwinViewXineramaInfoOrder" "CRT-0"
#  Option     "metamodes" "640x480 +0+0"
  SubSection   "Display"
    Depth    24
	Modes  "1360x768_60.00" "1024x768" "640x480"
  EndSubSection
EndSection
PS
I tried to change display resolution from display settings before modifying xorg.conf but I couldn't find any resolution bigger than 640x480 so I forced to change the resolution manually
Another thing, I tried the tip mentioned above but it didn't work because I got the following error message:
Code:
	
	mbnoimi@admino-mbnoimi ~ $ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 320 x 240, current 1360 x 768, maximum 1360 x 768 default connected 1360x768+0+0 0mm x 0mm 1360x768 50.0* 53.0 1024x768 51.0 640x480 52.0 800x600 54.0 55.0 56.0 680x384 57.0 58.0 512x384 59.0 400x300 60.0 320x240 61.0 mbnoimi@admino-mbnoimi ~ $ cvt 1360 768 # 1360x768 59.80 Hz (CVT) hsync: 47.72 kHz; pclk: 84.75 MHz Modeline "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync mbnoimi@admino-mbnoimi ~ $ xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync xrandr: Failed to get size of gamma for output default








Comment