summaryrefslogtreecommitdiffstats
path: root/source/xap/fluxbox/xinitrc.fluxbox
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/xap/fluxbox/xinitrc.fluxbox28
1 files changed, 28 insertions, 0 deletions
diff --git a/source/xap/fluxbox/xinitrc.fluxbox b/source/xap/fluxbox/xinitrc.fluxbox
new file mode 100644
index 000000000..d04675a98
--- /dev/null
+++ b/source/xap/fluxbox/xinitrc.fluxbox
@@ -0,0 +1,28 @@
+#!/bin/sh
+# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/usr/lib/X11/xinit/.Xresources
+sysmodmap=/usr/lib/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+ xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+ xmodmap $sysmodmap
+fi
+
+if [ -f $userresources ]; then
+ xrdb -merge $userresources
+fi
+
+if [ -f $usermodmap ]; then
+ xmodmap $usermodmap
+fi
+
+# Start the window manager:
+exec /usr/bin/startfluxbox