如何在 Ubuntu 22.04 上安装 gestikk?

如何在 Ubuntu 22.04 上安装 gestikk?

我非常痴迷于鼠标手势,因为我有 Windows 背景。我最近换到了 Ubuntu 22.04,我很喜欢它,但事实是我不能运行鼠标手势,这是唯一让我难过的事情。我找到了一个我们可以用的地方,gestikk我按照说明操作本文,但不幸的是,安装时出现此错误:

*Selecting previously unselected package gestikk.
(Reading database ... 242508 files and directories currently installed.)
Preparing to unpack gestikk_0.6-0ubuntu1_all.deb ...
Unpacking gestikk (0.6-0ubuntu1) ...
dpkg: dependency problems prevent configuration of gestikk:
 gestikk depends on python (>= 2.5); however:
  Package python is not installed.
 gestikk depends on python-gtk2 (>= 2.12); however:
  Package python-gtk2 is not installed.
 gestikk depends on python-glade2; however:
  Package python-glade2 is not installed.
 gestikk depends on python-notify; however:
  Package python-notify is not installed.
 gestikk depends on python-virtkey; however:
  Package python-virtkey is not installed.
 gestikk depends on python-kiwi; however:
  Package python-kiwi is not installed.
 gestikk depends on python-pyparsing (>= 1.4.7); however:
  Package python-pyparsing is not installed.
dpkg: error processing package gestikk (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gestikk*

然后我尝试运行这个命令:

sudo apt-get -f install

但它会删除gestikk并显示以下消息:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  gestikk
0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded.
1 not fully installed or removed.
After this operation, 371 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 242540 files and directories currently installed.)
Removing gestikk (0.6-0ubuntu1) ...

如何gestikk在 Ubuntu 22.04 上安装?

答案1

免责声明:对于此答案中的大胆比较和坏消息,深表歉意。

您链接到的文章是 2008 年的。从 IT 术语上讲,这基本上相当于一次考古挖掘 - 也就是说很古老

这也符合该项目的启动板页面,最后一次更新是在 2008 年 6 月。因此可以肯定地说,该项目现已被放弃。

因此,该应用程序使用 Python 2,完全停止于2020年1月1日。

除了 Python 版本过时之外,这么旧的应用程序很可能还存在其他问题并带来无法预料的后果。

尽管这篇文章在 2008 年可能是正确的(我们实际上并不知道),但可以肯定地说它现在不再正确了。

因此,要么应用程序应该更新为使用 Python 3,要么您应该寻找其他选项。

答案2

gestikk 的替代品

  • 易行(由于没有维护,因此不推荐)
  • 简易手势(积极维护 easystroke 的分支)

我不确定这是否 100% 有效,因为在写这个答案时我还没有运行 Ubuntu。

正如 Artur Meinild 所说,Gestikk 使用 python2 而不是 python3。apt强制安装时会删除所有具有过时库的内容。不建议使用未维护的软件,因为它可能存在安全问题。

相关内容