diff options
Diffstat (limited to 'doc/startfluxbox.1.in')
-rw-r--r-- | doc/startfluxbox.1.in | 92 |
1 files changed, 77 insertions, 15 deletions
diff --git a/doc/startfluxbox.1.in b/doc/startfluxbox.1.in index 8ae2564..478af47 100644 --- a/doc/startfluxbox.1.in +++ b/doc/startfluxbox.1.in | |||
@@ -1,12 +1,12 @@ | |||
1 | .\" Title: startfluxbox | 1 | .\" Title: startfluxbox |
2 | .\" Author: [see the "AUTHORS" section] | 2 | .\" Author: [see the "AUTHORS" section] |
3 | .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/> | 3 | .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/> |
4 | .\" Date: 02/18/2009 | 4 | .\" Date: 02/19/2009 |
5 | .\" Manual: Fluxbox Manual | 5 | .\" Manual: Fluxbox Manual |
6 | .\" Source: startfluxbox.txt 1.1.2 | 6 | .\" Source: startfluxbox.txt 1.1.2 |
7 | .\" Language: English | 7 | .\" Language: English |
8 | .\" | 8 | .\" |
9 | .TH "STARTFLUXBOX" "1" "02/18/2009" "startfluxbox\&.txt 1\&.1\&.2" "Fluxbox Manual" | 9 | .TH "STARTFLUXBOX" "1" "02/19/2009" "startfluxbox\&.txt 1\&.1\&.2" "Fluxbox Manual" |
10 | .\" ----------------------------------------------------------------- | 10 | .\" ----------------------------------------------------------------- |
11 | .\" * (re)Define some macros | 11 | .\" * (re)Define some macros |
12 | .\" ----------------------------------------------------------------- | 12 | .\" ----------------------------------------------------------------- |
@@ -182,6 +182,79 @@ startfluxbox \- start a fluxbox session | |||
182 | .RS 4 | 182 | .RS 4 |
183 | This file contains all commands that should be executed before fluxbox is started\&. The initial file contains helpful comments for beginners\&. It also starts fluxbox\&. | 183 | This file contains all commands that should be executed before fluxbox is started\&. The initial file contains helpful comments for beginners\&. It also starts fluxbox\&. |
184 | .RE | 184 | .RE |
185 | .SH "EXAMPLES" | ||
186 | .sp | ||
187 | The default \fB~/\&.fluxbox/startup\fR is as follows: | ||
188 | .sp | ||
189 | .if n \{\ | ||
190 | .RS 4 | ||
191 | .\} | ||
192 | .fam C | ||
193 | .ps -1 | ||
194 | .nf | ||
195 | .BB lightgray | ||
196 | #!/bin/sh | ||
197 | # | ||
198 | # fluxbox startup\-script: | ||
199 | # | ||
200 | # Lines starting with a \'#\' are ignored\&. | ||
201 | |||
202 | # Change your keymap: | ||
203 | xmodmap "$HOME/\&.Xmodmap" | ||
204 | |||
205 | # Applications you want to run with fluxbox\&. | ||
206 | # MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN \'\'&\'\' AT THE END\&. | ||
207 | # | ||
208 | # unclutter \-idle 2 & | ||
209 | # wmnd & | ||
210 | # wmsmixer \-w & | ||
211 | # idesk & | ||
212 | |||
213 | # And last but not least we start fluxbox\&. | ||
214 | # Because it is the last app you have to run it with \'\'exec\'\' before it\&. | ||
215 | |||
216 | exec fluxbox | ||
217 | # or if you want to keep a log: | ||
218 | # exec fluxbox \-log "$fluxdir/log" | ||
219 | .EB lightgray | ||
220 | .fi | ||
221 | .fam | ||
222 | .ps +1 | ||
223 | .if n \{\ | ||
224 | .RE | ||
225 | .\} | ||
226 | .sp | ||
227 | If you need to start applications after fluxbox, you can change the \fBexec fluxbox\fR line above to something like this: | ||
228 | .sp | ||
229 | .if n \{\ | ||
230 | .RS 4 | ||
231 | .\} | ||
232 | .fam C | ||
233 | .ps -1 | ||
234 | .nf | ||
235 | .BB lightgray | ||
236 | exec fluxbox & | ||
237 | fbpid=$! | ||
238 | |||
239 | sleep 1 | ||
240 | { | ||
241 | xsetroot \-cursor_name left_ptr \-fg white \-bg black & | ||
242 | ipager & | ||
243 | gkrellm2 & | ||
244 | } & | ||
245 | |||
246 | wait $fbpid | ||
247 | .EB lightgray | ||
248 | .fi | ||
249 | .fam | ||
250 | .ps +1 | ||
251 | .if n \{\ | ||
252 | .RE | ||
253 | .\} | ||
254 | .sp | ||
255 | So xsetroot, ipager, and gkrellm2 will all be started after fluxbox, after giving fluxbox 1 second to startup\&. | ||
256 | .sp | ||
257 | For more details on what else you can do in this script, see \fBsh(1p)\fR, or the documentation for your shell\&. | ||
185 | .SH "ONLINE DOCUMENTATION" | 258 | .SH "ONLINE DOCUMENTATION" |
186 | .PP | 259 | .PP |
187 | More extensive documentation for \fBstartfluxbox(1)\fR can be found at: | 260 | More extensive documentation for \fBstartfluxbox(1)\fR can be found at: |
@@ -191,20 +264,9 @@ More extensive documentation for \fBstartfluxbox(1)\fR can be found at: | |||
191 | .RE | 264 | .RE |
192 | .SH "AUTHORS" | 265 | .SH "AUTHORS" |
193 | .sp | 266 | .sp |
194 | The author of \fBstartfluxbox(1)\fR is Han Boetes <\m[blue]\fBhan@fluxbox\&.org\fR\m[]\&\s-2\u[1]\d\s+2> | 267 | The author of \fBstartfluxbox(1)\fR is Han Boetes <han at fluxbox\&.org> |
195 | .sp | 268 | .sp |
196 | This manpage was updated to asciidoc format by Jim Ramsay <\m[blue]\fBi\&.am@jimramsay\&.com\fR\m[]\&\s-2\u[2]\d\s+2> | 269 | This manpage was converted to asciidoc format by Jim Ramsay <i\&.am at jimramsay\&.com> for fluxbox\-1\&.1\&.2 |
197 | .SH "SEE ALSO" | 270 | .SH "SEE ALSO" |
198 | .sp | 271 | .sp |
199 | fluxbox(1) | 272 | fluxbox(1) |
200 | .SH "Notes" | ||
201 | .IP " 1." 4 | ||
202 | han@fluxbox.org | ||
203 | .RS 4 | ||
204 | \%mailto:han@fluxbox.org | ||
205 | .RE | ||
206 | .IP " 2." 4 | ||
207 | i.am@jimramsay.com | ||
208 | .RS 4 | ||
209 | \%mailto:i.am@jimramsay.com | ||
210 | .RE | ||