Self-voicing no longer has the pid on the end of the /tmp/cthulhu.sock file.
This commit is contained in:
parent
604dc67407
commit
8245135cbd
@ -1,6 +1,5 @@
|
|||||||
# Example usage:
|
# Example usage:
|
||||||
# echo "This is a test." | socat - UNIX-CLIENT:/tmp/cthulhu-PID.sock
|
# echo "This is a test." | socat - UNIX-CLIENT:/tmp/cthulhu.sock
|
||||||
# Where PID is cthulhu's process id.
|
|
||||||
# Prepend text to be spoken with <!#APPEND#!> to make it not interrupt, for inaccessible windows.
|
# Prepend text to be spoken with <!#APPEND#!> to make it not interrupt, for inaccessible windows.
|
||||||
# Append message to be spoken with <#PERSISTENT#> to present a persistent message in braille
|
# Append message to be spoken with <#PERSISTENT#> to present a persistent message in braille
|
||||||
# <#APPEND#> is only usable for a persistent message
|
# <#APPEND#> is only usable for a persistent message
|
||||||
@ -78,7 +77,7 @@ class SelfVoice(GObject.Object, Peas.Activatable, plugin.Plugin):
|
|||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
def voiceWorker(self):
|
def voiceWorker(self):
|
||||||
socketFile = '/tmp/cthulhu-' + str(os.getppid()) + '.sock'
|
socketFile = '/tmp/cthulhu.sock'
|
||||||
# for testing purposes
|
# for testing purposes
|
||||||
#socketFile = '/tmp/cthulhu-plugin.sock'
|
#socketFile = '/tmp/cthulhu-plugin.sock'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user