Tiny Core Linux

General TC => Programming & Scripting - Unofficial => Topic started by: dentonlt on May 07, 2015, 03:27:19 PM

Title: flwm + ~/.flwm.conf support
Post by: dentonlt on May 07, 2015, 03:27:19 PM
Awhile back (early 2014?) I added a text-based config file to the flwm code. The changes let flwm read some settings from ~/.flwm.conf. Currently, it only supports:

* add named desktops at startup
* attach keys or key combinations to shell commands (similar to what actkbd would allow)

I would like to support flwm styles & commands, too, but never finished the code. Changing the move/max/min/shade/etc combos, font face and size without rebuild might be nice.

Yesterday, while home sick in bed, I cloned the current flwm from git.tinycorelinux.net and patched/tested this on 6.2. All working well here.

If you are interested, I've attached a current snapshot with changes. Run compileit, replace the stock flwm binary with your new binary, place .flwm.conf in your home directory. You will still need the stock flwm.tcz extension, as it provides more than just the flwm binary.

Happy Tiny Core-ing, all ~
Title: Re: flwm + ~/.flwm.conf support
Post by: ipmeel on June 27, 2018, 12:33:02 PM
Hi Dentonlt,
Could you guide how to do it with flwm_topside (TC9x) for...
Code: [Select]
#define DESKTOPS 0
#define WMX_MENU_ITEMS 0
as in flwm/config.h