2010-01-14 06:35:51 +00:00
'\" t
2009-02-18 20:31:41 +00:00
. \" Title: startfluxbox
2011-09-02 00:22:01 +00:00
. \" Author: Jim Ramsay <i.am@jimramsay.com>
2015-01-05 15:52:06 +00:00
. \" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
2015-02-08 10:20:53 +00:00
. \" Date: 08 February 2015
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
. \"
2015-02-08 10:20:53 +00:00
.TH "STARTFLUXBOX" "1" "08 February 2015" "startfluxbox\&.txt" "Fluxbox Manual"
2011-02-19 16:11:09 +00:00
. \" -----------------------------------------------------------------
. \" * Define some portability stuff
. \" -----------------------------------------------------------------
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
. \" http://bugs.debian.org/507673
. \" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n (.g .ds Aq \(aq
.el .ds Aq '
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
2011-09-02 00:22:01 +00:00
\fB startfluxbox\fR is a script which runs the file \fB ~/\& .fluxbox/startup\fR If it doesn\(cq t exist it will be generated\& .
2009-02-18 20:31:41 +00:00
.sp
2011-09-02 00:22:01 +00:00
\fB startfluxbox\fR should be started from your \fB ~/\& .xinitrc\fR if you use startx, or \fB ~/\& .xsession\fR if you run a display manager, like xdm\& .
2009-02-18 20:31:41 +00:00
.SH "FILES"
.PP
2011-09-02 00:22:01 +00:00
\fB ~/\& .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
2011-09-02 00:22:01 +00:00
The default \fB ~/\& .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:
#
2011-02-19 16:11:09 +00:00
# Lines starting with a \* (Aq#\* (Aq are ignored\& .
2009-02-19 14:29:05 +00:00
# Change your keymap:
xmodmap "$HOME/\& .Xmodmap"
# Applications you want to run with fluxbox\& .
2011-02-19 16:11:09 +00:00
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN \* (Aq\* (Aq&\* (Aq\* (Aq AT THE END\& .
2009-02-19 14:29:05 +00:00
#
# unclutter \- idle 2 &
# wmnd &
# wmsmixer \- w &
# idesk &
# And last but not least we start fluxbox\& .
2011-02-19 16:11:09 +00:00
# Because it is the last app you have to run it with \* (Aq\* (Aqexec\* (Aq\* (Aq before it\& .
2009-02-19 14:29:05 +00:00
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
{
2015-01-05 15:52:06 +00:00
xsetroot \- cursor_name left_ptr \- fg white \- bg black &
ipager &
gkrellm2 &
2009-02-19 14:29:05 +00:00
} &
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
2011-10-28 19:09:05 +00:00
For more details on what else you can do in this script, see \fB sh(1)\fR , or the documentation for your shell\& .
2009-02-18 20:31:41 +00:00
.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)
2011-09-02 00:22:01 +00:00
.SH "AUTHOR"
.PP
\fB Jim Ramsay\fR <\& i\& .am@jimramsay\& .com\& >
.RS 4
Author.
.RE