You are not logged in.

#1 2007-11-07 12:02:44

antis
Member
From: sweden
Registered: 2007-05-18
Posts: 108

[solved] dpi woes after upgrading Xorg

Hi,

After upgrading Xorg my display is set to 117x117 dpi whilst I want it to run at 96x96.
Normally it has worked for me to start gdm with "command=/usr/bin/Xorg -audit 0 -dpi 96" but that doesn't seem to bite anymore.
"xdpyinfo grep -i resolution" still resturns 117x117.

Any suggestions to how this may be resolved?

Last edited by antis (2007-11-07 17:52:50)

Offline

#2 2007-11-07 12:34:01

cucullus
Member
From: Moscow, Russia
Registered: 2007-07-07
Posts: 71

Re: [solved] dpi woes after upgrading Xorg

little question: for what do you need custom dpi?  it sounds like "i want 1 meter to be equal 80 cm". wink

Offline

#3 2007-11-07 13:01:33

testube_babies
Member
From: 127.0.0.1
Registered: 2007-06-26
Posts: 115

Re: [solved] dpi woes after upgrading Xorg

Have you tried setting your custom dpi in xorg.conf?  (or XF86config or whatever config file the x server is using nowadays).

http://gentoo-wiki.com/HOWTO_Set_DPI_(Dots_Per_Inch)
http://gentoo-wiki.com/HOWTO_Xorg_and_F … Fxorg.conf

Last edited by testube_babies (2007-11-07 17:03:38)

Offline

#4 2007-11-07 15:09:21

antis
Member
From: sweden
Registered: 2007-05-18
Posts: 108

Re: [solved] dpi woes after upgrading Xorg

@cucullus: I don't really follow that analogy... I want to change the dpi because I think the the text is too big on the screen.

@testube_babies: I haven't tried that yet but I'll certainly look in to it. Thanks for the links!

Offline

#5 2007-11-07 16:13:55

cucullus
Member
From: Moscow, Russia
Registered: 2007-07-07
Posts: 71

Re: [solved] dpi woes after upgrading Xorg

dpi is just monitor{width,height}/resolution{width,height}.
font size can be adjusted via 'Pref/Fonts' (for gnome).
but it's up to you сertainly.

Offline

#6 2007-11-07 16:18:30

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [solved] dpi woes after upgrading Xorg

antis wrote:

@cucullus: I don't really follow that analogy... I want to change the dpi because I think the the text is too big on the screen

If you take a look at the wikipedia page for Pixels Per Inch, you might understand better.  What xorg calls DPI, and wikipedia calls PPI, is a measurement based on your screen resolution (eg 1024x768) and your screen's actual, physical dimensions (say 500mm x 400mm).  By forcing a custom DPI, you're telling xorg "No, you're wrong.  My 500x400mm screen isn't really 500x400mm, it's 300x200mm.  Believe me!", which is where his analogy came from.

Offline

#7 2007-11-07 17:52:27

antis
Member
From: sweden
Registered: 2007-05-18
Posts: 108

Re: [solved] dpi woes after upgrading Xorg

Ah, I think I get it (y)
I just changed the settings for the fonts and now it looks ok.
Many thanks!

Offline

Board footer

Powered by FluxBB