Closed algnor closed 1 year ago
Thank you for this report, it reminds me that I need to change some defaults to what the user expects.
Currently, if you run directly from the repository, no GUI will be shown as it will default to showing a tray icon instead. You can show the GUI by clicking on the icon.
Apart from that, the log looks good and also you seem to already have the udev rules for your keyboard in place (probably by some other application you have installed), so it should work.
As for OpenSuse support:
Theoretically it is possible, but practically I have absolutely no idea nor experience with packaging for anything that is .rpm based.
Furthermore, there is sadly the problem that one .rpm will not make everybody happy, as Fedora, CentOS and Rocky Linux etc. etc. users will also come in and expect it to work (or complain when it doesn't).
In short: I personally am not willing to offer packages outside of Ubuntu LTS and Archlinux, sorry :(.
Ahh I see, that's understandable. I would love to help but I have absolutely no idea how to package programs. I might look into it and see if I can get something working. But I really cant guarantee anything.
Anyways as long as I'm able to run the program I'm happy. And the gui does seem to work perfectly after actually opening it.
I think it starting in the background is the "correct" choice for a program that's mainly supposed to be run in the background. But a notification like: "Keyboard Center: Press tray icon to open GUI" Would be great.
Anyways thanks for the help :)
And the gui does seem to work perfectly after actually opening it.
Nice glad to hear.
I think it starting in the background is the "correct" choice for a program that's mainly supposed to be run in the background.
True yes, but it is a simple checkbox in the UI, so I think I will change to show it by default and when the user does not want to see it, he can just check the box to hide on start.
But a notification like: "Keyboard Center: Press tray icon to open GUI"
This has caused issues in the past, where on some GNOME setups it would not show the icon and / or not be clickable, so in those cases the user would see nothing. It is very rare though, so I will think about it.
@algnor Did you manage to get this working to any meaningful extent?
yes, run /src/main.py
and then press on the tray icon to open the gui. Everything seemed to work fine for me in wayland, and since i don't reboot that often i just manually started the program.
However sadly i never got it fully working as i wanted, but that was because I'm running wayland, and the alternatives to xdotool turned out to be rather... bad. But that being said, the program did its job perfectly fine.
I have currently not found a way to fully run this program in Opensuse Tumbleweed. Would it be possible to add support for OpenSuse TW?
I have currently tried running
src/main.py
with the required dependencies installed, the rgb changes to rainbow fade, and the keys does seem to be detected. (not shown in console output, but it definitely does work) However the GUI never appearsOS: OpenSuse Tumbleweed Keyboard: G910 orion spark python 3.10.9