LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-04-2004, 01:12 AM   #1
budhusa
LQ Newbie
 
Registered: Dec 2003
Location: Austin, TX and Budapest, Hungary
Distribution: Mandrake 9.2
Posts: 27

Rep: Reputation: 15
Changing the dpi


Does anyone have any ideas on how to change the dpi besides editing /etc/X11/fs/config, cause that is not working for me...its still 75x75 and i cant get it to change...aaah...

thanks a million
 
Old 01-04-2004, 03:06 AM   #2
budhusa
LQ Newbie
 
Registered: Dec 2003
Location: Austin, TX and Budapest, Hungary
Distribution: Mandrake 9.2
Posts: 27

Original Poster
Rep: Reputation: 15
after about 2 months of searching the net and posting this question here repeatedly, I FINALLY FOUND MY ANSWER!!! This whats best about linux - this feeling...when you finally solve a problem. So here was my solution just in case anyone has this trouble:

Edit /etc/X11/xdm/Xservers as root.

Change:
:0 local /usr/X11R6/bin/XSomething
to
:0 local /usr/X11R6/bin/XSomething -dpi 100

You need to restart for this to work.

Thats it...im a newbie, but if im correct what this does is change the default dpi of the LOGIN screen to 100 dpi. This is why i was having seemingly random shifts between 75 and 100 dpi depending on how i logged in and out...

Thanks to all who would have helped... :-) God I am so glad now...
 
Old 01-04-2004, 04:36 AM   #3
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 32
well, since you answered your own question, just a brief thanks for posting the ANSWER here.

I wish more people did, it may cut down on googling day in and day out, as im sure someone will have this problem later on. And it would be nice if more people indicated that a suggestion given did, infact, fix the problem, so that other could reap the benfits of thier misfortune at a later date..... anyhow, thanks.
 
Old 02-16-2006, 03:26 PM   #4
Ryanbmx5
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
Indeed. Thanks for posting the answer to this question. I was wondering how to change the dpi from the default 75. Thanks

I am also a Linux
 
Old 07-31-2006, 02:52 AM   #5
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 19.1
Posts: 298

Rep: Reputation: 41
I also had to add the following to ~/.Xresources
Xft.dpi: 96


Then rebooted, now KDE is seems to be 96 dpi (everything smaller).
However xdpyinfo |grep dots still gives 131x132
*Shrug*
 
Old 11-13-2006, 01:27 PM   #6
bonecrusher
Member
 
Registered: Mar 2004
Location: St. Louis, MO
Distribution: Ubuntu, Debian, Slack, RH, Gentoo
Posts: 207

Rep: Reputation: 30
Lightbulb system wide xdm Xresources

Quote:
Originally Posted by wearetheborg
I also had to add the following to ~/.Xresources
Xft.dpi: 96


Then rebooted, now KDE is seems to be 96 dpi (everything smaller).
However xdpyinfo |grep dots still gives 131x132
*Shrug*

Well that or (since we are messing with /etc/X11/xdm:)

change /etc/X11/xdm/Xresources instead.
(not sure if this is picked up if running kde/gnome - non-xdm(kdm/gdm) display managers???)

In xorg.conf, you can also change to system wide by doing this:
(in monitor section)
Code:
DisplaySize 336 252 # 96 DPI @ 1280x960

(OR)

DisplaySize 337.5 270.0 # 96 @ 1280 x 1024
this is subject to changing, though, if you change the resolution... (Alt+Ctrl+PLUS or Minus +/-)

Now if you use KDE with KDM like me, I finally figured out what to change:
put "-dpi 96"
on the end of ServerArgsLocal (not ServerCmd):
/opt/kde/share/config/kdm/kdmrc
Code:
ServerArgsLocal=-nolisten tcp
becomes
Code:
ServerArgsLocal=-nolisten tcp -dpi 96

See http://wiki.archlinux.org/index.php/Xorg and http://scanline.ca/dpi/ this for more info.
Also on this site check: Making fonts look nice.
For info on KDE changes see:
Control Fonts in X and Mozilla DPI issues

Hope this helps someone!

-Brady

Last edited by bonecrusher; 11-13-2006 at 02:18 PM. Reason: Added links.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
75 dpi, and i cant change it budhusa Linux - Software 4 11-01-2007 06:54 PM
KDE 96 dpi...??? TheCrizu Mandriva 2 09-24-2005 01:13 PM
Changing KDE's DPI Setting? Kamex Linux - Software 1 08-11-2005 08:40 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:55 PM.

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