summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-03-08 17:05:49 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-03-08 17:05:49 (EST)
commit2ca6eb26de9cc78a4b4b86ebb0f626b9393d9dc2 (patch)
tree854176b665a3ec5b90b4fc0aa5e88c9c88148b78
parent7de03d3f962dd44bdc56cdc0e1d1b132226d821e (diff)
downloadfluxbox-2ca6eb26de9cc78a4b4b86ebb0f626b9393d9dc2.zip
fluxbox-2ca6eb26de9cc78a4b4b86ebb0f626b9393d9dc2.tar.gz
fluxbox-2ca6eb26de9cc78a4b4b86ebb0f626b9393d9dc2.tar.bz2
.fluxbox/startup: Slow things down
Really, things are starting too fast!
-rwxr-xr-x.fluxbox/startup10
1 files changed, 8 insertions, 2 deletions
diff --git a/.fluxbox/startup b/.fluxbox/startup
index 0c3ec87..faf1d12 100755
--- a/.fluxbox/startup
+++ b/.fluxbox/startup
@@ -1,5 +1,7 @@
#!/bin/sh
+fluxbox &
+
xmodmap "${HOME}/.Xmodmap"
export GTK_IM_MODULE='xim'
export QT_IM_MODULE='xim'
@@ -8,10 +10,14 @@ xinput set-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation Button' 2
xinput set-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation Timeout' 200
xinput set-prop 'TPPS/2 IBM TrackPoint' 'Evdev Wheel Emulation Axes' 6 7 4 5
-fluxbox &
+xscreensaver &
+
+# Give fluxbox a second before starting fbpanel.
+# This should avoid an apparent race condition where fbpanel declares its NETWM
+# dock hint before fluxbox is around to handle it.
+sleep 1
DISPLAY=:0.0 fbpanel -p taskbar &
clipit &
redshift-gtk -c "${HOME}/.redshift.conf" &
wicd-gtk -t &
-xscreensaver &