Find the answer to your Linux question:
Results 1 to 3 of 3
Hello all, I recently upgraded from a 17 inch flat panel monitor to a 24 inch. Unfortunately, my xorg.conf file is set to use the resolution on my old monitor ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377

    How can I modify my xorg.conf to adjust to a bigger monitor?


    Hello all,

    I recently upgraded from a 17 inch flat panel monitor to a 24 inch. Unfortunately, my xorg.conf file is set to use the resolution on my old monitor (1280x1024) instead of the new one (1920x1200). How can I reconfigure X to compensate for this change in my system? Below is the section of my xorg.conf that I thought would have to be edited. I can pretty much tell that I have to add the new resolution as a "Mode" but I didn't want to try anything out without being sure of what I was doing for fear of being graphically blocked out of my system. I would appreciate your help. Thanks.

    Code:
    Section "Monitor"
    	Identifier	"SDM-HS73"
    	Option		"DPMS"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Device		"ATI Technologies, Inc. RV280 [Radeon 9200]"
    	Monitor		"SDM-HS73"
    	DefaultDepth	24
    	SubSection "Display"
    		Depth		1
    		Modes		"1280x1024" "1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		4
    		Modes		"1280x1024" "1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		8
    		Modes		"1280x1024" "1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		15
    		Modes		"1280x1024" "1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		16
    		Modes		"1280x1024" "1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		24
    		Modes		"1280x1024" "1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    EndSection

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Given the fact that the "default depth" is set to 24, you only need to change the mode in the related section, to which you can add your monitor's resolution :
    Code:
    [...]
    SubSection "Display"
    		Depth		24
    		Modes		"1920x1200" "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    	EndSubSection
    [...]
    There is really nothing to it. Just make sure you do a backup of the original file before modifying it.

    If you prefer not to modify the file by hand, you can use the X configuration tool that comes with your distro (which distro is it ?).
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    Thanks antidrugue. Looks beautiful.

  4. $spacer_open
    $spacer_close

Posting Permissions

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