Closed tomklino closed 2 months ago
The error seems to indicate that libxkbcommon is missing. If you tried all the different libxkbcommon(-dev) packages and have pkg-config, i suspect it might be because of a wrongly specified version requirement of this package and i’ll fix it later today.
Update: found out a few new things that might help
When the installer setup up xkbcommon, python resolves the ">0.8" requirement to version "1.5" of the python library for xkbcommon (this might change in the future). But as I was running Ubuntu 22.04, the latest package for libxkbcommon was version 1.4.
Luckily I had a 2nd laptop with Ubuntu 24.04, for which the libxkbcommon package is provided in version 1.6. So Installing on it worked.
I think a decent fix would be to set the python requirement to a fixed version, because the ">0.8" might change what it resolved to.
A few other possible solutions (though probably overkill): Maybe even have the installer detect the version libxkbcommon that is installed (or can be installed) on the current distribution. Somewhere in between could have the installer set up its own libxkbcommon and not depend on the package manager of the distribution used.
If you're willing to show me how to install the plugin from source I can try to code it myself
What i think i should do is set it to xkbcommon < 1.1
, which is what the project readme says to do. As for installing from source, the required command should be in the plover docs.
I noticed you fixed the requirement in your latest commit, thanks!
Did you also release it in the plover plugin manager? because when I'm trying to install it it installs version 0.0.13 of the plugin, which still has the >=0.8 requirement and fails to install on Ubuntu 22.04.
Should I just wait until plover plugin manager updates it?
No sorry, i forgot to push it to PyPi. I unfortunately can’t fix it right now, but i will do it in a few days
Actually i could, should work now :)
thank you! i installed it from source and now it works
but, a weird issue... plover can't output any key that requires a shift to be pressed for example, i is typed in lower case and the exclamation mark is typed '1'. Also, when I use the command to capitalize the last word it just reprints it....
do you have any idea why that might be?
I think that this line mighe be the culprit. I’ll take a look at it and see if i can reproduce it when i get home.
Running on ubuntu 22.04
Trying to install the plugin from the plugin manager and getting an error for xkbcommon.
Tried installing
libxkbcommon-dev
with apt-get but that only results in a different error.Full logs:
Any advice?