2010-01-14 06:35:51 +00:00
'\" t
2009-02-18 20:31:41 +00:00
. \" Title: startfluxbox
. \" Author: [see the "AUTHORS" section]
2010-01-14 06:35:51 +00:00
. \" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
. \" Date: 12/17/2009
2009-02-18 20:31:41 +00:00
. \" Manual: Fluxbox Manual
2010-01-14 06:35:51 +00:00
. \" Source: startfluxbox.txt
2009-02-18 20:31:41 +00:00
. \" Language: English
. \"
2010-01-14 06:35:51 +00:00
.TH "STARTFLUXBOX" "1" "12/17/2009" "startfluxbox\&.txt" "Fluxbox Manual"
2009-02-18 20:31:41 +00:00
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
2010-01-14 06:35:51 +00:00
.SH "NAME"
2009-02-18 20:31:41 +00:00
startfluxbox \- start a fluxbox session
2010-01-14 06:35:51 +00:00
.SH "SYNOPSIS"
2009-02-18 20:31:41 +00:00
.sp
\fB startfluxbox\fR
.SH "DESCRIPTION"
.sp
2010-01-14 06:35:51 +00:00
\fB startfluxbox\fR is a script which runs the file \fB \e ~/\& .fluxbox/startup\fR If it doesn\(cq t exist it will be generated\& .
2009-02-18 20:31:41 +00:00
.sp
2010-01-14 06:35:51 +00:00
\fB startfluxbox\fR should be started from your \fB ~/\& .xinitrc\fR if you use startx, or \fB \e ~/\& .xsession\fR if you run a display manager, like xdm\& .
2009-02-18 20:31:41 +00:00
.SH "FILES"
.PP
2010-01-14 06:35:51 +00:00
\fB \e ~/\& .fluxbox/startup\fR
2009-02-18 20:31:41 +00:00
.RS 4
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\& .
.RE
2009-02-19 14:29:05 +00:00
.SH "EXAMPLES"
.sp
2010-01-14 06:35:51 +00:00
The default \fB \e ~/\& .fluxbox/startup\fR is as follows:
2009-02-19 14:29:05 +00:00
.sp
.if n \{ \
.RS 4
. \}
.nf
#!/bin/sh
#
# fluxbox startup\- script:
#
# Lines starting with a \' #\' are ignored\& .
# Change your keymap:
xmodmap "$HOME/\& .Xmodmap"
# Applications you want to run with fluxbox\& .
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN \' \' &\' \' AT THE END\& .
#
# unclutter \- idle 2 &
# wmnd &
# wmsmixer \- w &
# idesk &
# And last but not least we start fluxbox\& .
# Because it is the last app you have to run it with \' \' exec\' \' before it\& .
exec fluxbox
# or if you want to keep a log:
# exec fluxbox \- log "$fluxdir/log"
.fi
.if n \{ \
.RE
. \}
.sp
If you need to start applications after fluxbox, you can change the \fB exec fluxbox\fR line above to something like this:
.sp
.if n \{ \
.RS 4
. \}
.nf
exec fluxbox &
fbpid=$!
sleep 1
{
xsetroot \- cursor_name left_ptr \- fg white \- bg black &
ipager &
gkrellm2 &
} &
wait $fbpid
.fi
.if n \{ \
.RE
. \}
.sp
So xsetroot, ipager, and gkrellm2 will all be started after fluxbox, after giving fluxbox 1 second to startup\& .
.sp
For more details on what else you can do in this script, see \fB sh(1p)\fR , or the documentation for your shell\& .
2009-02-18 20:31:41 +00:00
.SH "ONLINE DOCUMENTATION"
.PP
2010-01-14 06:35:51 +00:00
More extensive documentation for \fB startfluxbox(1)\fR can be found at
2009-02-18 20:31:41 +00:00
.RS 4
\m[blue]\fBhttp://www\&.xs4all\&.nl/~hanb/software/fluxbox/startfluxbox\&.html\fR\m[]
.RE
.SH "AUTHORS"
.sp
2009-02-19 14:29:05 +00:00
The author of \fB startfluxbox(1)\fR is Han Boetes <han at fluxbox\& .org>
2009-02-18 20:31:41 +00:00
.sp
2009-02-19 14:29:05 +00:00
This manpage was converted to asciidoc format by Jim Ramsay <i\& .am at jimramsay\& .com> for fluxbox\- 1\& .1\& .2
2009-02-18 20:31:41 +00:00
.SH "SEE ALSO"
.sp
fluxbox(1)