latest posts

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.


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.


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