LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   change X resolution to 91 dpi, system boots gdm (https://www.linuxquestions.org/questions/debian-26/change-x-resolution-to-91-dpi-system-boots-gdm-263075/)

justa_bassplayr 12-05-2004 11:09 PM

change X resolution to 91 dpi, system boots gdm
 
Ive been doing some googling about how to change the resolution of my systems X configuration. So far what I have found deals with changing xdm and starting it with startx. That is all well and fine if thats the only optional way of doing it. I could probably find how to switch from gdm to xdm without too much trouble.
Before I consider doing that however, I am curious as to whether or not anyone knows what I need to edit when working with gdm. If there is more to it than that feel free to elaborate.
Thank you in advance

SirSlappy 12-05-2004 11:27 PM

If you want to change resolutions, you just need to add the resolutions in your /etc/X11/xorg.conf file. There is a section to add resolutions under the default DPI setting.

You can also test the resolutions by doing...


Ctrl + alt + (+ or - on the number pad)

Dead Parrot 12-06-2004 02:43 AM

The Debian command to change X settings is "dpkg-reconfigure xserver-xfree86". If you've already manually edited your /etc/X11/XF86Config-4, the dpkg-reconfigure program may not write down the changes and you have to keep maintaining XF86Config-4 manually. So, if you're a newbie, it's safer to make all changes via "dpkg-reconfigure xserver-xfree86" and not to mess with XF86Config-4.

justa_bassplayr 12-06-2004 09:45 PM

Yes, I understand how to change the resolution on my monitor between 800x600 1024x768 etc, but what this has to deal with is having fonts that aren't anti-aliased. What reminded me of 91 dpi was when I opened GIMP the other day and said that I was running at 81 dpi also noticing how gagged my fluxbox fonts are, That is when I remembered that my previous setup ran an 91 dpi. This is what I want to know how to change.
thanks again

Dead Parrot 12-07-2004 02:28 AM

One way to set default dpi for fonts is to create ~/.Xresources file and to make the first line similar to this:
Code:

Xft.dpi: 96
Also the order in which the 75dpi and 100dpi fontpaths are listed in /etc/X11/XF86Config-4 may affect the fontsize in some apps -- the fontpath listed first is used as the default size. Unfortunately the order of fontpaths cannot be changed via "dpkg-reconfigure xserver-xfree86", so you may have to maintain XF86Config-4 manually from the moment you edit it using a text editor. But if you're familiar with manually configuring XWindowSystem, this shouldn't be a problem.

justa_bassplayr 12-07-2004 12:27 PM

Great, thank you.


All times are GMT -5. The time now is 05:08 PM.