LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   How do I set the DPI? (https://www.linuxquestions.org/questions/linux-desktop-74/how-do-i-set-the-dpi-693969/)

JosephS 12-30-2008 08:03 PM

How do I set the DPI?
 
I have a 19" CRT monitor.
I have the screen size set to 1280 x 1024

I'm trying to set the DPI.
I used:
Quote:

startx -- -dpi 96
I also tried writing this in /usr/bin/startx:
defaultserverargs="-dpi 96"
when I use
Code:

xdpyinfo | grep resolution
I get: resolution: 77x82 dots per inch

Why is it not setting the resolution to 96?

Thanks.

nigelc 12-30-2008 09:48 PM

Hello,
I don't know how to do it in Debian, but it's in /etc/X11/xorg.conf
something like this:

Code:

Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    16
                Modes    "1280x1024"
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1280x1024"
        EndSubSection
EndSection

Cheers


All times are GMT -5. The time now is 10:22 AM.