commit 511481db3c3a06d2af000757853354698a1078f3 Author: Linus Miller Date: Fri Nov 13 18:22:29 2015 +0000 Added default .xinitrc to /etc/skel. diff --git a/etc/skel/.xinitrc b/etc/skel/.xinitrc new file mode 100644 index 0000000..ea4bc8a --- /dev/null +++ b/etc/skel/.xinitrc @@ -0,0 +1,25 @@ +#!/bin/sh + +# load any default xinit scripts +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +# load all settings in .Xresource file (mainly for urxvt terminal) +if [ -s ~/.Xresources ]; then + xrdb ~/.Xresources +fi + +# load any user xmodmappings. +if [ -s ~/.Xmodmap ]; then + xmodmap ~/.Xmodmap +fi + +# update X font locations +xset +fp /usr/share/fonts/local +xset fp rehash + +exec $1