From 9de9b0e363a73daa266912160e5b9fc9b724ee79 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 19 Aug 2014 12:35:41 +0200 Subject: Set DBUS_SESSION_BUSS_ADDRESS --- X11/xinitrc | 1 + zsh/.zprofile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/X11/xinitrc b/X11/xinitrc index e55250f..e4d4fe8 100644 --- a/X11/xinitrc +++ b/X11/xinitrc @@ -4,4 +4,5 @@ # # Executed by startx (run your window manager from here) +export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/"$UID"/dbus/user_bus_socket exec i3 -c /home/kyrias/.config/i3/config diff --git a/zsh/.zprofile b/zsh/.zprofile index 1603340..59ecf4a 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -37,6 +37,8 @@ export SUDO_PROMPT=$'\e[31mSUDO\e[m password for \e[34m%p\e[m: ' export HOSTNAME=$(hostname -s) export FQDN=$(hostname -f) +export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/"$UID"/dbus/user_bus_socket + export XAUTHORITY="$XDG_RUNTIME_DIR"/xauthority # LS_COLORS is now required for `ls` to use colour -- cgit v1.2.3-54-g00ecf