ublue-os / bazzite

Bazzite is a cloud native image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
4.03k stars 243 forks source link

Add Asus Numberpad Driver in Asus Laptops builds #1681

Open QushyQushy opened 1 month ago

QushyQushy commented 1 month ago

Describe the package

This is not an RPM package per se, but I think it's vital for many people who own Asus laptop with a numberpad that lights up on their touchpad.

There is a very simple script found in the project's repo. What essentially happens is that it sets up a virtual Python env and then installs some udev rules, a systemd user service and a python script. The systemd service runs on login and runs the python script using the Python virtualenv which was set up during installation.

Now, the main issue, beyond the fact that the user has to change some paths for the script to work on Bazzite, is that the Python module xkbcommon needs to be compiled for some reason and requires the ld command not found in Fedora Atomic from what I understand.

While there are workarounds for this, it's dangerous to symlink things like this and also it's too much work for the casual user.

As such, I would love if the Bazzite team could incorporate this project into Bazzite and maybe with a ujust command you could select your device's numberpad model or simply the scirpt included in the project could detect it for you.

Please let me know if I can help as well! :)

Jailoris commented 1 month ago

Would also appreciate for it to be included in ublue asus images ;)