LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-14-2003, 09:23 PM   #1
budhusa
LQ Newbie
 
Registered: Dec 2003
Location: Austin, TX and Budapest, Hungary
Distribution: Mandrake 9.2
Posts: 27

Rep: Reputation: 15
Angry 75 dpi, and i cant change it


I have been trying to change my res to 75 dpi for awhile now, and ive run out of ideas. I recently upgraded mandrake 9.1 to 9.2, and afterwards the fonts got really small. eventually i realized that the 75 dpi fonts are probably the issue, so i checked to see if the 100 dpi fonts were installed (they were), and went to edit my /etc/X11/fs/config file to load 100 dpi fonts. I restarted the font server and X, and no change. "xdpyinfo | grep dots" still gives me "75x75 dots per inch", and my fonts are still small. somebody please help me, cause i have run out of ideas (and cant find anything anywhere besides what i already tried).

Here is my config file as it stands now:
#
# Default font server configuration file for Mandrake Linux workstation
#

# allow a max of 10 clients to connect to this font server
client-limit = 10

# when a font server reaches its limit, start up a new one
clone-self = on

# alternate font servers for clients to use
#alternate-servers = foo:7101,bar:7102

# where to look for fonts
#
catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/100dpi:unscaled,
/usr/X11R6/lib/X11/fonts/drakfont,
/usr/X11R6/lib/X11/fonts/drakfont/Type1,
/usr/X11R6/lib/X11/fonts/drakfont/ttf,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/TTF,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/pcf_drakfont:unscaled,
/usr/X11R6/lib/X11/fonts/mdk:unscaled,
/usr/share/fonts/default/Type1,
/usr/share/fonts/ttf/western,
/usr/share/fonts/ttf/decoratives,
/usr/share/fonts/ttf/vera,
/usr/share/fonts/msfonts,
/usr/share/fonts/msfonts-style

# in 12 points, decipoints
default-point-size = 120

# 100 x 100 and 75 x 75
# default-resolutions = 75,75,100,100
default-resolutions = 100,100,75,75

# use lazy loading on 16 bit (usually Asian) fonts
deferglyphs = 16

# how to log errors
use-syslog = on

# don't listen to TCP ports by default for security reasons
no-listen = tcp
 
Old 01-04-2004, 03:09 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
...and the solution... :-)
BTW, this is a double-post (also in Linux-General), because as i was searching the net I stumbled upon this posting of mine (from awhile back) in some high-up google results...so here is how I solved this issue (the double-post is intended to help those who stumble upon this from google).

here it goes:

after weeks 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...

Last edited by budhusa; 01-04-2004 at 03:11 AM.
 
Old 07-31-2006, 02:52 AM   #3
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 17
Posts: 272

Rep: Reputation: 31
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 10-23-2006, 07:48 PM   #4
noend
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
simply add or modify your current -dpi option value in your xserverrc.

i.e. if you currently have:

exec /usr/bin/X11/X -nolisten tcp

just change it to:

exec /usr/bin/X11/X -dpi 96 -nolisten tcp

there are no reason to add ~/.Xresources
Xft.dpi: 96, etc. in any other place since with the above you are just telling X to work at 96dpi.

Last edited by noend; 10-23-2006 at 07:50 PM.
 
Old 11-01-2007, 06:54 PM   #5
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 17
Posts: 272

Rep: Reputation: 31
Quote:
Originally Posted by noend View Post
simply add or modify your current -dpi option value in your xserverrc.

i.e. if you currently have:

exec /usr/bin/X11/X -nolisten tcp

just change it to:

exec /usr/bin/X11/X -dpi 96 -nolisten tcp

there are no reason to add ~/.Xresources
Xft.dpi: 96, etc. in any other place since with the above you are just telling X to work at 96dpi.
That did not work, my /etc/X11/xinit/xserverrc file has
exec /usr/bin/X11/X -dpi 96 -nolisten tcp

But xdpy |grep dots is still 96x96

 
  


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
Changing the dpi budhusa Linux - General 5 11-13-2006 01:27 PM
KDE 96 dpi...??? TheCrizu Mandriva 2 09-24-2005 01:13 PM
screen dpi in x - how do i change it?? sortia Linux - Newbie 2 02-10-2005 06:00 AM
change X resolution to 91 dpi, system boots gdm justa_bassplayr Debian 5 12-07-2004 12:27 PM
what's difference between 75 dpi and 100 dpi fonts? webazoid Linux - Software 0 07-06-2004 10:26 PM


All times are GMT -5. The time now is 10:50 AM.

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