Skip to content

Commit

Permalink
Add dbus settings required for gnome apps
Browse files Browse the repository at this point in the history
  • Loading branch information
satmandu authored Jul 14, 2021
1 parent f4b57d3 commit f49c79c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/env.d/03-dbus
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Dbus settings
DBUS_SYSTEM_BUS_ADDRESS='unix:path=/run/dbus/system_bus_socket'
[[ "$DBUS_SESSION_BUS_ADDRESS"=="disabled:" ]] && unset DBUS_SESSION_BUS_ADDRESS
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
# if not found, launch a new one
eval `dbus-launch --sh-syntax`
# echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
fi
dbus-update-activation-environment --all

0 comments on commit f49c79c

Please sign in to comment.