Init Manager: Difference between revisions
Jump to navigation
Jump to search
(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...") |
No edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[File: | [[File:150px-Function-icon.png|right|150px|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. | It is depended on stalonetray, volumeicon, and policykit-1-gnome. | ||
<pre> | <pre> | ||
## FILE 1 | ## FILE 1: InitMgr.txt | ||
## Functions | ## Functions | ||
## Init Manager | ## Init Manager | ||
DestroyFunc InitFunction | DestroyFunc InitFunction | ||
| Line 22: | Line 19: | ||
Add the below line at the top of /.fvwm/config or local.config:<br> | Add the below line at the top of /.fvwm/config or local.config:<br> | ||
Copy the code and paste it into your config. Or create FILE 1 and run the below line:<br> | Copy the code and paste it into your config. Or create FILE 1 and run the below line:<br> | ||
''Read initMgr.txt'' | ''Read $[HOME]/.fvwm/initMgr.txt'' | ||
---- | ---- | ||
'''Read more:'''<br /> | '''Read more:'''<br /> | ||
https://www.fvwm.org/Wiki/Config/StartFunction/ <br /> | https://www.fvwm.org/Wiki/Config/Functions/StartFunction/ <br /> | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ | ||
| Line 31: | Line 28: | ||
[[Category:functions]] | [[Category:functions]] | ||
[[Category:startup]] | [[Category:startup]] | ||
[[Category:codes]] | |||
Latest revision as of 11:42, 12 July 2025
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: InitMgr.txt ## Functions ## Init Manager 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 $[HOME]/.fvwm/initMgr.txt
Read more:
https://www.fvwm.org/Wiki/Config/Functions/StartFunction/