Skip to content

Instantly share code, notes, and snippets.

@flaper87
Created July 28, 2015 14:33
Show Gist options
  • Save flaper87/071c8f26443eb1753dae to your computer and use it in GitHub Desktop.
Save flaper87/071c8f26443eb1753dae to your computer and use it in GitHub Desktop.
#!/bin/sh
## Set a decent keyboard layout..
setxkbmap -layout us -variant altgr-intl &
amixer -c 0 sset "Auto-Mute Mode" Disabled
xinput set-button-map "SynPS/2 Synaptics TouchPad" 1 2 3 5 4
# Gnome stuff..
#gnome-settings-daemon & # handles themes, starts gnome-screensaver. You may have to use gconf to disable it setting the background.
#eval `gnome-keyring-daemon` # SSH/GPG agent
## This is needed for compositing
#xrandr --output LVDS1 --mode 1920x1080 --preferred --primary --output HDMI3 --mode 1920x1080 --right-of LVDS1 || xrandr --output LVDS1 --mode 1920x1080 --preferred --primary
# todo: run the session stuff that's missing here..
#~/.my-autostart/opt/dex/dex -a -e Awesome
xscreensaver -nosplash & # Screen saver
#kupfer --no-splash & # Launcher
nm-applet --sm-disable & # Network manager
#dropbox start -i & # Dropbox
parcellite & # Clipboard thing
# tomboy & # Notes
# workrave & # Mostly counting keystrokes :)
xbindkeys
# Suppress annoying beeps..
xset b off
#exec ck-launch-session gnome-session
exec i3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment