View previous topic :: View next topic |
Author |
Message |
waterloo2005 Apprentice
Joined: 26 Aug 2008 Posts: 271
|
Posted: Sat Mar 28, 2009 9:06 am Post subject: about DisplaySize of thinkpad t43 |
|
|
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 |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Sat Mar 28, 2009 11:49 am Post subject: |
|
|
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 |
|
|
waterloo2005 Apprentice
Joined: 26 Aug 2008 Posts: 271
|
Posted: Sat Mar 28, 2009 12:50 pm Post subject: |
|
|
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 |
|
|
Hibbelharry Tux's lil' helper
Joined: 27 May 2003 Posts: 88 Location: Bremen, Northern Germany
|
Posted: Sat Mar 28, 2009 5:30 pm Post subject: |
|
|
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 |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Sat Mar 28, 2009 6:23 pm Post subject: Re: about DisplaySize of thinkpad t43 |
|
|
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 |
|
|
waterloo2005 Apprentice
Joined: 26 Aug 2008 Posts: 271
|
Posted: Sun Mar 29, 2009 11:32 am Post subject: Re: about DisplaySize of thinkpad t43 |
|
|
I can not open the link . _________________ i5-2450M, gnome, amd64
R,Mathematica,Emacs |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Sun Mar 29, 2009 12:22 pm Post subject: |
|
|
Pls try it again, I added a space before the dot. |
|
Back to top |
|
|
|