diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-03-08 17:42:42 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-03-08 17:42:42 (EST) |
commit | 66ec62c5b44e387ea5bc69b81e2b020db0ed90e4 (patch) | |
tree | 0b0f0e2b68b339e6c10d892b37539f627afd5acd | |
parent | 2ca6eb26de9cc78a4b4b86ebb0f626b9393d9dc2 (diff) | |
download | fluxbox-66ec62c5b44e387ea5bc69b81e2b020db0ed90e4.zip fluxbox-66ec62c5b44e387ea5bc69b81e2b020db0ed90e4.tar.gz fluxbox-66ec62c5b44e387ea5bc69b81e2b020db0ed90e4.tar.bz2 |
.fluxbox/startup: Temporary gross hack
-rwxr-xr-x | .fluxbox/startup | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/.fluxbox/startup b/.fluxbox/startup index faf1d12..8d55cbc 100755 --- a/.fluxbox/startup +++ b/.fluxbox/startup @@ -1,7 +1,5 @@ #!/bin/sh -fluxbox & - xmodmap "${HOME}/.Xmodmap" export GTK_IM_MODULE='xim' export QT_IM_MODULE='xim' @@ -10,14 +8,24 @@ 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 -xscreensaver & +# HACK: +# There's an apparent race condition where fbpanel declares its NETWM dock hint +# before fluxbox is around to handle it. But if we delay fbpanel's execution, +# then fluxbox grabs notification clients. So, we'll start fbpanel first, then +# fluxbox. Then we'll wait a second for fluxbox to be ready for NETWM hints and +# then restart fbpanel. # 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. +DISPLAY=:0.0 fbpanel -p taskbar & +panel=$! +#sleep 1 +fluxbox & sleep 1 - +kill ${panel} DISPLAY=:0.0 fbpanel -p taskbar & + clipit & redshift-gtk -c "${HOME}/.redshift.conf" & wicd-gtk -t & + +xscreensaver & |