This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
languages = %{ | |
en: "english", | |
zh: "chinese", | |
de: "german", | |
es: "spanish", | |
ru: "russian", | |
ko: "korean", | |
fr: "french", | |
ja: "japanese", | |
pt: "portuguese", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dbus | |
# This libinput is running from master, not what's in pip: | |
# git clone https://github.com/OzymandiasTheGreat/python-libinput.git | |
from libinput import LibInput, ContextType, EventType | |
from libinput.constant import ButtonState | |
# The CLI call that does the same "startTalking" dbus method | |
# gdbus call -e -d net.sourceforge.mumble.mumble -o / -m net.sourceforge.mumble.Mumble.startTalking |