Steps to reproduce:
rpm-ostree install libratbag-ratbagd
restart
ratbagctl list
Output:
Traceback (most recent call last):
File “/usr/bin/ratbagctl”, line 26, in
import evdev
ModuleNotFondError: No module named ‘evdev’
Steps to reproduce:
rpm-ostree install libratbag-ratbagd
restart
ratbagctl list
Output:
Traceback (most recent call last):
File “/usr/bin/ratbagctl”, line 26, in
import evdev
ModuleNotFondError: No module named ‘evdev’
At a glance this seems to be a bug in the package itself, python3-evdev is listed in BuildRequires but not Requires. Please file a bug for the package.
Did you have any luck getting the Flatpak to run? Been trying to install this to configure my Logitech mouse.
$ flatpak run org.freedesktop.Piper 1 ↵ 18:10:19
Traceback (most recent call last):
File "/app/lib/python3.7/site-packages/piper/application.py", line 52, in do_activate
window = Window(self._ratbag, application=self)
File "/app/lib/python3.7/site-packages/piper/window.py", line 69, in __init__
self._present_mouse_perspective(ratbag.devices[0])
File "/app/lib/python3.7/site-packages/piper/window.py", line 147, in _present_mouse_perspective
mouse_perspective.set_device(device)
File "/app/lib/python3.7/site-packages/piper/mouseperspective.py", line 90, in set_device
self.stack.add_titled(ResolutionsPage(device), "resolutions", _("Resolutions"))
File "/app/lib/python3.7/site-packages/piper/resolutionspage.py", line 66, in __init__
self._init_ui()
File "/app/lib/python3.7/site-packages/piper/resolutionspage.py", line 71, in _init_ui
mousemap = MouseMap("#Buttons", self._device, spacing=20, border_width=20)
File "/app/lib/python3.7/site-packages/piper/mousemap.py", line 111, in __init__
svg_bytes = get_svg(ratbagd_device.model)
File "/app/lib/python3.7/site-packages/piper/svg.py", line 32, in get_svg
if model.startswith('usb:') or model.startswith('bluetooth:'):
AttributeError: 'NoneType' object has no attribute 'startswith'
To be honest I gave up and used ratbagctl on the command line to set my led hex code.