From abc6f559b089f165b82f8c14210c3f3b6b5f7a51 Mon Sep 17 00:00:00 2001 From: John Freed Date: Tue, 14 Sep 2021 20:28:40 +0200 Subject: [PATCH] Updated DBus service (markdown) --- DBus-service.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DBus-service.md b/DBus-service.md index 0ff8918..ae058a6 100644 --- a/DBus-service.md +++ b/DBus-service.md @@ -58,7 +58,7 @@ ps auxw|grep dbus|grep $(whoami)|grep session If it is running, you can rely on the notion that the most recent listener in /private/tmp is assigned to this version of dbus. (This might not be 100% reliable in the future, so proceed at your own risk.) Use the command: ``` -export DBUS_LAUNCHD_SESSION_BUS_SOCKET=$(find /private/tmp -type s -name unix_domain_listener -print0 | xargs -0 ls -rt|tail -n 1) +export DBUS_LAUNCHD_SESSION_BUS_SOCKET=$(find /private/tmp -user $(whoami) -type s -name unix_domain_listener -print0 | xargs -0 ls -rt|tail -n 1) ``` **Case 2: dbus is not running**