From ce648f9d6a20db4f2ed4215fd136c12f21f7db4d Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Tue, 8 May 2018 00:48:22 -0400 Subject: [PATCH] Disregard respawning of the dbus led indicator service --- global.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/global.org b/global.org index 503b43a..c6aa01c 100644 --- a/global.org +++ b/global.org @@ -385,10 +385,12 @@ Connect the signal from xkbvleds to the handler #+BEGIN_SRC emacs-lisp (require 'dbus) + ;; Register for the signal indicatorChanged coming from our service. It is + ;; important that the =service= argument is =nil=, otherwise the registration + ;; would stop once the process is respawned. (dbus-register-signal - :session "org.xkbvleds" "/org/xkbvleds" - "org.xkbvleds" "indicatorChanged" - 'xkbvleds-indicator-signal-handler) + :session nil "/org/xkbvleds" "org.xkbvleds" "indicatorChanged" + 'xkbvleds-indicator-signal-handler) #+END_SRC * Main major modes ** org-mode