icewm-user

Hi friends:
This question has been asked before, I'm sure...
Not once in the time I've been happily using icewm, did I ever think of
playing with the fonts. It only became apparent when Firefox (and other
programs) looked too big for my high resolution screen (after rebooting
from Windows-7 to Linux on my dual boot laptop - that's when I noticed).
My question...
I tried toying with the various font directives in my ~/.icewm/preferences
file, like the following (and others like it)...
TitleFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"
TitleFontNameXft="sans-serif:size=7"
but nothing works to get fonts smaller and crisper looking (neither for
the native icewm window widgets, nor for launched applications). In fact
changing the above have no effect whatsoever (may I'm changing the
wong ones?) For example, the appearance of Firefox and other programs are
unaffected by any changes to the above -- and remain too big (the menus,
the title bar, the scroll bars, etc).
Note that the NVidia 1600x900 graphics subsystem is setup properly
(drivers and all), so that isn't the problem.
I looked at the IceWM FAQ, but that didn't help me. Other details you
might want to know....
- I'm using the Clearlooks theme, if that matters (but fonts are too big).
- The only files I use in my "~/.icewm/" directory are these:
nmvega@...$ ls -al
total 96
drwxrwxr-x. 3 nmvega nmvega 4096 Mar 13 01:50 .
drwx------. 61 nmvega nmvega 4096 Mar 13 01:49 ..
-rw-rw-r--. 1 nmvega nmvega 8957 Mar 10 22:00 menu
-rw-r--r-- 1 nmvega nmvega 30323 Mar 13 01:24 preferences
-rw-rw-r--. 1 nmvega nmvega 127 Mar 10 20:14 theme
-rw-r--r-- 1 nmvega nmvega 1510 Mar 13 00:22 toolbar
And finally, icewm and icewmtray are the only icewm related Unix
processes that are running (which I start via my minimal ".xinitrc"
file), as shown here:
================
xsetroot -solid '#456'
xset m 7 2
icewmtray &
exec icewm || exec xterm -fg red
================
Can someone show me step-by-step how this is done, because nothing
seems to see my changes. So I must be doing this incorrectly
or editing the wrong files.
A million thank yous in advance.
~N

On Sun, 13 Mar 2011, Noel Milton Vega wrote:
> Hi friends:
>
>
> This question has been asked before, I'm sure...
>
> Not once in the time I've been happily using icewm, did I ever think of
> playing with the fonts. It only became apparent when Firefox (and other
> programs) looked too big for my high resolution screen (after rebooting
> from Windows-7 to Linux on my dual boot laptop - that's when I noticed).
>
> My question...
>
> I tried toying with the various font directives in my ~/.icewm/preferences
> file, like the following (and others like it)...
>
> TitleFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"
> TitleFontNameXft="sans-serif:size=7"
>
> but nothing works to get fonts smaller and crisper looking (neither for
> the native icewm window widgets, nor for launched applications). In fact
> changing the above have no effect whatsoever (may I'm changing the
> wong ones?) For example, the appearance of Firefox and other programs are
> unaffected by any changes to the above -- and remain too big (the menus,
> the title bar, the scroll bars, etc).
>
Font battles are never ending. You have to take in mind that there are
several mechanism and toolkits, each using it's own font mechanism. IceWM
is using "pure" X font setup - try to run xfontsel and the set properly
TitleFontName etc. This influences only IceWM - this is what it says -
titlebart, taskbar etc.
If you wanna change the firefox font, than you have to setup font for GTK
apps. E.g. thru gnome-appearance-properties or thru .gtkrc. Same applies
to KDE applications, but there is more.
The size of the font for global screen display you may influence by Xorg
server dpi settings (xdpyinfo | grep resolution) etc...
> A million thank yous in advance.
>
> ~N
Once again: There is no single place setup to set them all.
Adam Pribyl