Skip to content

Instantly share code, notes, and snippets.

@mreschke
Created November 13, 2015 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mreschke/2026c21eb0d1e14315a9 to your computer and use it in GitHub Desktop.
Save mreschke/2026c21eb0d1e14315a9 to your computer and use it in GitHub Desktop.
Great .xinitrc
######################################################################################################
## mReschke .xinitrc/.xsession X11 control file ##
## See http://fluxbox.sourceforge.net/docbook/en/html/app-setup.html for help on .xinitrc/.xsession ##
######################################################################################################
## Run before window manager loads ##
# Fix to make QT apps look like GTK theme
GTK2_RC_FILES="$HOME/.gtkrc-2.0"
# Turn off screen blanking and turn on energy star features
xset s off
# Screen stanbdy,suspend,off times in seconds
xset dpms 1600 1600 1600
# Keyboard Repeat Rate
xset r rate 250 50
# For xmonad
xsetroot -cursor_name left_ptr
#xrdb -merge .Xresources
# Screensaver
#/usr/bin/xscreensaver -no-splash &
# synergy
#/usr/bin/synergys -c /home/mreschke/.config/.synergy.conf --daemon --restart &
# lxpanel
lxpanel &
## Launch Window Manager ##
#ck-launch-session enlightenment_start & wmpid=$!
#ck-launch-session xmonad & wmpid=$!
xmonad-session & wmpid=$!
#ck-launch-session startxfce4 & wmpid=$!
#DISPLAY=:0.0 ck-launch-session xmonad & wmpid=$!
#DISPLAY=:0.1 ck-launch-session xmonad & wmpid=$!
#DISPLAY=:0.2 ck-launch-session xmonad & wmpid=$!
#ck-launch-session dwm & wmpid=$!
#ck-launch-session wmii & wmpid=$!
#ck-launch-session i3 --force-xinerama & wmpid=$!
#ck-launch-session gnome-session & wmpid=$!
## Run after window manager loads ##
#feh --bg-fill /home/mreschke/Pictures/Wallpaper/OSLionBackground.jpg &
#DISPLAY=:0.0 feh --bg-fill /home/mreschke/pictures/wallpaper/oslionbackground.jpg &
#DISPLAY=:0.1 feh --bg-fill /home/mreschke/pictures/wallpaper/oslionbackground.jpg &
#DISPLAY=:0.2 feh --bg-fill /home/mreschke/pictures/wallpaper/oslionbackground.jpg &
#feh --bg-fill /home/mreschke/Pictures/Wallpapers/galaxy.jpg /home/mreschke/Pictures/Wallpapers/outerspace.jpg &
#nitrogen --restore &
## Hang here until window manager closes ##
wait $wmpid
## Run after window manager closes ##
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment