163
submitted 2 weeks ago by cm0002@lemy.lol to c/linux@programming.dev
top 13 comments
sorted by: hot top new old
[-] cannedtuna@piefed.world 25 points 2 weeks ago

Fucking. Finally. I’ve tried Piper and Solaar, but they just aren’t great. They’re just alright. Tolerable even. But man knowing what you’re missing with the official software… it hurts.

[-] 30p87@feddit.org 7 points 2 weeks ago

I've never been able to actually program my G502X Lightspeeds buttons

[-] Quibblekrust@thelemmy.club 3 points 2 weeks ago

Is the issue specific to the X Lightspeed? I have a G502 Hero and I can program most things I want using the ratbagd CLI tool.

[-] 30p87@feddit.org 1 points 2 weeks ago

Can't really test that.

I may need to try ratbagd then :3

[-] Quibblekrust@thelemmy.club 3 points 2 weeks ago

The front-end is called Piper, so I would install that, and it comes with the required library and the daemon. Piper is OK, but the CLI is sometimes better. The UI doesn't default to your active profile, and I always have to change it to do anything, even though it's my only profile.

The only thing ratbagd couldn't do is set a button to be a pure modifier key like Ctrl or Shift. I had to boot up Windows to do that. The macro that the Logitech software creates in order to have the mouse send a pure modifier key is weird. It's a three step macro instead of just the key, and ratbagd doesn't even display it correctly. It might be fixed in the future. Who knows.

[-] 30p87@feddit.org 1 points 2 weeks ago

Well, I tried piper before, and some other tool. Both did not work. iirc, piper did not even detect the device

[-] ech@lemmy.ca 3 points 2 weeks ago* (last edited 2 weeks ago)

I've found Input Remapper able to do everything I need it to (so far) for key mapping, though it does take a little bit of study to figure out the right macros.

[-] OwOarchist@pawb.social 12 points 2 weeks ago

Heh. I've been doing that shit for ages already, just using xinput, xbindkeys, and xdotool.

[-] 30p87@feddit.org 10 points 2 weeks ago

Sucks for wayland users tho

[-] OwOarchist@pawb.social -2 points 2 weeks ago

If Wayland doesn't have equivalents to these three tools, then IMO, it's completely unusable.

[-] 30p87@feddit.org 8 points 2 weeks ago* (last edited 2 weeks ago)

It does have generic tools (eg. xdotool -> ydotool), but the most powerful way is to configure it in the DE/WM itself (eg. KDE's shortcuts or sway's bind command). To know if what you are doing is possible with ydotool or on sway, I'd need more specific info.

But my point was rather that it's cool to have such functionality in the kernel, independent of desktop stack and DE/WM.

[-] SirActionSack@aussie.zone 2 points 2 weeks ago* (last edited 2 weeks ago)

Can any of those turn off the unnecessarily bright LEDs?

[-] OwOarchist@pawb.social 3 points 2 weeks ago

Nah ... none of that touches on LEDs. It's just a process for binding special mouse buttons (or any input device, really) to execute commands or emulate keypresses, etc.

this post was submitted on 08 Aug 2026
163 points (100.0% liked)

Linux

14795 readers
344 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS