Page 1 of 1

DPI for Screen

Posted: Mon Feb 16, 2009 1:08 am
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

 #!/bin/sh

# $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?
Thanks

Re: DPI for Screen

Posted: Wed Mar 18, 2009 8:51 am
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.

Re: DPI for Screen

Posted: Thu Apr 16, 2009 1:17 am
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.