Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Find Correct dpi?

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
paulb787
Apprentice
Apprentice
Posts: 250
Joined: Mon Nov 14, 2005 1:56 pm

Find Correct dpi?

  • Quote

Post by paulb787 » Sat Oct 08, 2011 8:12 pm

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?
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Sat Oct 08, 2011 8:39 pm

Code: Select all

$ 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.
Top
gerard27
Advocate
Advocate
Posts: 2377
Joined: Sun Jan 04, 2004 3:30 pm
Location: Netherlands

  • Quote

Post by gerard27 » Sat Oct 08, 2011 9:26 pm

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: Select all

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: Select all

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
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic