我对Linux/Ubuntu还比较陌生(所以请放心),我正在尝试安装Autokey来使用文本扩展功能。我已经尝试过安装它,在这里的Github页面的说明- https://github.com/autokey/autokey#installation。
但是,无论是按照Ubuntu/Mint/Debian部分的安装过程还是通过pip安装说明,我似乎都无法让程序正常工作。
安装似乎是成功的(运行一个“哪个”命令给出了安装的路径),但是点击图标不会启动程序。
我也尝试过直接从Ubuntu/GNOME软件管理器安装,但一旦安装,也不会启动该程序。
我已经尝试过安装GTK和QT前端,但两者都不会启动。我没有收到错误信息什么的。我打开了系统监视器,以查看进程是否会出现(不管多么简短),并且什么也没有。
在终端中键入autokey-gtk会给出:
/usr/local/lib/python2.7/dist-packages/autokey/gtkapp.py:24: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, Gdk, GObject, GLib
/usr/local/lib/python2.7/dist-packages/autokey/gtkui/notifier.py:19: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, Gdk, Notify
/usr/local/lib/python2.7/dist-packages/autokey/gtkui/notifier.py:28: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
from gi.repository import AppIndicator3
/usr/local/lib/python2.7/dist-packages/autokey/gtkui/configwindow.py:20: PyGIWarning: GtkSource was imported without specifying a version first. Use gi.require_version('GtkSource', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, Pango, GtkSource, Gdk, Gio任何帮助都将不胜感激!
发布于 2018-12-21 14:23:36
https://askubuntu.com/questions/1100488
复制相似问题