aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-12-06 16:29:21 (GMT)
committerfluxgen <fluxgen>2003-12-06 16:29:21 (GMT)
commit0d6c463145b9c656586e6dc6d68dd9b72400268e (patch)
tree34dcef7d122067fd97c3ca868714f05384176fd7 /util
parente7860bbd3d7dd7180d5aef15c16655cf883977ec (diff)
downloadfluxbox_paul-0d6c463145b9c656586e6dc6d68dd9b72400268e.zip
fluxbox_paul-0d6c463145b9c656586e6dc6d68dd9b72400268e.tar.bz2
updates from Han
Diffstat (limited to 'util')
-rwxr-xr-xutil/startfluxbox.in60
1 files changed, 56 insertions, 4 deletions
diff --git a/util/startfluxbox.in b/util/startfluxbox.in
index 8e9daeb..558297f 100755
--- a/util/startfluxbox.in
+++ b/util/startfluxbox.in
@@ -1,14 +1,66 @@
1#!/bin/sh 1#!/bin/sh
2# $Id: startfluxbox.in,v 1.2 2003/09/29 11:59:35 fluxgen Exp $ 2# $Id: startfluxbox.in,v 1.3 2003/12/06 16:29:21 fluxgen Exp $
3if [ -x ~/.fluxbox/startup ];then 3if [ -x ~/.fluxbox/startup ]; then
4 exec ~/.fluxbox/startup 4 exec ~/.fluxbox/startup
5elif [ -r ~/.fluxbox/startup ]; then 5elif [ -r ~/.fluxbox/startup ]; then
6 exec sh ~/.fluxbox/startup 6 exec sh ~/.fluxbox/startup
7else 7else
8 if [ ! -d ~/.fluxbox ];then 8 if [ ! -d ~/.fluxbox ]; then
9 mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps} 9 mkdir -p ~/.fluxbox/{backgrounds,styles,pixmaps}
10 fi 10 fi
11 cp @pkgdatadir@/startup ~/.fluxbox 11 if [ ! -r ~/.fluxbox/startup ]; then
12 cat << EOF > ~/.fluxbox/startup
13# fluxbox startup-script:
14#
15# Lines starting with a '#' are ignored.
16
17# You can set your favourite wallpaper here if you don't want
18# to do it from your style.
19#
20# bsetbg -f ~/pictures/wallpaper.png
21#
22# This sets a black background
23
24@pkgbindir@/bsetroot -solid black
25
26# This shows the fluxbox-splash-screen
27# fbsetbg -C /usr/share/fluxbox/splash.jpg
28
29# Other examples. Check man xset for details.
30#
31# Turn off beeps:
32# xset -b
33#
34# Increase the keyboard repeat-rate:
35# xset r rate 195 35
36#
37# Your own fonts-dir:
38# xset +fp $HOME/.font
39#
40# Your favourite mouse cursor:
41# xsetroot -cursor_name right_ptr
42#
43# Change your keymap:
44# xmodmap ~/.Xmodmap
45
46
47
48# Applications you want to run with fluxbox.
49# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
50#
51# unclutter -idle 2 &
52# wmnd &
53# wmsmixer -w &
54# idesk &
55
56# And last but not least we start fluxbox.
57# Because it is the last app you have to run it with ''exec'' before it.
58
59exec @pkgbindir@/fluxbox
60# or if you want to keep a log:
61# exec @pkgbindir@/fluxbox -log ~/.fluxbox/log
62EOF
63 fi
12 chmod 755 ~/.fluxbox/startup 64 chmod 755 ~/.fluxbox/startup
13 exec ~/.fluxbox/startup 65 exec ~/.fluxbox/startup
14fi 66fi