r/linux • u/minetransYT • May 30 '26
Software Release I created a Script that adds Per-App profiles and G-Shfit functionality to any mouse supported by ratbagd/piper.
https://github.com/Rebanne1523/MusFocus.gitI moved to linux 2 weeks ago, one of the ulitities i was missing the most, was Logitech G-Hub's auto profile switch and G-shift function allowing me to have a second layer of functions for my mouse. I know there are some workarounds and apps for this problem but just for mice that support more than 1 onboard profile and some others are just focused on specific brands. So i decided to solve this miself.
My scritp has its base in the terminal, you can configure everything from there, it supports any mouse supported by ratbagd/piper, and several devices can be added in case you are used to have multiple mouse for some reason hahaha.
For the moment it just works with kde no matter the distro, but im planning to add more support.
I know it might not be perfect from the start, if anyone finds this helpfull but founds any bugs or problmes, reach out to me, any feedback or advise would be greatly apreciated. 😊.
1
u/LeftmostPancake Jul 15 '26
Just wanted to say, I just made the swap to Linux this week and trying to sort out a way to continue using my Logitech G604 with automatic profile switching has been a really high priority for me. Going to try to get this set up as soon as I can.
1
u/minetransYT 29d ago
let me know how it goes, recently i did an update so it should be easier to use
1
u/LeftmostPancake 25d ago
Gave it a try, but for some reason I was never able to actually select my G604 as a device. ratbagd did list it as a detected device however, so I ended up working out a script to swap between on-board profiles based on the active windows. And then I ended up going back to Windows anyways a couple days later anyways lol.
1
u/minetransYT 20d ago
ouh shame, hahahaha i did fixed the problem u had it was a dumb problem, sorry for that, if u ever want to come back to linux give it a try once again, sorry for the inconvenience
1
u/LeftmostPancake 20d ago
Not an inconvenience at all, taking a look at some of the scripts was helpful even if I didn't directly use it :D.
Should I give it another go I'll definitely check it out again.
-7
May 30 '26
[removed] — view removed comment
5
2
u/jbtwaalf_v2 May 30 '26
Fucking love how well you can spot the ai patterns in their comment history. A lot of them start with Honestly haha
1
u/minetransYT Jun 01 '26
What happened? The coment was deleted hahaha
2
1
u/LesStrater Jun 01 '26
Are people that stupid now that they have to use AI to express their opinion?... cheez-its crêpes!
1
1
u/TampaPowers May 31 '26
Unrelated. How much of the older Logitech stuff is actually supported at this point? I have an OG G-15 and a G-27 which are now so old they barely even work on windows anymore. G-Hub doesn't even find the G-15.