Find the answer to your Linux question:
Results 1 to 5 of 5
I have my dpi set to 91x91. Is this good for a 19" Monitor set to 1440x900? How can I change the dpi on Debian Squeeze? Thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2008
    Posts
    166

    How to set dpi in Debian Squeeze?


    I have my dpi set to 91x91. Is this good for a 19" Monitor set to 1440x900?
    How can I change the dpi on Debian Squeeze?

    Thanks

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by JoeS View Post
    I have my dpi set to 91x91. Is this good for a 19" Monitor set to 1440x900?
    How can I change the dpi on Debian Squeeze?
    Your monitor manual/guide should give the correct DPI to be used. You can also use an online DPI calculator to get the correct DPI for your monitor:

    DPI Calculator / PPI Calculator

    For my own monitor, I use the following option in the "Monitor" section of the /etc/X11/xorg.conf file:

    Code:
        Option         "DPI" "94x94"
    oz

  3. #3
    Linux Newbie
    Join Date
    Dec 2008
    Posts
    166
    I tried that. It doesn't seem to work on Debian Squeeze

    Thanks

  4. $spacer_open
    $spacer_close
  5. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    You could try adding the following to a ~/.Xdefaults or ~/.Xresources file, then restart X:

    Code:
    *.dpi:    94
    ...changing the 94 to your desired resolution.
    oz

  6. #5
    Linux Newbie
    Join Date
    Dec 2008
    Posts
    166
    None of those worked, but I was able to set it in xorg.conf:
    DisplaySize 409.26 255.79 # mm

    I found a article that show how to calculate the DisplaySize:
    25.4 divided by desired dpi x resolution
    25.4/89.37 x 1440=409.26

    24.4 converts from inches to millimeters
    89.37 the dpi for my monitor
    I checked on the dpi converter and mine was set very close already.

    Thanks for help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •