sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5)
- From: Arwed von Merkatz <v.merkatz AT gmx.net>
- To: sm-commit AT lists.ibiblio.org
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5)
- Date: Thu, 17 May 2007 12:30:24 +0200
On Thu, May 17, 2007 at 11:12:07AM +0200, Andraž 'ruskie' Levstik wrote:
> This is what I use in my ~/.zshrc
>
> prepare_dbus() {
> if [ -x /usr/bin/dbus-launch ]; then
> if [ -f $HOME/.dbus/dbus-session ] ; then
> . ~/.dbus/dbus-session
> export DBUS_SESSION_BUS_PID
> export DBUS_SESSION_BUS_ADDRESS
> else
> DBUS_SESSION_BUS_PID=1
> fi
> if kill -0 $DBUS_SESSION_BUS_PID ; then
> :
> else
> dbus-launch --sh-syntax > ~/.dbus/dbus-session
> . ~/.dbus/dbus-session
> echo $DBUS_SESSION_BUS_PID >> ~/.dbus/dbus-session.pid
> fi
> fi
> }
> #check if it has a PID yet and check if I acctaully want to have it
> #running
> if [ -z "$DBUS_SESSION_BUS_PID" ] && [ ! -e ~/.nodbus ]; then
> prepare_dbus
> fi
What's all this for? All I have in my .xsession is
eval $(dbus-launch --sh-syntax --exit-with-session)
and it works just fine.
--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org
-
[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5),
Treeve Jelbert, 05/16/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5),
Eric Sandall, 05/16/2007
- Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5), Jaka Kranjc, 05/16/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5),
Treeve Jelbert, 05/17/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5),
Andraž 'ruskie' Levstik, 05/17/2007
- Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5), Treeve Jelbert, 05/17/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5),
Arwed von Merkatz, 05/17/2007
- Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5), Andraž 'ruskie' Levstik, 05/17/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5),
Andraž 'ruskie' Levstik, 05/17/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (fab6a12cfdf3cafad00edf8ca5642876a6bd70b5),
Eric Sandall, 05/16/2007
Archive powered by MHonArc 2.6.24.