comparison README @ 626:190ccc6dc36c

doc: added instructions to launch D-Bus on a terminal environment, as requested in bug 27.
author Goffi <goffi@goffi.org>
date Thu, 20 Jun 2013 17:44:27 +0200
parents bef0f893482f
children 8211b462af6b
comparison
equal deleted inserted replaced
625:5646ecd3e35e 626:190ccc6dc36c
60 60
61 61
62 62
63 63
64 ** Misc ** 64 ** Misc **
65
66 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:
67 $ eval `dbus-launch --sh-syntax`
68
69 Be careful to use the same environment variables if you start a new session.
70
71 I personnaly use the following script to do that automaticaly:
72
73 --- /usr/local/bin/dbus-launch.sh ---
74 #!/bin/sh
75
76 DBUS_PATH="/tmp/.dbus.`whoami`"
77
78 if [ ! -e $DBUS_PATH ]; then
79 dbus-launch --sh-syntax > $DBUS_PATH
80 chmod 400 $DBUS_PATH
81 fi
82
83 cat $DBUS_PATH
84 --- end of /usr/local/bin/dbus-launch.sh ---
85
86 You can launch this script by putting at the end of your .zshrc (or whatever you're using):
87 eval `/usr/local/bin/dbus-launch.sh`
88
89 --
65 90
66 You can find Primitivus shortcuts on the wiki: 91 You can find Primitivus shortcuts on the wiki:
67 http://wiki.goffi.org/wiki/Primitivus 92 http://wiki.goffi.org/wiki/Primitivus
68 93
69 -- 94 --