LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

Rep: Reputation: 0
X Resolution - DPI


Hi,

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-18-2005, 11:14 PM   #2
KimVette
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

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


Reply


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 06:54 PM
Changing the dpi budhusa Linux - General 5 11-13-2006 01:27 PM
change X resolution to 91 dpi, system boots gdm justa_bassplayr Debian 5 12-07-2004 12:27 PM
what's difference between 75 dpi and 100 dpi fonts? webazoid Linux - Software 0 07-06-2004 10:26 PM
Can I have more than 75 dpi screen resolution in Linux? J_Szucs Linux - Software 2 11-21-2001 03:38 PM


All times are GMT -5. The time now is 07:03 AM.

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