Skip to content

Instantly share code, notes, and snippets.

Created September 17, 2012 08:55
Show Gist options
  • Save anonymous/3736273 to your computer and use it in GitHub Desktop.
Save anonymous/3736273 to your computer and use it in GitHub Desktop.
/home/david/.xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#eval 'dbus-launch --sh-syntax --exit-with-session'
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#export LC_ALL=zh_CN.UTF-8
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
killall fcitx
fcitx &
xbindkeys &
tilda &
sh $HOME/dotfiles/proxy.sh &
xrandr --output LVDS --mode 1366x768 --output VGA-0 --mode 1024x768 --right-of LVDS
wicd-client &
#exec ck-launch-session gnome-session
#exec ck-launch-session startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec dbus-launch awesome
#xterm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment