Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-07-2003, 09:15 AM   #1
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Mandrake 9.1: How to set screen DPI?


I am running Mandrake 9.1, XFree86 4.3.0, KDE 3.1.0, NVIDIA's drivers, set to 1280x1024, Dell P991 monitor (365mm x 375mm visible screen)

In general, I am very happy with it, but I am still having font-related problems eg scrolling text in mozilla1.3 makes the characters blurry until I click on a bit of blank desktop - then they are redrawn clearly.

Google and postings suggest that this might be due to my DPI setting.

xdpyinfo | grep dots
gives me
resolution: 87x96 dots per inch

I think this is bad because the numbers should be the same (eg 96x96?). The trouble is that I do not know how to go about changing this.

What do I have to do so

xdpyinfo | grep dots
gives me
resolution: 96x96 dots per inch

Old 10-07-2003, 11:12 AM   #2
Registered: May 2003
Location: India
Distribution: Knoppix, RedHat
Posts: 246

Rep: Reputation: 30

searched in google and found this

hope that helps
Old 10-07-2003, 01:28 PM   #3
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
The way Im doing it in mandrake 9.0 is:
alias x="startx -- -dpi 120"
in my .bashrc.

You could also edit the startx script, it passes args directly to X.

Last edited by m0rl0ck; 10-07-2003 at 01:31 PM.
Old 10-08-2003, 03:27 AM   #4
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Original Poster
Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
I looked at the startx script but it is way beyond my understanding at the moment!

So I tried

$ startx -- -dpi 96

which did set the resolution to 96x96 dots per inch, which was what I was trying to do, but this did not solve the problem of scrolling text in mozilla. So I suppose I'll just have to live with it for now.

Thanks for your help.


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
Suse 9.3 - dpi is set to high (128x128) xaxol SUSE / openSUSE 3 09-17-2005 07:37 PM
screen dpi in x - how do i change it?? sortia Linux - Newbie 2 02-10-2005 06:00 AM
what's difference between 75 dpi and 100 dpi fonts? webazoid Linux - Software 0 07-06-2004 10:26 PM
How Do I Set Up A Boot Screen? AFI_Flame Linux - General 10 06-09-2004 12:39 PM
Can I have more than 75 dpi screen resolution in Linux? J_Szucs Linux - Software 2 11-21-2001 03:38 PM

All times are GMT -5. The time now is 08:36 PM.

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