diff options
author | Jim Ramsay <i.am@jimramsay.com> | 2009-02-19 14:29:05 (GMT) |
---|---|---|
committer | Jim Ramsay <i.am@jimramsay.com> | 2009-05-26 20:16:07 (GMT) |
commit | f68ff84bd1fd579bf9940e7edd9777c54aee1d11 (patch) | |
tree | 2f814eee9663e5d597658c533caf64bb17bc6401 /doc/asciidoc/startfluxbox.txt | |
parent | 54ee631cd815006fe918b7fac69e754df8cf06d1 (diff) | |
download | fluxbox_lack-f68ff84bd1fd579bf9940e7edd9777c54aee1d11.zip fluxbox_lack-f68ff84bd1fd579bf9940e7edd9777c54aee1d11.tar.bz2 |
Small edits for consistency
Diffstat (limited to 'doc/asciidoc/startfluxbox.txt')
-rw-r--r-- | doc/asciidoc/startfluxbox.txt | 57 |
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 | ||
25 | FILES | 25 | FILES |
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 | ||
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 | |||
32 | ONLINE DOCUMENTATION | 82 | ONLINE DOCUMENTATION |
33 | -------------------- | 83 | -------------------- |
34 | More extensive documentation for *startfluxbox(1)* can be found at::: | 84 | More extensive documentation for *startfluxbox(1)* can be found at::: |
@@ -36,9 +86,10 @@ http://www.xs4all.nl/~hanb/software/fluxbox/startfluxbox.html | |||
36 | 86 | ||
37 | AUTHORS | 87 | AUTHORS |
38 | ------- | 88 | ------- |
39 | The author of *startfluxbox(1)* is Han Boetes <han@fluxbox.org> | 89 | The author of *startfluxbox(1)* is Han Boetes <han at fluxbox.org> |
40 | 90 | ||
41 | This manpage was updated to asciidoc format by Jim Ramsay <i.am@jimramsay.com> | 91 | This manpage was converted to asciidoc format by Jim Ramsay <i.am at |
92 | jimramsay.com> for fluxbox-1.1.2 | ||
42 | 93 | ||
43 | SEE ALSO | 94 | SEE ALSO |
44 | -------- | 95 | -------- |