[blfs-support] xorg7.7 openbox xinitrc

Fernando de Oliveira famobr at yahoo.com.br
Thu Nov 8 17:00:43 PST 2012


--- Em qui, 8/11/12, Bruce Dubbs escreveu:

> De: Bruce Dubbs
> Assunto: Re: [blfs-support] xorg7.7 openbox xinitrc
> Para: "BLFS Support List"
> Data: Quinta-feira, 8 de Novembro de 2012, 20:48
> Fernando de Oliveira wrote:
> 
> > Actually, I use
> >
> > if [[ -z $DISPLAY ]] && ! [[ -e
> /tmp/.X11-unix/X0 ]] && (( EUID )); then
> >    while true; do
> >      read -p 'Do you want to start X?
> (y/n): '
> >      case $REPLY in
> >        [Yy]) xinit ~/.xinitrc
> &> ~/.x-session-errors ;;
> >        [Nn]) break ;;
> >        *) printf '%s\n' 'Please
> answer y or n.' ;;
> >      esac
> >    done
> > fi

This is in .bash_profile, so I do not have to type "startx", just "y", for
X or "n" for bash, after login.

> Mine's a little simplier:
> 
> $ cat ~/.xinitrc
> XFCE4_SESSION_WITH_CK="1"

I do not understand this line.

> exec dbus-launch --exit-with-session xfce4-session

I have used this long ago, after reading posts in blfs, but later Andy
replied one question I asked with this eval $(...), and I started using it.

> $ startx

[]s,
Fernando



More information about the blfs-support mailing list