Re: FVWM: Q: What is the config entry for selecting a theme?

Dan Espen <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <[email protected]>
Steven Lembark <[email protected]> writes:

> I have been using fvwm since around 0.90. When I upgraded to 
> fvwm2 I moved my config file to ~/.fvwm2rc and didn't really 
> think about again -- the file is trivial to update with vi 
> and I actually prefer the sparsity of fvwm's interaction.
>
> The existing .fvwm2rc file worked fine until recent developemnts
> in my eyesight & screen resolution on small monitors left the 
> window manager's type under 2mm on my screen :-)
>
> Frankly, the default theme (if it's even being used) has worked
> well enough for me, the only thing I cannot see is how to 
> select the bloody fonts.  I can see where they are configured for
> the default font in ./default/modules/fonts but I'd rather not
> hack the global resource to adjust the font sizes.
>
> I've revewed doc's at the fvwm.org site, checking the FAQ (which 
> entirely lacks an answer to what should be a simple question)
> and the "themes" <http://fvwm-themes.sourceforge.net/doc/creating-themes>.
>
> Cloning /usr/share/themes/default to ~/.fvwm/themes didn't seem to
> make any difference; nor did naming it to "personal" (per the 
> create-a-theme docs). The create-a-theme page describes using a menu 
> click that doesn't exist on the menus that I have here via 
> ~/.fvwm2rc.
>
> Per the doc's I've moved my config to ~/.fvwm/config 
> (<https://pastebin.com/SZNLzgbC>), which didn't seem to help.
>
> Q: Is it possible to select the theme with an entry in my 
>    ~/.fvwm/config file?
>    
> Q: If so, where is it documented (hopefully with an example rather 
>    than just BNF syntax)?
>
> If someone can point me to the correct doc's I'd be happy to 
> update the FAQ with a simple example of hacking the font sizes
> w/ minimal update to the current theme.

Hi,

The name you use for your config file doesn't matter.
.fvwm/.fvwm2rc is older, /.fvwm/config is more recent.
I'm still using the former.

I recently got a higher resolution monitor and had to go through my
entire config (not just fvwm) to try to get everything visible again.
For fvwm, all the font size stuff can be found by searching for the word
"font".

Here are some of the lines I changed:

MenuStyle "*" Font "xft:FreeSans:bold:antialias=False:pixelsize=22", Animation, Hilight3DThin
Style "*" Font "xft:FreeSans:bold:antialias=False:pixelsize=24"
Style "*" IconFont "xft:FreeSans:bold:antialias=True:pixelsize=20"
*FvwmIdent: Font "xft:FreeSans:bold:antialias=True:pixelsize=22"

-- 
Dan Espen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.