--
toglimi....@toglimi.quipo.it
ANTI-SPAM: please cut "toglimi." for my real e-mail address.
p8400 Core2, Linux 2.6.31.4-rt14-2-x86_64, Debian GNU/Linux squeeze/sid
Registered Linux user #291116 http://counter.li.org
> Hi,
> I usually have:
> exec /usr/bin/X -dpi 100 -depth 24 -f 75 dpms
> in my /etc/X11/xinit/xserverrc but I can see that if deleting the option
> "-dpi 100" the default resolution is
> $ xdpyinfo | grep resolution
> resolution: 114x114 dots per inch
> on my notebook (a Toshiba U400 13,3") and it is 90x90 dots per inch on my
> desktop (which has a Viewsonic VG2230wm monitor and an ATI HD2400PRO
> card).
> To set the size of the fonts is it better to pass the "-dpi" option to X
> or increase/decrease the font size in the desktop environment?
Which desktop environment??? Impossible to answer how and
why unless you tell us.
A lot of X clients still use resource strings. You can use
resource strings to set the font size for each X client.
This is in fact the original and only method to set font
size with older window managers. A lot of rtfm'ing in the
editres, xrdb, Xdefaults and Xresources manual pages, and
each client's documentation and app-defaults should provide
a starting point.
The dpi depends on the monitor's resolution, and X display
server and its drivers normally can manage to set the
correct dpi for the monitor/video card combination, Further,
most X clients aren't designed to check the dpi (though
certainly there's some exceptions). Re-setting the dpi can
have untoward effects when trying to render text or
graphics. And, in fact, clients and the system libraries
are designed to manage their own text and graphics display
independently with no need to migrate between various video
cards and monitors.
HTH
> Which desktop environment??? Impossible to answer how and why unless
> you tell us.
Actually I'm using KDE-4, but sometimes I do use Gnome and, when I need a
light environment, Fluxbox.
I've asked this question because the man page of my driver, radeonhd,
discourages setting dpi in xorg.conf.
--
toglimi....@toglimi.quipo.it
ANTI-SPAM: please cut "toglimi." for my real e-mail address.
P4 3.00GHz, Linux 2.6.31.6-rt19-1-x86_64 on Debian GNU/Linux squeeze/sid