Skip to content

Instantly share code, notes, and snippets.

@mitechie
Created February 18, 2010 15:11
Show Gist options
  • Save mitechie/307728 to your computer and use it in GitHub Desktop.
Save mitechie/307728 to your computer and use it in GitHub Desktop.
#!/bin/bash
# This shell script is run before Openbox launches.
# Environment variables set here are passed to the Openbox session.
# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi
# Run XDG autostart things. By default don't run anything desktop-specific
# See xdg-autostart --help more info
DESKTOP_ENV=""
if which /usr/lib/openbox/xdg-autostart >/dev/null; then
/usr/lib/openbox/xdg-autostart $DESKTOP_ENV
fi
# startup applications
#gnome-volume-manager &
sleep 1
#feh --bg-scale "/home/rharding/documents/images/Peronsal/wallpaper/wood_floor_1920x1200.jpg"
(sleep 5 && nm-applet) &
autocutsel -s PRIMARY &
autocutsel -s CLIPBOARD &
# start rxvt in daemon mode
urxvtd -q -f -o
urxvt -name mutt -e mutt &
#alias irc="urxvt -name irc"
#irc &
urxvt -name irc &
sleep 1
urxvt -e ssh-add &
sudo echo disable > /proc/acpi/ibm/bluetooth
# make the mouse work right on my thinkpad in intrepid
#xinput set-int-prop "TPPS/2 IBM TrackPoint" "Wheel Emulation" 8 1
#xinput set-int-prop "TPPS/2 IBM TrackPoint" "Wheel Emulation Button" 8 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment