fvwm - 共通事項 - 自動起動

クラウディア 
1. 概要
2. 定義
3. ArcoLinux
4. FreeBSD

1. 概要

 「fvwm」では、あらかじめ、自動起動の仕組みが用意されています。

2. 定義

 一般に

~/.fvwm/config
 の中に、自動起動に関する記述があって

Exec exec ロードモジュール
 の形式で記述すれば、記述したロードモジュールが起動されるようです。  バックグラウンドで起動する場合は、末尾にスペースを空けて「&」を記述します。

3. ArcoLinux

 「ArcoLinux」では、デフォルトで

# Start Function
#
# The start function is run right after fvwm is done reading
# the config file. This function run after each restart
# so using Test (Init) or Test (Restart) can further control
# actions that are run during the first time run (Init) or
# actions that are run after a restart.
DestroyFunc StartFunction
AddToFunc   StartFunction
+ I Module FvwmPager 0 2
# + I Module FvwmButtons Launchers

Exec exec pkill volumeicon
Exec exec pkill variety
Exec exec ~/.config/polybar/launch.sh &
Exec exec feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg &
Exec exec sxhkd -c ~/.config/fvwm3/sxhkd/sxhkdrc &
Exec exec dex $HOME/.config/autostart/arcolinux-welcome-app.desktop
Exec exec conky -c $HOME/.config/fvwm3/system-overview &
Exec exec nm-applet &
Exec exec pamac-tray &
Exec exec xfce4-power-manager &
Exec exec numlockx on &
Exec exec blueberry-tray &
Exec exec picom --config $HOME/.config/fvwm3/picom.conf &
#Exec exec picom
Exec exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
Exec exec /usr/lib/xfce4/notifyd/xfce4-notifyd &
#Exec exec tint2 &
Exec exec volumeicon &
Exec exec xdgmenumaker -f fvwm > ~/.config/fvwm3/xdgmenu
Exec exec sleep 2 & variety &
 と記述されており、既にいくつか起動しています。

4. FreeBSD

 「FreeBSD」では、デフォルトで

# Start Function
#
# The start function is run right after fvwm is done reading
# the config file. This function run after each restart
# so using Test (Init) or Test (Restart) can further control
# actions that are run during the first time run (Init) or
# actions that are run after a restart.
DestroyFunc StartFunction
AddToFunc   StartFunction
+ I Test (Init, f $[FVWM_USERDIR]/.BGdefault) \
    Exec exec fvwm-root $[FVWM_USERDIR]/.BGdefault
+ I TestRc (NoMatch) Exec exec fvwm-root \
    $[FVWM_DATADIR]/default-config/images/background/bg1.png
+ I Module FvwmButtons RightPanel
+ I Module FvwmEvent EventNewDesk
 と書かれており、「.BGdefault」とかいうファイルに、バックグラウンドで起動したいものを書けば、「fvwm-root」というモジュールが起動してくれるようですが。

Exec exec ロードモジュール
 という書き方をしても、普通に動作してくれます。
earthcar(アースカー)