Added default .xinitrc to /etc/skel.
This commit is contained in:
commit
511481db3c
25
etc/skel/.xinitrc
Normal file
25
etc/skel/.xinitrc
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user