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'