Added default .xinitrc to /etc/skel.

This commit is contained in:
Linus Miller 2015-11-13 18:22:29 +00:00
commit 511481db3c

25
etc/skel/.xinitrc Normal file
View File

@ -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