LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-28-2004, 05:43 PM   #1
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
dpi font | gdm | kde DE | xinitrc.kde | Slackware 10


Hi,

Slackware 10. For my kde, how to get the dpi up a bit higher than how it's currently at 72x72?

Older howto lists an xservers file but I couldn't find this file on Slack 10.

xpdyinfo lists my dpi at 72x72 (gdm, kde desktop environment)

just out of curiosity, I tried a gnome session and it be the same dpi as the above listed kde session.

However, an xfce session lists something like 90x96 for the dpi

The xinitrc for an xfce session has in it:

some settings for hinting and for dpi
--

but I tried copy those settings into a local .xinitrc to no avail (ran xwmconfig as a user, then edited the resulting .xinitrc file) didn't work for the dpi though - rebooted but did not change the dpi
--

My fonts are finer, smoother (and smaller) in an xfce session at 90x96 dpi

My 72x72 dpi kde fonts (gnome session as well) are a bit on the chunky side, grainy, rough, pebbly. I want to get them finer like what happens in an xfce session.

Thanks. Alan.
 
Old 07-28-2004, 08:16 PM   #2
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Original Poster
Rep: Reputation: 50
Re: dpi font | gdm | kde DE | xinitrc.kde | Slackware 10

Quote:
Originally posted by acummings

Older howto lists an xservers file but I couldn't find this file on Slack 10.
I just now found the file. It's at:

/etc/X11/xdm/xservers

it was without the -dpi 96 -- I added in the -dpi 96 to make it be thus:

:0 local /usr/X11R6/bin/X -dpi 96
--

But that has no effect when using gdm. So, I then edited /etc/rc.d/rc.4 so that it fires up xdm instead of firing up gdm

And, the dpi went from 72x72 to 76x72
--

I then restored rc.4 back to original so it fires up gdm.
--

I then extensively looking at the gdm system. But it's a bit too complex for me to grasp it all. I understood portions of it.

I see a /usr/bin/gdm which is a file, a shell script -- it in turn calls up a binary, the gdm-binary

I wonder if the dpi can changed at there, the /usr/bin/gdm ?

So close -- got bunch else configured the way I want it in Slackware 10. Now, if I can just improve upon the font.

Thanks. Alan.
 
Old 07-28-2004, 10:28 PM   #3
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Original Poster
Rep: Reputation: 50
Hi,

I just Googled for: gdm dpi

Amongst a few others, I found

http://www.mozilla.org/unix/dpi.html

it has about editing the gdm.conf file for the dpi
--

# Definition of the standard X server.
[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -dpi 100
flexible=true

That's what I did, Slack 10, to my /etc/X11/gdm/gdm.conf

(with the -dpi 100 is newly added)

And, now at 80x75 instead of 72x72 dpi

Seems to have made it a little better, a bit more crisply and smoother defined, the fonts

Haven't a clue why the dpi didn't go even higher.

Caution, I somewhat of a newbie -- therefore, you're on your own. I recommend nothing of what I've done to anyone else.

Wish I knew more.
 
  


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
KDE 96 dpi...??? TheCrizu Mandriva 2 09-24-2005 01:13 PM
.xinitrc and modmap have no effect on KDE? Erik_FL Slackware 5 09-20-2005 03:54 AM
change X resolution to 91 dpi, system boots gdm justa_bassplayr Debian 5 12-07-2004 12:27 PM
Problem xinitrc, Gnome starts instead of KDE McCloud Debian 7 09-05-2004 08:03 AM
KDE 3.2 and xinitrc guygriffiths Linux - Software 2 02-09-2004 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:54 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