doc: added instructions to launch D-Bus on a terminal environment, as requested in bug 27.
This commit is contained in:
parent
67ff0610e5
commit
62f0f52ec6
1 changed files with 25 additions and 0 deletions
25
README
25
README
|
|
@ -63,6 +63,31 @@ There will probably be a wiki doc in the future.
|
|||
|
||||
** Misc **
|
||||
|
||||
To use SàT, you need to have D-Bus daemon launched (http://www.freedesktop.org/wiki/Software/dbus/). If you use X Window, it should already be launched. If your are on a terminal environment without X11 (e.g. on a server) you may have to launch it. You can launch a daemon using the following command:
|
||||
$ eval `dbus-launch --sh-syntax`
|
||||
|
||||
Be careful to use the same environment variables if you start a new session.
|
||||
|
||||
I personnaly use the following script to do that automaticaly:
|
||||
|
||||
--- /usr/local/bin/dbus-launch.sh ---
|
||||
#!/bin/sh
|
||||
|
||||
DBUS_PATH="/tmp/.dbus.`whoami`"
|
||||
|
||||
if [ ! -e $DBUS_PATH ]; then
|
||||
dbus-launch --sh-syntax > $DBUS_PATH
|
||||
chmod 400 $DBUS_PATH
|
||||
fi
|
||||
|
||||
cat $DBUS_PATH
|
||||
--- end of /usr/local/bin/dbus-launch.sh ---
|
||||
|
||||
You can launch this script by putting at the end of your .zshrc (or whatever you're using):
|
||||
eval `/usr/local/bin/dbus-launch.sh`
|
||||
|
||||
--
|
||||
|
||||
You can find Primitivus shortcuts on the wiki:
|
||||
http://wiki.goffi.org/wiki/Primitivus
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue