aboutsummaryrefslogtreecommitdiff
path: root/doc/asciidoc/startfluxbox.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/asciidoc/startfluxbox.txt')
-rw-r--r--doc/asciidoc/startfluxbox.txt57
1 files changed, 54 insertions, 3 deletions
diff --git a/doc/asciidoc/startfluxbox.txt b/doc/asciidoc/startfluxbox.txt
index 5a43ca1..0042ed3 100644
--- a/doc/asciidoc/startfluxbox.txt
+++ b/doc/asciidoc/startfluxbox.txt
@@ -24,11 +24,61 @@ doesn't exist it will be generated.
24 24
25FILES 25FILES
26----- 26-----
27*~/.fluxbox/startup*:: 27*\~/.fluxbox/startup*::
28 This file contains all commands that should be executed before fluxbox is 28 This file contains all commands that should be executed before fluxbox is
29 started. The initial file contains helpful comments for beginners. It also 29 started. The initial file contains helpful comments for beginners. It also
30 starts fluxbox. 30 starts fluxbox.
31 31
32EXAMPLES
33--------
34The default *\~/.fluxbox/startup* is as follows:
35....
36#!/bin/sh
37#
38# fluxbox startup-script:
39#
40# Lines starting with a '#' are ignored.
41
42# Change your keymap:
43xmodmap "$HOME/.Xmodmap"
44
45# Applications you want to run with fluxbox.
46# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
47#
48# unclutter -idle 2 &
49# wmnd &
50# wmsmixer -w &
51# idesk &
52
53# And last but not least we start fluxbox.
54# Because it is the last app you have to run it with ''exec'' before it.
55
56exec fluxbox
57# or if you want to keep a log:
58# exec fluxbox -log "$fluxdir/log"
59....
60
61If you need to start applications after fluxbox, you can change the *exec
62fluxbox* line above to something like this:
63....
64exec fluxbox &
65fbpid=$!
66
67sleep 1
68{
69 xsetroot -cursor_name left_ptr -fg white -bg black &
70 ipager &
71 gkrellm2 &
72} &
73
74wait $fbpid
75....
76So xsetroot, ipager, and gkrellm2 will all be started after fluxbox, after
77giving fluxbox 1 second to startup.
78
79For more details on what else you can do in this script, see *sh(1p)*, or the
80documentation for your shell.
81
32ONLINE DOCUMENTATION 82ONLINE DOCUMENTATION
33-------------------- 83--------------------
34More extensive documentation for *startfluxbox(1)* can be found at::: 84More extensive documentation for *startfluxbox(1)* can be found at:::
@@ -36,9 +86,10 @@ http://www.xs4all.nl/~hanb/software/fluxbox/startfluxbox.html
36 86
37AUTHORS 87AUTHORS
38------- 88-------
39The author of *startfluxbox(1)* is Han Boetes <han@fluxbox.org> 89The author of *startfluxbox(1)* is Han Boetes <han at fluxbox.org>
40 90
41This manpage was updated to asciidoc format by Jim Ramsay <i.am@jimramsay.com> 91This manpage was converted to asciidoc format by Jim Ramsay <i.am at
92jimramsay.com> for fluxbox-1.1.2
42 93
43SEE ALSO 94SEE ALSO
44-------- 95--------