Here’s a simple utility to jazz up your Reform and make it look a bit more like the photo in the MNT Research webshop ![]()
Tested on MNT Reform classic. I suppose it works with other models too.
Here’s a simple utility to jazz up your Reform and make it look a bit more like the photo in the MNT Research webshop ![]()
Tested on MNT Reform classic. I suppose it works with other models too.
You know about Reform / reform-openrgb · GitLab ?
openrgb has rainbow animation in many different flavours plus many other animations to choose from and freely configure using a gui
I had no idea this existed ![]()
That’s fine, it just cost me an hour of Python.
For what it’s worth I think your script is much more hassle-free to set up compared to openRGB and already created “aaaah” and “oooh” moments from my family. ![]()
Also support for the MNT keyboards is not yet upstreamed into OpenRGB, which makes it even more complicated to set it up. I filed a merge request to upstream the work by @plom here: Draft: MNTKeyboardController: Add support for the MNT Reform and MNT Pocket Reform RGB keyboards (!3006) · Merge requests · Adam Honse / OpenRGB · GitLab There will probably be a lot of comments and requests for changes by upstream following. You can help with fixing things if you have time. ![]()
I took a peak when you mentioned it yesterday, and it sure looks quite Rube Goldberg ![]()
It sure does! I was having all kinds of issues getting OpenRGB to find devices and whatnot. But a little python script goes a long long way. Thanks to the OP for posting it.
It certainly has quite a few ideas in it that I’d also put into the more “creative” category. For example, fixing up the MNT OpenRGB plugin involved making changes to a code comment to get things to work: README: custom udev rules belong into /etc not /usr (!3) · Merge requests · Reform / reform-openrgb · GitLab
You may be able to imagine how long it took me to realize that this was why things didn’t function at all. XD
Welcome to the forum @dfbarth! Yes, I think this is absolutely a plus of that script. Even if you have openrgb installed (it’s packaged in Debian) you need to get the effects plugin from somewhere to make it do anything useful and that is not packaged. @O.o Do you think it would make sense to add your script into reform-tools, maybe under /usr/share/doc/examples so that users can easily show off the RGB keyboard functionality? I think that would be nice. ![]()
Why not. But if you want to avoid extra work, and polluting reform-tools with such unessential trinkets, I added it as a pre-built Debian package in my Debian repo here:
So if you want the bling, just do:
curl -SsL https://raw.githubusercontent.com/Giraut/ppa/master/KEY.gpg | sudo apt-key add -
sudo curl -SsL -o /etc/apt/sources.list.d/giraut.list https://raw.githubusercontent.com/Giraut/ppa/master/giraut.list
sudo apt update
sudo apt install mnt-reform-keyboard-backlight-rainbow
![]()
If you want to integrate it into something else, be my guest. It’s MIT-licensed.
The apt-key utility is on the way out. You might have seen the warnings about its use. The problem that apt developers are trying to fix is that if you add a key like that, then you tell apt “no matter what repo, this key is trusted” while instead you want to say “trust this key for this repo”. The new method is to distribute the key as part of your apt sources which also makes the setup easier as it’s only a single file now. In your case, you would replace the contents of https://raw.githubusercontent.com/Giraut/ppa/master/giraut.list with something like this:
Types: deb
URIs: https://raw.githubusercontent.com/Giraut/ppa/master/
Suites: ./
Components:
Signed-By:
-----BEGIN PGP PUBLIC KEY BLOCK-----
.
mQINBGGzKi4BEADa89cd99qpylLKW0hcRQpSnEFV/7UStM+BxSxivR9HSioKXvqU
82QOiW0aBtXGIpiOjiJB1KjJV45nEYop+aB3V2wNy5I2cHQgGUVPdYgKFBy3XMdi
di8r+jqGkc5hDcY6qlLVDZ0jeUKaBpR0gkzH0lZ0vR6Z/QO1DJongr11EHvjdko1
ia6KXElKcIcO+2yrHjn8UxDFT5hv42rDa23EuT/TuI7ShvyQ2C1JmLx1VnagMA29
IAU1ZjXVKNw5rmdyyD+WRx1CdyxdBKcy4zYt2ZjyFK3wF0B4qERvamkxNd69XIcE
4pinXa7P6wKxj9tmClzv2/LtRAt0WMeeM0KD6DnzEAOIF6UTDDxb8fPa3bRch9z3
5keO2bY/gLdYtbb/iWiXvzJmTx1dl0QWT41r9NAHwbdDGFjJ9kBeTepxlZsvDS1U
dk5a4Q9O5A955NPICQS8M7FVtwta1/rPPpHtatEOs1Rt8TGAJg3ylTj3Z0z/aYZm
gncPsLKd2sx6XOW1OXpVZmNQS3f3lYDprthCeKI35oceARn1T5MWxtyoE8teEx75
chpxnp1XnwPR9FuRJ1EWD7XgWpGt1Z5GmNNA9ZZtSXf3MyApg79r+ap7bNE5OyUD
bZdyh0T5e/8qJ4C0OJLl6alseFqXtT1jRV1PF4imSYDBiOb69F0lVGosVwARAQAB
tBlSb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EfDx6sgcKsvMa61fHfLbuV0Z2bmBP65Jb6cZSZ4LhujHKKhL
88mgteYXgrF+nDunzQmhdiI1udijH58BMIprX7KdjIG/NtWbCzVFiWRzHN5vM6Ij
v2hH9wqVv+dEVAHzKcKogIuDbFiyze/+tza6wh//ZKT1AZt92g==
=lhs8
-----END PGP PUBLIC KEY BLOCK-----
Your repository has the license, is has a license grant, it has a copyright year but it does not contain the copyright holder. I have now used “Giraut” here:
Please correct me if you’d like to see a different string there.
Yeah I need to fix this. I just never got around to doing it.
That’s correct: this is not my real name and I don’t provide my real email, so it doesn’t make much sense to put a Github name in a license.
The truth is I really should release it under CC0. But I keep copying the same repo template over and over and I haven’t bothered changing the license file ![]()
It’s fine. I don’t really care.
This is really cool, thanks! I also found OpenRGB to be a bit too heavyweight for this job, and small tools like this are a better fit for our platform.
Dude this is so much better than OpenRGB for this purpose! It’s also a really nice example for other people to modify to make their backlights do pretty things and makes the hardware more approachable. Great work dude!
30 lines of Python for some awesome light effects on the Pocket Reform Keyboard. I love it ![]()
Thanks for the inspiration @O.o