Skip to content

Instantly share code, notes, and snippets.

@andy5995
Created October 31, 2017 07:00
Show Gist options
  • Save andy5995/0ec1dc24e02a3131b686bb02feb7df2b to your computer and use it in GitHub Desktop.
Save andy5995/0ec1dc24e02a3131b686bb02feb7df2b to your computer and use it in GitHub Desktop.
-wbeam 7e-29 7.000000e-29
-wip 0.65 6.500000e-01
-wlen 0.025625 2.562500e-02
/home/andy/.config/blather/language/lm
/home/andy/.config/blather/language/dic
/home/andy/.config/blather/language/lm
Command.conf file modified
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 489 0 0 100 489 0 2000 --:--:-- --:--:-- --:--:-- 2004
100 355 100 355 0 0 1012 0 --:--:-- --:--:-- --:--:-- 6698
100 2186 0 2186 0 0 5400 0 --:--:-- --:--:-- --:--:-- 5400
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 484 100 484 0 0 4411 0 --:--:-- --:--:-- --:--:-- 4440
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3959 100 3959 0 0 34171 0 --:--:-- --:--:-- --:--:-- 34426
Language file updated
# commands are key:value pairs
# key is the sentence to listen for
# value is the command to run when the key is spoken
hello world:echo "hello world"
('hello world', 'echo "hello world"')
open pidgin:pidgin &
('open pidgin', 'pidgin &')
open ice dove:icedove &
('open ice dove', 'icedove &')
open ice weasel:iceweasel &
('open ice weasel', 'iceweasel &')
a:xdotool key a
('a', 'xdotool key a')
b:xdotool key b
('b', 'xdotool key b')
c:xdotool key c
('c', 'xdotool key c')
d:xdotool key d
('d', 'xdotool key d')
echo:xdotool key e
('echo', 'xdotool key e')
f:xdotool key f
('f', 'xdotool key f')
guerilla:xdotool key g
('guerilla', 'xdotool key g')
h:xdotool key h
('h', 'xdotool key h')
i:xdotool key i
('i', 'xdotool key i')
j:xdotool key j
('j', 'xdotool key j')
k:xdotool key k
('k', 'xdotool key k')
l:xdotool key l
('l', 'xdotool key l')
mike:xdotool key m
('mike', 'xdotool key m')
november':xdotool key n
("november'", 'xdotool key n')
o:xdotool key o
('o', 'xdotool key o')
p:xdotool key p
('p', 'xdotool key p')
q:xdotool key q
('q', 'xdotool key q')
r:xdotool key r
('r', 'xdotool key r')
sierra:xdotool key s
('sierra', 'xdotool key s')
t:xdotool key t
('t', 'xdotool key t')
u:xdotool key u
('u', 'xdotool key u')
victor:xdotool key v
('victor', 'xdotool key v')
w:xdotool key w
('w', 'xdotool key w')
x:xdotool key x
('x', 'xdotool key x')
y:xdotool key y
('y', 'xdotool key y')
zulu:xdotool key z
('zulu', 'xdotool key z')
click left:xdotool click 1
('click left', 'xdotool click 1')
click right:xdotool click 3
('click right', 'xdotool click 3')
click middle:xdotool click 2
('click middle', 'xdotool click 2')
Traceback (most recent call last):
File "./Blather.py", line 287, in <module>
blather = Blather(options)
File "./Blather.py", line 66, in __init__
from GtkUI import UI
File "/home/andy/src/blather/GtkUI.py", line 7, in <module>
import pygtk
ImportError: No module named 'pygtk'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment