View previous topic :: View next topic |
Author |
Message |
drdebian n00b
Joined: 07 Apr 2004 Posts: 49
|
Posted: Mon Aug 02, 2004 10:39 am Post subject: How to force 75dpi instead of 100dpi |
|
|
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 |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Mon Aug 02, 2004 2:15 pm Post subject: |
|
|
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 |
|
|
Roptaty Apprentice
Joined: 12 May 2002 Posts: 184 Location: Norway
|
Posted: Mon Aug 02, 2004 2:45 pm Post subject: |
|
|
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 |
|
|
drdebian n00b
Joined: 07 Apr 2004 Posts: 49
|
Posted: Mon Aug 02, 2004 4:10 pm Post subject: |
|
|
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 |
|
|
|