diff options
Diffstat (limited to 'doc/asciidoc/startfluxbox.txt')
-rw-r--r-- | doc/asciidoc/startfluxbox.txt | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/doc/asciidoc/startfluxbox.txt b/doc/asciidoc/startfluxbox.txt new file mode 100644 index 0000000..0042ed3 --- /dev/null +++ b/doc/asciidoc/startfluxbox.txt | |||
@@ -0,0 +1,96 @@ | |||
1 | startfluxbox(1) | ||
2 | =============== | ||
3 | Jim Ramsay <i.am@jimramsay.com> | ||
4 | v1.1.2, 18 February 2009 | ||
5 | :man source: startfluxbox.txt | ||
6 | :man version: {revision} | ||
7 | :man manual: Fluxbox Manual | ||
8 | |||
9 | NAME | ||
10 | ---- | ||
11 | startfluxbox - start a fluxbox session | ||
12 | |||
13 | SYNOPSIS | ||
14 | -------- | ||
15 | *startfluxbox* | ||
16 | |||
17 | DESCRIPTION | ||
18 | ----------- | ||
19 | *startfluxbox* is a script which runs the file *\~/.fluxbox/startup* If it | ||
20 | doesn't exist it will be generated. | ||
21 | |||
22 | *startfluxbox* should be started from your *\~/.xinitrc* if you use startx, or | ||
23 | *\~/.xsession* if you run a display manager, like xdm. | ||
24 | |||
25 | FILES | ||
26 | ----- | ||
27 | *\~/.fluxbox/startup*:: | ||
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 | ||
30 | starts fluxbox. | ||
31 | |||
32 | EXAMPLES | ||
33 | -------- | ||
34 | The 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: | ||
43 | xmodmap "$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 | |||
56 | exec fluxbox | ||
57 | # or if you want to keep a log: | ||
58 | # exec fluxbox -log "$fluxdir/log" | ||
59 | .... | ||
60 | |||
61 | If you need to start applications after fluxbox, you can change the *exec | ||
62 | fluxbox* line above to something like this: | ||
63 | .... | ||
64 | exec fluxbox & | ||
65 | fbpid=$! | ||
66 | |||
67 | sleep 1 | ||
68 | { | ||
69 | xsetroot -cursor_name left_ptr -fg white -bg black & | ||
70 | ipager & | ||
71 | gkrellm2 & | ||
72 | } & | ||
73 | |||
74 | wait $fbpid | ||
75 | .... | ||
76 | So xsetroot, ipager, and gkrellm2 will all be started after fluxbox, after | ||
77 | giving fluxbox 1 second to startup. | ||
78 | |||
79 | For more details on what else you can do in this script, see *sh(1p)*, or the | ||
80 | documentation for your shell. | ||
81 | |||
82 | ONLINE DOCUMENTATION | ||
83 | -------------------- | ||
84 | More extensive documentation for *startfluxbox(1)* can be found at::: | ||
85 | http://www.xs4all.nl/~hanb/software/fluxbox/startfluxbox.html | ||
86 | |||
87 | AUTHORS | ||
88 | ------- | ||
89 | The author of *startfluxbox(1)* is Han Boetes <han at fluxbox.org> | ||
90 | |||
91 | This manpage was converted to asciidoc format by Jim Ramsay <i.am at | ||
92 | jimramsay.com> for fluxbox-1.1.2 | ||
93 | |||
94 | SEE ALSO | ||
95 | -------- | ||
96 | fluxbox(1) | ||