1STARTFLUXBOX(1) Fluxbox Manual STARTFLUXBOX(1)
2
3
4
6 startfluxbox - start a fluxbox session
7
9 startfluxbox
10
12 startfluxbox is a script which runs the file ~/.fluxbox/startup If it
13 doesn’t exist it will be generated.
14
15 startfluxbox should be started from your ~/.xinitrc if you use startx,
16 or ~/.xsession if you run a display manager, like xdm.
17
19 ~/.fluxbox/startup
20 This file contains all commands that should be executed before
21 fluxbox is started. The initial file contains helpful comments for
22 beginners. It also starts fluxbox.
23
25 The default ~/.fluxbox/startup is as follows:
26
27 #!/bin/sh
28 #
29 # fluxbox startup-script:
30 #
31 # Lines starting with a '#' are ignored.
32
33 # Change your keymap:
34 xmodmap "$HOME/.Xmodmap"
35
36 # Applications you want to run with fluxbox.
37 # MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
38 #
39 # unclutter -idle 2 &
40 # wmnd &
41 # wmsmixer -w &
42 # idesk &
43
44 # And last but not least we start fluxbox.
45 # Because it is the last app you have to run it with ''exec'' before it.
46
47 exec fluxbox
48 # or if you want to keep a log:
49 # exec fluxbox -log "$fluxdir/log"
50
51 If you need to start applications after fluxbox, you can change the
52 exec fluxbox line above to something like this:
53
54 exec fluxbox &
55 fbpid=$!
56
57 sleep 1
58 {
59 xsetroot -cursor_name left_ptr -fg white -bg black &
60 ipager &
61 gkrellm2 &
62 } &
63
64 wait $fbpid
65
66 So xsetroot, ipager, and gkrellm2 will all be started after fluxbox,
67 after giving fluxbox 1 second to startup.
68
69 For more details on what else you can do in this script, see sh(1), or
70 the documentation for your shell.
71
73 The author of startfluxbox(1) is Han Boetes <han at fluxbox.org>
74
75 This manpage was converted to asciidoc format by Jim Ramsay <i.am at
76 jimramsay.com> for fluxbox-1.1.2
77
79 fluxbox(1)
80
82 Jim Ramsay <i.am@jimramsay.com>
83 Author.
84
85
86
87startfluxbox.txt 08 February 2015 STARTFLUXBOX(1)