Software Engineer, Linux Enthusiast, OpenRGB Developer, and Gamer

Lemmy.today Profile: https://lemmy.today/u/CalcProgrammer1

  • 0 Posts
  • 75 Comments
Joined 4 years ago
cake
Cake day: June 9th, 2021

help-circle
  • Agreed 100%. I reached voting age in 2008 and I was one of those “both sides suck” idealistic young voters who voted third party. I did again in 2012 and again in 2016 thinking “Hillary’s already got this one, I can protest vote”. Nope, we ended up with Trump. Ever since that I will only vote blue no matter who, at least as long as the Democrats are the only viable party with some sense of normalcy. Third parties are completely unviable in the US election system. We need ranked choice for a third party vote to not be a throwaway vote. Until that happens, we can’t afford to pick “the best choice”, we have to pick “the best choice that actually has a chance”. Even if it’s not really the best choice. Very happy to have gone out and voted early last week. We need the blue wave. Once the Republican party is thoroughly stomped into the ground and made completely unviable can we focus on a truly liberal third party, but honestly we probably have a better chance of slowly moving the Dems left than we do a third party taking over. It may not happen in my lifespan but I’d rather see progress than regression.




  • I got a NexiGo portable gaming monitor that I’m pretty happy with. It is a 16 inch 2560x1600 display, 144Hz, and supports FreeSync. I got a bidirectional DisplayPort to USB C cable so that I could use it with my desktop for LAN parties and it’s great. It has a built in flip-out kickstand, a folding magnetic cover, OK built in speakers (good enough to game with anyways), and can be powered via a second USB C port with an A to C cable. On a device that supports USB C video output like a laptop or Steam Deck it can run off a single cable but I mostly wanted it for my desktop.











  • I’m not sure about FF specifically, but 99% of the time you’re connecting a microcontroller to a PC you’re doing so over a serial port (UART) of some sort. It may be a physical COM port or it may be a USB to serial adapter or even a purely virtual serial port over a USB connection, but the methodology is all the same. Unless you are running a serial terminal on that port (as in, a commandline on your PC served on the given /dev/ttyX interface, not a terminal emulator letting you read/write from the port), the microcontroller can’t just run scripts on the PC. Instead, you will want to write a script/program that opens the port and waits for a command to be sent from the microcontroller, then that listener script can execute whatever functionality you require. Note that only one application can have the port active at a time, so if your listener is a separate program from your event handler, you will have to close the port on the listener before running the handler, then reopen the port on the listener once the handler is done so it can start listening for the next event. Better to just make it all one program that is always running on the PC and does both listening for events and handling them so there’s only one program that needs access to the serial port.




  • Installing postmarketOS on it to turn it into a full fledged pocket PC. It now runs all your favorite Linux-compatible desktop applications except for those that don’t have ARM64 versions, and even then emulation layers can fix this. It’s not 100% as I haven’t been able to get Steam working (it starts but errors out before the login screen) though I have seen some people have success on other distros so maybe it’s a pmOS/Alpine/musl specific issue even though I was using distrobox with Debian to actually run it.


  • I’m not familiar with KDE’s new feature yet, but if it only supports sysfs LEDs then it won’t control 99% of keyboards. Few RGB keyboards have drivers that expose this interface. Most RGB keyboards are controlled from userspace on their official software on Windows, and that’s also what most Linux projects that control RGB devices including my OpenRGB project do. I wonder if it would be possible to write an OpenRGB plugin/script that exposes a virtual /sys/class/leds/openrgb device that KDE could talk to, then translate that into OpenRGB calls to set the color on all available devices. It doesn’t sound too difficult.