Portál AbcLinuxu, 12. května 2025 08:54
fluxbox &
fbpid=$!
sleep 1
{
# Applications you want to run after fluxbox has started
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN & AT THE END.
# ipager &
# gkrellm2 &
} &
wait $fbpid
#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "/home/user/.Xmodmap"
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
# exec fluxbox
fluxbox &
fbpid=$!
sleep 2
{
# Applications you want to run after fluxbox has started
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN & AT THE END.
# ipager &
# gkrellm2 &
conky &
} &
wait $fbpid
# or if you want to keep a log:
# exec fluxbox -log "/home/user/.fluxbox/log"
wait $fbpid
fbstatus=$?
# Applications to perform cleanup after fluxbox has finished
# DON'T USE & HERE OR THE APP MAY KEEP RUNNING AFTER YOU LOGOUT
# THESE APPS SHOULD END FAST; YOU WON'T LOGOUT UNTIL THEY'RE DONE
#
# make sure music has stopped
exec killall conky
# exit with fluxbox's exit status
exit $fbstatus
wait $fbpid
tam asi dvakrat nemusi byt?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.