[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fonts from GDM?



On Thu, 01 Mar 2007 21:00:27 -0500
Matthew K Poer <matthewpoer@gmail.com> wrote:

[...]

> # xdpyinfo | grep resol
>   resolution:    75x75 dots per inch
> 
> # xrdb -q | grep dpi
>   {no results}
> 

Was this in the GDM or startx session? I'm guessing it was in the GDM
session, because there the fonts are smaller.

> # cat .xsession
> startfluxbox
> 
> # cat .xinitrc
> startfluxbox
> 
> # cat .xserverrc 
> cat: .xserverrc: No such file or directory
> 
> # cat .Xresources
> cat: .Xresources: No such file or directory

OK, try this. Create a file called .Xresources, containing the
following line:

    Xft.dpi: 75

To the start of your .xsession file, add this line:

    xrdb -merge .Xresources

Finally, create a .xserverrc file with the following contents:

    #!/bin/sh
    exec $(which X) -br -dpi 75

Then make the .xserverrc file executable:

    chmod a+x .xserverrc

Now, when you execute startx, it should give the same results as when
you log in using GDM. Of course, feel free to experiment with the DPI
value. Ideally it should match the physical DPI of your monitor.

BTW, I think that the .xinitrc file is redundant when you have
a .xsession file in Debian.

> 
> I saw the that Industrial is set as the default cursor theme in
> update-alternatives.

My mistake :-(

> I'm actually not so much concerned with the
> cursor as the font. Here's some more info on it:
> Fonts in Fluxbox are set by my theme. It covers title bars and menus.
> I've attached it for reference, in case I overlooked something.
> It seems that when I use GDM, other fonts are defined for my GDM
> session(?). Fonts for Evolution and Epiphany, etc are smaller and (i
> think) more smooth-looking in GDM session.
> 
> I've attached screenshots of GDM and non-GDM fluxbox sessions. Perhaps
> they can help? Clearly the fonts used within the programs are
> different sizes, though closely comparing, they me be the same font.

Yes, I they look like the same font, but at different sizes.

> 
> Attached files didn't send. They are here:
> http://matthewpoer.freehostia.com/deb/fontsGDMattach/
> 
> 
> 

-- 

Liam



Reply to: