Skip to content

Instantly share code, notes, and snippets.

@rshk
Created November 26, 2013 14:42
Show Gist options
  • Save rshk/7659462 to your computer and use it in GitHub Desktop.
Save rshk/7659462 to your computer and use it in GitHub Desktop.
#!/bin/bash
## Set a decent keyboard layout..
setxkbmap -layout us -variant altgr-intl &
## This is needed for compositing
(
xrandr --output DP-2 --preferred --primary --pos 0x0 --output LVDS-1 --preferred --pos 1920x300 \
|| xrandr --output DP-2 --preferred --primary --output LVDS-1 --preferred --right-of DP-2 \
|| xrandr --output LVDS-1 --preferred --primary
) ; unagi &
# todo: run the session stuff that's missing here..
# Gnome stuff..
#( sleep 5; gnome-settings-daemon ) &
#~/.my-autostart/opt/dex/dex -a -e Awesome
eval $( ssh-agent ) # Launch the ssh agent
xscreensaver -nosplash & # Screen saver
kupfer --no-splash & # Launcher
#nm-applet & # Network manager
wicd-gtk -t & # Better network manager :)
dropbox start -i & # Dropbox
parcellite & # Clipboard thing
tomboy & # Notes
workrave & # Mostly counting keystrokes :)
# Suppress annoying beeps..
xset b off
( sleep 5; xset b off ) &
( sleep 20; xset b off ) &
exec ck-launch-session awesome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment