Input Remapper Installing, but Not Starting

Hello,

OpenMandriva Lx version:

OpenMandriva Lx release 6.0 (Vanadium) Rock for x86_64

Desktop environment (KDE, LXQT…):

Plasma

Description of the issue (screenshots if relevant):

The application Input Remapper will install from the repository, but when I try to launch it, it fails to start. I tried running it in the terminal, and this is the message I get:

”Traceback (most recent call last):
File “/usr/bin/input-remapper-gtk”, line 23, in
from inputremapper.bin.input_remapper_gtk import InputRemapperGtkBin
File “/usr/lib/python3.11/site-packages/inputremapper/bin/input_remapper_gtk.py”, line 35, in
gi.require_version(“GtkSource”, “4”)
File “/usr/lib64/python3.11/site-packages/gi/init.py”, line 129, in require_version
raise ValueError(‘Namespace %s not available’ % namespace)
ValueError: Namespace GtkSource not available”

I tried asking about this in the chat first, and it was said what might fix this is an update to the application.
Thank you for any help you can offer.

@Top_Hat welcome to OpenMandriva.

I can confirm the error you encountered. In addition to error ValueError: Namespace GtkSource not available, I also got error, ValueError: Namespace Gtk not available for version 3.0. You have to install two packages as given below.

sudo dnf install lib64gtk-gir3.0 lib64gtksourceview-gir4

And in case that does not install ‘gtksourview’, as a dependency, install lib64gtksourceview-4_0 as well.

I am able to launch the application afterwards. Let us know if this fixes the issue for you.

1 Like

That worked! Thanks a lot. This was an important application for me.

1 Like

Thanks for the confirmation. I have raised an issue on github to update the package.

Sorry you had to encounter this, but thank you for reporting it. I updated the dependency list and will be publishing the corrected package.

For future reference, please open new issues here: GitHub · Where software is built

2 Likes