[blfs-support] xorg7.7 openbox xinitrc

Bruce Dubbs bruce.dubbs at gmail.com
Thu Nov 8 15:48:19 PST 2012


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

Mine's a little simplier:

$ cat ~/.xinitrc
XFCE4_SESSION_WITH_CK="1"
exec dbus-launch --exit-with-session xfce4-session

$ startx

   -- Bruce





More information about the blfs-support mailing list