Skip to main content



zmk-rgbled-widget: A ZMK module to add battery & BT indicators using an RGB LED (like in Xiao BLEs)


I find that having a way to check the battery and connection status is very useful with wireless devices. Traditionally, the way to do this is through the addition of a display. However I always thought displays were a bit overkill for that and once I started using Xiao BLE controllers I noticed that they have an RGB LED built onto the controller itself that can be programmed.

So I wrote a small tool to indicate the battery and BT profile status that uses that LED, and I thought I'd share more broadly in case it is useful to others. It's pretty easy to add to your ZMK build as documented in the README as it is a ZMK module.

While it supports Seeeduino Xiao BLE out of the box, it's also easy to add support for it if you have a custom keyboard that has three dumb LEDs for RGB colors.

in reply to bravekarma

Just chiming in to say I found this recently and found it a really useful base. I don't have an RGB LED on my NN clone, but I forked it to work with just a single LED (using blink patterns/speeds). It's awkward, and a coloured LED would be way better, but better than nothing! Thanks for posting
in reply to silico_biomancer

Nice! It was essentially my first Zephyr project and I tried to make it accessible code-wise, so I am happy you found it useful in that regard.

I know at least a couple other people that adapted it to a single LED. I’d probably do it too if I needed it but I’d find it difficult to share it with others given that decoding the information is harder for others.



Kalle Sundin är en ny ledarskribent i Aftonbladet. Han har skrivit en ledare om att justitieminister Gunnar Strömmer borde läsa kriminologi. Det har han helt rätt i. Men även Kalle Sundin borde läsa kriminologi.

blog.zaramis.se/2024/08/31/kal…


in reply to data1701d (He/Him)

A locked down ecosystem is not exactly good for hacking. Apple aggressively blocks outside software


This week in Plasma: inhibiting inhibitions and more!


in reply to vii

I set firefox pip windows to stay above everything and that works fine.
in reply to Leaflet

I missed a few weeks of This week in Plasma, and while gaming yesterday on my laptop, I clicked the the battery and saw I could put it into Performance mode. Amazing surprise, I love KDE more every time!




Brainf...


As funny as ever?


"Let scaling-aware Xwayland clients scale themselves..." merged in Gnome


Hopefully this means no more blurry Xwayland apps.
This entry was edited (6 months ago)
Unknown parent

lemmy - Link to source
setVeryLoud(true);

You're talking about extensions.

Extensions that don't come from GNOME are not supported at all, they've made that clear. If they wanted to, they could just stop allowing third party extensions altogether.

This is because they hook directly into GNOME Shell's' internal JS, which changes every release as they refactor it for performance or feature changes. Developers have a few months before release to adjust their extensions for the newer version.

Personally, I just raw dog vanilla GNOME for stability, and it works fine.

in reply to Leaflet

We've had this on KDE for a year or two now, and it's mostly been great.

It won't mean no more blurry apps unfortunately, but games will render at the correct resolution and some xwayland apps will look a lot better.





The coolest new space pictures: August 2024


tps cool space pictures ; August

in reply to MrPoopyButthole

I've spent a good amount of time studying various DNA processes and never once made a connection between i-motifs and clippy. Great catch! lol

The thing is, our cells create these "knots" to make room for enzymes to access our DNA. They're quite common as it's required for DNA transcription + replication, chromosome segregation in cell division, telomere maintenance, and to alter gene expression. Not sure how I overlooked what happens if they form more often than intended. Wild to learn it can lead to cancer, neurodegeneration, and heart disorders! Guess I missed two massive aspects when studying all this, the imapct of DNA forming i-motifs too often, and the resemblance to clippy hahaha.



Come venivano dal regime fascista strumentalizzati i fumetti...


Il modello originale del primo periodico, di cui qui si pubblica la copertina, era l'americano "Cino e Franco", ripreso come tale nel nostro Paese al termine della guerra. Il fascismo aveva imposto allo scoppio del secondo conflitto mondiale l'italianizzazione sempre più accentuata, con esiti anche grotteschi, dei fumetti stranieri. Per quanto attiene il razzismo, questo era già antecedente il Regime, ma con il Regime dilagò sui giornalini.
Grottesco anche il caso di Dick Fulmine, di matita italiana, personaggio italo-americano operante dapprima negli USA, ma che nel luglio 1942 si trova nella fantasia di queste pubblicazioni non si sa come a combattere a fianco delle Forze dell'Asse.
Aggiungo una copertina, quella di "Albo dell'Intrepido" del 23 maggio 1942, perché nella nuova versione degli anni '50 era uno dei miei giornalini preferiti.
Alcuni fumetti continuarono ad essere pubblicati, altri vennero recuperati dopo le censure del fascismo, nuovi ne emersero, più di settant'anni fa...



LWN report about the "Rust for filesystems" session which a Rust for Linux maintainer referred to for context when retiring from the project this week


Their resignation is already being discussed in another post here from yesterday: One Of The Rust Linux Kernel Maintainers Steps Down - Cites "Nontechnical Nonsense"

...but I think this LWN reporting (from back in June) deserves its own post as it makes it easier for those of us who are not kernel hackers to follow what is going on.

This entry was edited (6 months ago)

reshared this

in reply to Arthur Besse

I argue that every (C) Kernel programmer should (not forced!) familiarize with Rust. Many (but not all) are stubborn and won't do that. The argumentation and questions brought up in this discussion (in the article) are very interesting and to -my surprise- humane. It's an interesting read to see how Kernel developers argue and think.
in reply to thingsiplay

The tone which comes across in the video (linked from the other post I linked to in this post's description) is unfortunately much less amicable than this article conveys.
in reply to Arthur Besse

Yeah, the video is basically, "I don't want to change, and you can't make me. Your ideas are crap, and you should feel bad for daring to suggest that C or the kernel has problems that need solving."
in reply to Telorand

I find it a bit worse as it is basically “there are more of us so you do mot matter and that is not changing anytime soon”. That is about as far from a technical argument as you can get. It is also basically bullying.
in reply to LeFantome

That's a very good assessment, I think. I was being a bit overly charitable, perhaps.
in reply to thingsiplay

It's an interesting read to see how Kernel developers argue and think.


It's an important goal to adjust to how kernel devs discuss kernel issues.

Please don't trivialize the efforts of a smart person in a very underestimated discipline.

in reply to corsicanguppy

They're not trivializing, just noting that the different things you need to discuss for kernel development compared with other work. It is very different in a lot of ways, and does shape your perspective. I also find it interesting.
in reply to thingsiplay

It's an interesting read to see how Kernel developers argue and think.


You sound like some mad scientist experimenting with kernel devs.

in reply to asudox

I presume you will find it amusing that I'm from Germany.


in reply to Streams

Very cool! So everything is running on a computer in your house? Question: What are you doing for an ISP that allows you to host websites? (Ours does not.)




Rust for Linux revisited (by Drew DeVault)


in reply to pnutzh4x0r

Large organizations always have politics—it's human nature. 1700 people is quite a large organization. Therefore, the kernel maintainers have politics. The presence of politics always means that some people will get stomped on unfairly.

This is all business as usual, in other words, and it will not go away. At best, you can shift the culture of the group and the politics along with it, but that takes time and effort and people-handling.

in reply to pnutzh4x0r

I wouldn't be surprised if a Rust-based Linux fork eventually happened (possibly funded by some techbro wrecker)



Elasticsearch is Open Source, Again


This entry was edited (6 months ago)

reshared this

in reply to Max-P

What benefits does the developer get from using both licenses, if the user gets to decide which one to use? Serious question, by the way. I truly don't know.
in reply to 𝕸𝖔𝖘𝖘



On Rust, Linux, developers, maintainers


There's been a couple of mentions of Rust4Linux in the past week or two, one from Linus on the speed of engagement and one about Wedson departing the project due to non-technical concerns. This got me thinking about project phases and developer types.

reshared this

in reply to Jure Repinc

Talks about different developer styles, slightly interesting and not too long winded I guess, but not much about the actual situation.

I think this is still not such a great look for Rust. I had expected interfacing Rust to C to present fewer problems than it seems to. I had hoped the Rust compiler could produce object code with almost no runtime dependencies, the way C compilers can. So integrating Rust code into the kernel should be fairly painless from the C side, if things were as one would hope.

It does sound to me in the earlier post that there was some toxicity going on. Maybe it had something to do with the context being a DRM driver.

I looked at a few Rust tutorials but they seemed to take forever to get to any interesting parts. I will keep looking.

in reply to solrize

This entry was edited (5 months ago)
in reply to tabular

DRM in this context (as mentioned by the other comment) is the interface between the userspace graphics drivers (Mesa, Nouveau, Nvidia etc.) and your graphics devices. It handles pretty much everything for rendering from displays to power management and memory synchronization, in a cooperative way that stops crashes due to race conditions, memory corruption etc.
in reply to Skull giver

Your point about it being a culture issue is spot on. Many maintainers who are established in the kernel have made it clear they'd rather keep the status quo and the comfort of stagnation rather than bring a new technology forward to improve the security of their systems.

If it wasn't Rust, but some other language with similar benefits, the same people would've thrown their hands in the air and complained that they're being forced to rewrite everything or some other hyperbole.

Because it's a FOSS project, for some reason it's acceptable for maintainers to be entitled arseholes who abuse anyone they personally have a vendetta against.

In any other workplace, this behaviour wouldn't be called "nontechnical concerns" it would be called workplace bullying. And as much as Linus wants to say he's working on his anger issues, he is personally one of the contributors who has set this culture of aggression and politicking as much as any other.

in reply to Skull giver

As an aside, the DRM and its support for the supposedly superior-on-linux AMD-powered devices is atrocious. I've had my laptop since January and it's a model from 2023, but it still regularly has mega display corruption from memory mismanagement that might be improved from a certain language feature not offered in C.