Skip to content

Commit

Permalink
Prevent dbus autolaunching (issue #66).
Browse files Browse the repository at this point in the history
  • Loading branch information
alkisg committed Sep 21, 2018
1 parent 4840fd8 commit d42e5dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions data/client-functions
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,9 @@ echo " ...done" >&5

info

# Prevent dbus from getting autolaunched (issue #66)
export "DBUS_SESSION_BUS_ADDRESS=${DBUS_SESSION_BUS_ADDRESS:-unix:path=/dev/null}"

for i in 0 15; do
trap "on_signal $i" $i
done
3 changes: 0 additions & 3 deletions epoptes-client/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,3 @@
gettext.textdomain('epoptes')
locale.textdomain('epoptes')
gettext = gettext.gettext
# Prevent dbus from getting autolaunched (issue #66)
if not os.getenv('DBUS_SESSION_BUS_ADDRESS'):
os.environ['DBUS_SESSION_BUS_ADDRESS'] = "unix:path=/dev/null"

0 comments on commit d42e5dd

Please sign in to comment.