Latest posts

(Mis)adventures in getting a working display on mainline Linux

or, how I spent nearly 3 weeks trying to figure out why I wasn't getting an image on my Galaxy Tab 3 8.0.

A while back, I tried to mainline my Samsung Galaxy Tab 3 8.0 (lt01). It’s a tablet from 2013 with the Exynos 4212 chipset - the dual-core variant of the already well-supported Exynos 4412. When support for the Exynos 4 mainline kernel was added to postmarketOS, I figured it was the perfect time to try and get it running on mainline.

The initial task was re-introducing support for the Exynos 4212, as it was dropped a few years back. This was fairly straightforward - just moving some things into a separate .dtsi and modifying some drivers was enough to get it booting. Unfortunately, I hit a pretty big hurdle very quickly - the moment I booted into mainline, the display would completely shut off.

Read more...

Everything you need to know about Gtk.Template

The all-in-one guide to working with PyGObject's Gtk.Template.

This article aims to cover everything you need to know about PyGObject’s Gtk.Template, from creating the .ui file, through loading it, all the way to working with objects created through the template.

Read more...

Fixing the Blue Snowball microphone stand, with the power of 3D printing

I have a Blue Snowball microphone. As it usually is with any items that end up on my desk, I’ll inevitably end up fidgeting with them in one way or another and breaking them as a result. And the same rule applied in this case - I broke the mic’s stand fairly quickly. (Although, to be fair, it was fairly weak to begin with).

What happened? Well, the legs just started flapping about, and when you moved the mic too much the little “bolts” holding them on would fall out. This wasn’t all too bad, considering that the mic could still stand on its own, but eventually my fidgety hands managed to make one of the “bolts” fall out, never to be seen again. (I also lost the third leg that was being held in place by said bolt.)

I knew that getting another original stand would just postpone the issue’s re-appearance, so I turned to the only other method of making my own stand that I could find - 3D printing.

Read more...

How to take screenshots of partially/fully obscured windows in Xorg/X11

I initially posted this on my Fediverse account, and I’m now reposting it here for visibility. The all-lowercase text adds to the charm, so I’ll keep it.

…you can’t, not conventionally anyways. but there is a workaround! just start up an x session with xnest (that way you can still access the window you want to do stuff on). this will simply open a window with your new x session inside of it, and that should be enough

Read more...