LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 Squeeze, CrunchBang Waldorf
Posts: 514

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 4
Posts: 301
Blog Entries: 4

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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/Novell 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


All times are GMT -5. The time now is 11:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration