Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Find Correct dpi?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
paulb787
Apprentice
Apprentice


Joined: 14 Nov 2005
Posts: 250

PostPosted: Sat Oct 08, 2011 8:12 pm    Post subject: Find Correct dpi? Reply with quote

I had to set a dpi option in my xorg.conf. To rid kde of tiny text. I used 96x96. Is there anyway for xorg to configure the dpi? Im not sure if i should be using
96 ,100, 98? i thought there might be a way to auto detect this?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Oct 08, 2011 8:39 pm    Post subject: Reply with quote

Code:
$ xdpyinfo | grep -B1 dot
  dimensions:    1920x1080 pixels (372x231 millimeters)
  resolution:    131x119 dots per inch

If your DPI is being set correctly, then don't change it - instead, change the KDE font settings to increase the font size.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sat Oct 08, 2011 9:26 pm    Post subject: Reply with quote

I had problems with dpi when I first connected my HP LP2475w monitor.
Not with fontsize,those you can adjust like Paul said,but with Gimp sizes.
They were way off.
Xorg uses the EDID of the monitor to determine dpi AFAIK.
So I ended up with this (snippet) in my xorg.conf:
Code:

Section "Screen"
    Identifier "Screen0"
    Device "VideoCard0"
    Monitor "Monitor0"
    Option "UseEDIDDPI" "False"
    Option "DPI" "94 x 94"
#    Option "DisplaySize" "517 325"
EndSection

Option Display size didn't work.
I now have this output from xdpyinfo:
Code:

xdpyinfo | grep -B1 dot
  dimensions:    1920x1200 pixels (519x324 millimeters)
  resolution:    94x94 dots per inch

which is close enough.
Gerard.

Edit: Original dpi was 87x90.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum