I am trying to get Autokey installed on Leap 15, but not having any luck. There are two repos for Leap 15 with Autokey. From the dnh repo I get this error (after also installing python-kde4 from wolfi323 repo).
**autokey-qt**
**Traceback (most recent call last):**
** File "/usr/bin/autokey-qt", line 20, in <module>**
** from autokey.qtapp import Application**
** File "/usr/lib/python2.7/site-packages/autokey/qtapp.py", line 22, in <module>**
** from PyKDE4.kdecore import KCmdLineArgs, KCmdLineOptions, KAboutData, ki18n, i18n**
**RuntimeError: the sip module implements API v12.0 to v12.3 but the PyKDE4.kdecore module requires API v12.4**
As far as I understand the python-sip api version shipped with Leap 15 is too old. However newer versions, available from the various Qt5 repos, and the community repos (which require updating various other qt5 packages), end up requiring the deinstallation of autokey.
Installing Autokey from the Simmphonie:Python repo requires also adding a Frameworks 5 and KDE:Qt5 repo and updates a lot of packages, which end up breaking plasma since kwin crashes constantly.
I tried installing from source but ran into the same problem as above.
So my questions are : how can I install autokey? More specifically how can I install a more recent sip api version that does not break plasma or autokey? Is this just a matter of waiting for an update to the python-sip package (I notice also that there is no official python-kde4 package for Leap 15, but there is one for Tumbleweed)? It seems the only alternative is to use an updated version of plasma and frameworks, but that requires also using the KDE:Qt5 repo which is not recommended for Leap 15, and which does indeed make the system unstable. Perhaps switch all packages to versions in those repos would make things more stable?
I use autokey to map keyboard shortcuts for moving the cursor around (e.g. Alt+k to move the cursor right etc), to use in applications that don’t support alternatives to the left or right button etc. If anyone knows of an alternative program that can do this globally I would be happy to use that instead of autokey. I tried xbindkeys a while back but had no luck with it (or was too incompetent to figure it out).