Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to force 75dpi instead of 100dpi
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
drdebian
n00b
n00b


Joined: 07 Apr 2004
Posts: 49

PostPosted: Mon Aug 02, 2004 10:39 am    Post subject: How to force 75dpi instead of 100dpi Reply with quote

Can anybody give me a quick hint on how to force X to come up in 75dpi instead of 100dpi? In Debian I could append a parameter to the appropriate configuration file, but I was unable to figure out where to put the parameter in Gentoo so far.

I don't want to have to change the fonts configuration or delete the 100dpi fonts altogether, like some other folks suggested.

For example, I'd like to have vt7 running as 75dpi and vt8 as 100dpi. I'd love to read up on the topic, but I couldn't find anything suitable with in the forums with the search function.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Mon Aug 02, 2004 2:15 pm    Post subject: Reply with quote

Try this:

Code:
$ startx -dpi 75 -- :1
$ startx -dpi 100 -- :2

or
Code:
$ startx -dpi 75 -depth 16 -- :1
$ startx -dpi 100 -depth 16 -- :2



I think these options can be set by default in ~/.xserverrc. I'm not exactly what you need to put in the file though. Google should be of help.
Back to top
View user's profile Send private message
Roptaty
Apprentice
Apprentice


Joined: 12 May 2002
Posts: 184
Location: Norway

PostPosted: Mon Aug 02, 2004 2:45 pm    Post subject: Reply with quote

Do you use startx? gdm? kdm?

startx has already been covered.

gdm:
Edit the file /etc/X11/gdm/gdm.conf
Take a look at the sections:
[servers] and [server-Standard]
Edit the command to be like this:
Code:

command=/usr/X11R6/bin/X -audit 0 -nolisten tcp -dpi 75


If you need another server with dpi 100, add a new section.
You may add the following to your gdm.conf file.
[servers]
0=Standard
1=DPI

[server-DPI]
name=Server with 100 dpi
command=/usr/X11R6/bin/X -audit 0 -nolisten tcp -dpi 100
_________________
This signature will selfdestruct in ten seconds...
ten - nine - eight - seven - six - five - four - three - two - one - BSOD (System crashed, please restart the self-destruct sequence)
Back to top
View user's profile Send private message
drdebian
n00b
n00b


Joined: 07 Apr 2004
Posts: 49

PostPosted: Mon Aug 02, 2004 4:10 pm    Post subject: Reply with quote

Roptaty wrote:
Do you use startx? gdm? kdm?

startx has already been covered.


Thanks, I totally forgot to mention that I was using kdm. I'll try your suggestions out as soon as possible!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum