LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-30-2008, 08:03 PM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Rep: Reputation: 38
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.
 
Old 12-30-2008, 09:48 PM   #2
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine DPI was set all the way up now can't get it down. Herr Wolf Linux - Software 3 05-02-2008 09:25 PM
Cannot figure out how to set DPI correctly!!! rngetter Ubuntu 3 03-09-2008 01:22 AM
The dpi parameter: where is it set? grautu Debian 1 01-10-2006 11:44 AM
Suse 9.3 - dpi is set to high (128x128) xaxol SUSE / openSUSE 3 09-17-2005 07:37 PM
Mandrake 9.1: How to set screen DPI? tredegar Linux - Newbie 3 10-08-2003 03:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration