Created
January 28, 2011 01:54
-
-
Save wavebeem/799676 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: syn=sh: | |
# | |
# Sleep before doing a command | |
SleepDo() { | |
local time="$1" | |
shift | |
sleep "$time" | |
eval "$@" | |
} | |
# Programs to help flesh out a window manager | |
Autostart() { | |
nitrogen --restore & | |
xscreensaver -no-splash & | |
wmname LG3D & | |
} | |
# Enable Japanese input | |
export XMODIFIERS="@im=ibus" | |
export GTK_IM_MODULE="ibus" | |
export QT_IM_MODULE="ibus" | |
ibus-daemon & | |
# Enable compose key | |
setxkbmap us \ | |
-variant altgr-intl \ | |
-option nodeadkeys \ | |
-option compose:ralt \ | |
-option compose:caps | |
# Load font and cursor settings | |
xrdb ~/.Xdefaults | |
# Remove bell | |
xset -b | |
# Remove screen blanking | |
xset -dpms | |
# Set cursor type on root window (avoid X-shape) | |
xsetroot -cursor_name left_ptr & | |
# Load additional xinitrc files like GDM | |
source /etc/X11/xinit/xinitrc.d/* & | |
# Load keybindings | |
xbindkeys & | |
# Load graphics settings | |
SleepDo 1 nvidia-settings -l & | |
# Preload thunar for very slight speed increases | |
thunar --daemon & | |
# Launch a window manager with proper permissions | |
# and ssh-agent support | |
Start() { | |
exec ck-launch-session "$@" | |
} | |
Autostart & | |
# Start startkde | |
# Start wmii | |
Start wmfs | |
# Start start-euclid | |
# Start i3 | |
# Start openbox-session | |
# Start xfwm4 | |
# Start startxfce4 | |
# Start gnome-session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment