From f8a1bc76c00e5362436de23ddac37986437f268a Mon Sep 17 00:00:00 2001 From: "sokoloff (Alexander)" Date: Thu, 25 Jun 2015 19:04:27 +0300 Subject: [PATCH] Closed #9 Can't extract D-Bus bus address... --- cups/boomagabackend | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cups/boomagabackend b/cups/boomagabackend index 84d6fe2..ac0eca2 100755 --- a/cups/boomagabackend +++ b/cups/boomagabackend @@ -226,7 +226,10 @@ function getDbusAddr_Linux_Proc debug " * ${file} disp='${disp}' addr='${addr}'" if [ -n "${addr}" ]; then - if [ "${disp}" = "${xDisplay}" ] || [ "${xDisplay}" = "" ]; + if [ "${disp}" = "${xDisplay}" ] || \ + [ "${disp}.0" = "${xDisplay}" ] || \ + [ "${disp}" = "${xDisplay}.0" ] || \ + [ "${xDisplay}" = "" ]; then debug "*** USE ${file} disp='${disp}' addr='${addr}'" dbusSessionAddress=${addr}