Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
about DisplaySize of thinkpad t43
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 26 Aug 2008
Posts: 271

PostPosted: Sat Mar 28, 2009 9:06 am    Post subject: about DisplaySize of thinkpad t43 Reply with quote

my t43 is 1400*1050, 4:3
I set DisplaySize 286 215 in Monitor section in xorg.conf according this page http://www.prismo.ch/comparisons/notebook.php .

but when I run xdpyinfo | grep dimensions,
it displays :1400x1050 pixels (370x278 millimeters).

why 370x278 ?

thanks
_________________
i5-2450M, gnome, amd64
R,Mathematica,Emacs
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Sat Mar 28, 2009 11:49 am    Post subject: Reply with quote

Probably the pixels per inch (or pixels per mm?) setting in Gnome; I'd guess that
KDE has the same setting somewhere. I tend to measure the actual screen size,
then set the pixels/inch accordingly.

Will
Back to top
View user's profile Send private message
waterloo2005
Apprentice
Apprentice


Joined: 26 Aug 2008
Posts: 271

PostPosted: Sat Mar 28, 2009 12:50 pm    Post subject: Reply with quote

cwr wrote:
Probably the pixels per inch (or pixels per mm?) setting in Gnome; I'd guess that
KDE has the same setting somewhere. I tend to measure the actual screen size,
then set the pixels/inch accordingly.

Will


yes , I have set 124 dpi in gnome appearance.
but xdpyinfo always says 96dpi


why ?
_________________
i5-2450M, gnome, amd64
R,Mathematica,Emacs
Back to top
View user's profile Send private message
Hibbelharry
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 88
Location: Bremen, Northern Germany

PostPosted: Sat Mar 28, 2009 5:30 pm    Post subject: Reply with quote

Gnome dpi Setting only applies to gtk+ programs and doesn't matter for any qt/motif/x11 toolkit/whatever programs. You should get your x.org configuration to use the correct values and adjust gnome accordingly. Normally 96dpi on screen is kind of a standard nowadays, as windows and i think macosx default to 96dpi. So when you set other values that might get you into issues viweing websites, using wine, etc. Depending on which xorg graphics driver you use changing dpi sizes doesn't even actually work well. Nvidia Blob has an Option DPI which you can set up in your device section. Some Oss drivers don't mind setting dpi too. If you still want to change dpi you can give the dpi value to Xserver as an startup option. Modify your Session accordingly.

There is also a short explanation why 96 dpi is recommended on gentoo-wiki, take a look on it with some hints on fonts.

Don't compare dpi on screen with dpi on paper. While both seem to do the same thing dpi magic on screen is different.

Greetz
Hibbelharry
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Sat Mar 28, 2009 6:23 pm    Post subject: Re: about DisplaySize of thinkpad t43 Reply with quote

waterloo2005 wrote:
my t43 is 1400*1050, 4:3
I set DisplaySize 286 215 in Monitor section in xorg.conf according this page http://www.prismo.ch/comparisons/notebook.php .

but when I run xdpyinfo | grep dimensions,
it displays :1400x1050 pixels (370x278 millimeters).

why 370x278 ?

thanks
Seems to be similar to this https://bugs.freedesktop.org/show_bug.cgi?id=16789 . Therfore I have this
Code:
tfoerste@n22 ~ $ cat .kde/Autostart/xrandr.sh
xrandr --dpi 125


Last edited by toralf on Sun Mar 29, 2009 12:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
waterloo2005
Apprentice
Apprentice


Joined: 26 Aug 2008
Posts: 271

PostPosted: Sun Mar 29, 2009 11:32 am    Post subject: Re: about DisplaySize of thinkpad t43 Reply with quote

toralf wrote:
waterloo2005 wrote:
my t43 is 1400*1050, 4:3
I set DisplaySize 286 215 in Monitor section in xorg.conf according this page http://www.prismo.ch/comparisons/notebook.php .

but when I run xdpyinfo | grep dimensions,
it displays :1400x1050 pixels (370x278 millimeters).

why 370x278 ?

thanks
Seems to be similar to this https://bugs.freedesktop.org/show_bug.cgi?id=16789. Therfore I have this
Code:
tfoerste@n22 ~ $ cat .kde/Autostart/xrandr.sh
xrandr --dpi 125


I can not open the link .
_________________
i5-2450M, gnome, amd64
R,Mathematica,Emacs
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Sun Mar 29, 2009 12:22 pm    Post subject: Reply with quote

Pls try it again, I added a space before the dot.
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