Init Manager

From Fvwm Extensions (configs) Archive
Revision as of 09:25, 10 July 2025 by Admin (talk | contribs) (Created page with "right|140px|link=Init Manager|image '''Init Manager''' <small>''(functions)''</small> runs after Fvwm has loaded. It is placed at the beginning of ~/.fvwm/config or local.config. This script starts wifi, screen brightness & battery, sound volume, and root authorization. It is depended on stalonetray, volumeicon, and policykit-1-gnome. <pre> ## FILE 1 ## Functions: myInitMgr.txt ## Init Manager SetEnv HOME_DIR $[HOME]/.fvwm SetEnv CORE_DI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Init Manager (functions) runs after Fvwm has loaded. It is placed at the beginning of ~/.fvwm/config or local.config. This script starts wifi, screen brightness & battery, sound volume, and root authorization.

It is depended on stalonetray, volumeicon, and policykit-1-gnome.

## FILE 1
## Functions: myInitMgr.txt

## Init Manager

SetEnv HOME_DIR $[HOME]/.fvwm
SetEnv CORE_DIR $[HOME]/.fvwm/core

DestroyFunc InitFunction
AddToFunc InitFunction
+ I Test (Init) Exec nm-applet # (wifi)
+ I Test (Init) Exec xfce4-power-manager # (screen & battery)
+ I Test (Init) Exec volumeicon # (sound)
+ I Test (Init) Exec /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & # (policykit authenticator)

HOW TO: Add the below line at the top of /.fvwm/config or local.config:
Copy the code and paste it into your config. Or create FILE 1 and run the below line:
Read initMgr.txt


Read more:
https://www.fvwm.org/Wiki/Config/StartFunction/