Hello Fedora Community,
I’m developing a Kivy app on Fedora Silverblue 43 using Python 3.13.12 and Kivy 2.3.1 inside a Toolbox container. I’ve encountered several issues and need guidance on the best practices for programming on Silverblue:
1. MTDev / libmtdev.so.1 errors
- Kivy logs:
MTDev is not supported by your version of linux
OSError: libmtdev.so.1: cannot open shared object file: No such file or directory
- I installed
mtdevin the Toolbox, but Kivy still cannot find the library.
2. HID / Input permission errors
- When running the app:
PermissionError: [Errno 13] Permission denied: '/dev/input/event5'
- Kivy tries to access raw input devices. I’m not sure how to grant access safely in Silverblue.
3. Clipboard provider errors
- Kivy reports missing clipboard providers:
xclip - FileNotFoundError
xsel - FileNotFoundError
- What’s the recommended way to install these for Kivy in Silverblue?
4. SDL2 / Mesa / Graphics libraries
- I had to install
SDL2,SDL2_image,SDL2_ttf,SDL2_mixer,mesa-libGL, andmesa-libEGL. Some were already provided, causing rpm-ostree warnings.
5. Kivy app crashes / input fallback
- Kivy falls back on
hidinputbut still logs exceptions and does not fully launch in some cases.
6. Toolbox vs Flatpak / System Environment
- I’m unsure if Toolbox is the correct environment for Kivy development or if Flatpak apps would be better.
My questions:
-
What is the recommended approach to develop Kivy apps on Fedora Silverblue? Toolbox, Flatpak, or another method?
-
How can I resolve MTDev, HID permissions, clipboard, and library issues safely?
-
Are there configuration tips to avoid Kivy app crashes and errors on Silverblue?
Thank you for your guidance — I want to continue developing apps on Fedora Silverblue without constant environment conflicts.