[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Additionals directory
Andreas Pour wrote:
I am impressed again.
> Andreas Pour wrote:
> oops, forgot the "$$" after a few of the .xinitrc.sav's below; they are
> inserted now.
>
> >
> > #! /bin/bash
> > cp -f ~/.xinitrc ~/.xinitrc.sav.$$
> > trap "mv -f ~/.xinitrc.sav.$$ ~/.xinitrc" 1 2 3 14 15
> > if [ -n "$KDEDIR" ] ; then
> > echo "$KDEDIR/bin/startkde" > ~/.xinitrc
> > startx &
> > sleep 60
> > mv -f ~/.xinitrc.sav.$$ ~/.xinitrc
> > trap -
> > wait
> > else
> > echo "ERROR: \$KDEDIR is not defined. Cannot start kde."
> > fi