Hello Solus community,
I'm trying to configure piper to map my mouse keys, but it doesn't detect my device.
Searching online I found that it could be a problem with libratbag, the backend for piper.
If i run ratbagctl list
as suggested here, I get this error:
Traceback (most recent call last):
File "/usr/bin/ratbagctl", line 24, in <module>
import evdev
ModuleNotFoundError: No module named 'evdev'
So, it looks like the python package evdev is missing, however I do have python-evdev installed in the software center.
Also, if I run pip install evdev
I get:
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: evdev in /usr/lib64/python2.7/site-packages (1.1.2)
I also have /usr/lib64/python3.7/site-packages/evdev btw.
Looking in the ratbagctl file, I see it also imports from gi.repository import Gio, GLib, GObject
, but gi.repository is also missing in my python env, even if I have python-gobject installed.
I'm running out of options, any idea on how to make libratbag work and detect my mouse?
Thanks