xinit: remove skel files.
We shipped two skeleton files for ~/.xinitrc and ~/.xsession, but the default behavior of xinit/startx is more useful than an .xinitrc that doesn't start a window manager, and the .xsession had a bug calling bash -i which resulted in appending the .xinitrc into the user history... drop this unnecessary stuff. Users can copy /etc/X11/xinit/xinitrc as a starting point.
This commit is contained in:
parent
000ae7643e
commit
975d9830fe
3 changed files with 2 additions and 33 deletions
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# ~/.xinitrc
|
||||
#
|
||||
# Executed by startx (run your window manager from here)
|
||||
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/*; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
# exec gnome-session
|
||||
# exec startkde
|
||||
# exec startxfce4
|
||||
# ...or the Window Manager of your choice
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
#
|
||||
# ~/.xsession
|
||||
#
|
||||
# Executed by xdm/gdm/kdm at login
|
||||
#
|
||||
|
||||
/bin/bash --login -i ~/.xinitrc
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'xinit'
|
||||
pkgname=xinit
|
||||
version=1.4.1
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-xinitdir=/etc/X11/xinit"
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -15,13 +15,9 @@ checksum=de9b8f617b68a70f6caf87da01fcf0ebd2b75690cdcba9c921d0ef54fa54abb9
|
|||
|
||||
conf_files="
|
||||
/etc/X11/xinit/xinitrc
|
||||
/etc/X11/xinit/xserverrc
|
||||
/etc/skel/.xinitrc
|
||||
/etc/skel/.xsession"
|
||||
/etc/X11/xinit/xserverrc"
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/xinitrc 644 etc/skel .xinitrc
|
||||
vinstall ${FILESDIR}/xsession 644 etc/skel .xsession
|
||||
vinstall ${FILESDIR}/xserverrc 644 etc/X11/xinit
|
||||
vlicense COPYING
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue