[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starting DBus from gnome-session instead of Xsession



Le dimanche 06 mai 2007 à 13:06 +0200, Loïc Minier a écrit :
>  - from the PoV of gdm, there are a couple of GNOME sessions, and the
>    "Default" session, which will launch x-session-manager which might or
>    might not gnome-session

See the gnomerc snippet which already does this detection:

BASESTARTUP=`basename "$STARTUP" | cut -d\  -f1`
if [ "$BASESTARTUP" = gnome-session -o \
        \( "$BASESTARTUP" = x-session-manager -a \
        "`readlink /etc/alternatives/x-session-manager`" = \
                /usr/bin/gnome-session \) ]; then
   blabla
fi

>  - sessions can be started via startx and/or various other ways

AFAIK startx also uses Xsession.

-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: