From 8245135cbd65d5df0ba842d181018f538bbe6344 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 21 Oct 2024 12:07:48 -0400 Subject: [PATCH] Self-voicing no longer has the pid on the end of the /tmp/cthulhu.sock file. --- src/cthulhu/plugins/SelfVoice/SelfVoice.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cthulhu/plugins/SelfVoice/SelfVoice.py b/src/cthulhu/plugins/SelfVoice/SelfVoice.py index 1b2af63..dcc609b 100644 --- a/src/cthulhu/plugins/SelfVoice/SelfVoice.py +++ b/src/cthulhu/plugins/SelfVoice/SelfVoice.py @@ -1,6 +1,5 @@ # Example usage: -# echo "This is a test." | socat - UNIX-CLIENT:/tmp/cthulhu-PID.sock -# Where PID is cthulhu's process id. +# echo "This is a test." | socat - UNIX-CLIENT:/tmp/cthulhu.sock # Prepend text to be spoken with to make it not interrupt, for inaccessible windows. # Append message to be spoken with <#PERSISTENT#> to present a persistent message in braille # <#APPEND#> is only usable for a persistent message @@ -78,7 +77,7 @@ class SelfVoice(GObject.Object, Peas.Activatable, plugin.Plugin): print(e) def voiceWorker(self): - socketFile = '/tmp/cthulhu-' + str(os.getppid()) + '.sock' + socketFile = '/tmp/cthulhu.sock' # for testing purposes #socketFile = '/tmp/cthulhu-plugin.sock'