Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-17-2005, 02:42 PM   #1
LQ Newbie
Registered: Dec 2005
Distribution: Ubuntu 6.06 (Dapper)
Posts: 18

Rep: Reputation: 0
X Resolution - DPI


I've set my Gnome's and X resolution to 96x96 DPI. I set the Gnome resolution through the control panel. For X, I've modified /usr/X11/bin/startx and added -dpi 96 to the server args. I've also edited xorg.conf (Display Size) to match the desired DPI (I'm using a 1280x800 screen size, so I set the number to DisplaySize 340 210, which gives a 95x96 DPI when I type xdpyinfo | grep resolution).

Everything seems to work fine. But sometimes resolution switches out of this range (it want to 75x92 DPI) after a system hibernation (suspend to disk). If I reboot, everything gets back to normal.

Any idea how to make sure the DPI remains always at 96. I'm using Suse 10 w/ Gnome.
Old 12-19-2005, 12:14 AM   #2
Senior Member
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Edit your xorg.conf so DisplaySize is included and matches the width and height of your display, as measured in mm

Section "Monitor"
  DisplaySize  406 305
  HorizSync    28-115
  Identifier   "Monitor[0]"
  ModelName    "ViewSonic"
  Option       "DPMS"
  VendorName   "P815"
  VertRefresh  50-160
  UseModes     "Modes[0]"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
75 dpi, and i cant change it budhusa Linux - Software 4 11-01-2007 07:54 PM
Changing the dpi budhusa Linux - General 5 11-13-2006 02:27 PM
change X resolution to 91 dpi, system boots gdm justa_bassplayr Debian 5 12-07-2004 01:27 PM
what's difference between 75 dpi and 100 dpi fonts? webazoid Linux - Software 0 07-06-2004 11:26 PM
Can I have more than 75 dpi screen resolution in Linux? J_Szucs Linux - Software 2 11-21-2001 04:38 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration