DPI for Screen

Please post all general support questions for LXDE here.
Posts: 3
Joined: Fri Jan 30, 2009 12:58 pm

DPI for Screen

Post by gabarice »

The current screen dpi is at 1024x768@76 dpi.

Before installing full LXDE, I use openbox and lxpanel (on Debian Lenny), I have set the dpi to 96 at:
# /etc/X11/xinit/xserverrc

Code: Select all


# $Id: xserverrc 189 2005-06-11 00:04:27Z branden $

exec /usr/bin/X11/X -nolisten tcp -dpi 96

After installing LXDE, the dpi defaulted to 76 dpi. What other method can I change the dpi to 96?

Posts: 45
Joined: Sat Dec 27, 2008 12:32 pm

Re: DPI for Screen

Post by kgas »

you can edit your xorg.conf and add the following under device if your using intel video card.
Option "NoDDC" "true"
Option "DPI" "96 x 96"
Check your current resolution Code: xdpyinfo | grep resolution
Logout and login to see the change. Hope this may help you.

Posts: 11
Joined: Tue Mar 24, 2009 11:30 pm

Re: DPI for Screen

Post by shinchyn »

I use slim as my login manager.
In /etc/slim.conf, thereis

xserver_arguments -nolisten tcp vt07

Change it to

xserver_arguments -nolisten tcp vt07 -dpi 96 // 96dpi for example

That's all.