We all know the issue, you're at your desk, tapping away and suddenly! Oh No! That movement you tried to do was actually a drag! If that ever happened to you, you're definitely not entitled to compensation. But read on, because there's a light at the end of whatever dark thing you're currently imagining yourself in.
Since 1.17 (2021) libinput has had support for multifinger tap-and-drag. Tap-and-drag is of course the feature that lets you go "finger down, finger up, finger down, hold it there" while the logical button event goes "down" and ... nothing else. In short, it's how you can do dragging on a touchpad without having to use physical buttons. Multifinger tap-and-drag, implemented by satrmb (here you can nod appreciatively), provides us with the multifinger version of this - a two-finger tap followed by a single finger down allows the equivalent of right-click dragging[1].
Now, and this may come as a surprise to you - some people have a need for being able to right click but no real need for right-click dragging. Or at least via tapping (after all nearly all touchpads still have physical buttons). What those people[2] have a need for though is a right click followed by normal pointer movement immediately after. And it turns out that multifinger tap-and-drag gets in the way of that - by design.
So what do we do? We fix it, just like Bob would! libinput 1.33 includes a new configuration option to restrict which finger combination supports multifinger tapping. With many thanks to OleksandrChornyi2010 for implementing this feature, we can now tell libinput one of, currently, LIBINPUT_CONFIG_MULTI_FINGER_DRAG_SINGLE_FINGER_ONLY, LIBINPUT_CONFIG_MULTI_FINGER_DRAG_SINGLE_AND_TWO_FINGER or LIBINPUT_CONFIG_MULTI_FINGER_DRAG_SINGLE_TWO_THREE_FINGER. I'm not telling you what each of these options does, that's your homework for this week.
As usual, the options will need to filter through the various compositor settings to take effect.
[1] pending your configuration, yada yada
[2] probably not a pure circle of a venn diagram
It's been a while, but we haven't been whiling away the time[0]. Instead libinput has seen a few new features, scheduled for the upcoming 1.33 release. In this post I'll be discussing the brand new[1] novel[1] innovative[1] feature of the "Click Lock".
Typically, in order to hold a button down a user would have to, well, hold the button down. This is of course inconvenient when something prevents you from doing that, be that some physiodivergency or just lack of patience in regards to the button and it's pressing demands. This is where click lock comes in - it lets you nominate buttons that use a locking approach we typically know from the Caps Lock key[2]: press once to logically hold it down, press a second time to release.
Click Lock does exactly that: you tell libinput that you want buttons BTN_LEFT, BTN_RIGHT to be locked and clicking it once locks the button logically down, pressing it a second time releases the logical button. The exact locking mode is determined by a (configurable) timeout and a (configurable!) movement threshold, so the initial press needs to be held past the (configurable!!) timeout and the movement has to be less than the (configurable!!!) distance - currently defaulting(!!!!) to 1.2s and 1mm, respectively. The timeout can be set to zero in which case any click locks immediately [3].
We may add other modes in the future but for now this one should do for the majority of use-cases. Since this is a (long overdue) accessibility feature, I do encourage the compositor developers to integrate this soon.
And of course credit where it's due, this feature was implemented by Owen Kent, I'm just taking credit via this blog post here to get more internet points.
[0] The jury is still out on how much the time has been whiling away on us though.
[1] A quick check of the xf86-input-mouse driver suggests this feature has existed there since at least the initial git import in 2003 and I can't be bothered going back further. But hey, Apple gets to call existing features innovative and new when they finally implement them, so why not us!
[2] Which everyone of course maps to the compose key to be able to write letters like Æ for Ð when a password field requires English letters only.
[3] Technically this is no longer a "timeout" mode but I figured if you're observant enough to notice that, you've also long noticed the universe is against us when it comes to naming things
Up unfeasibly early, Eurostar to Paris, despite
the strike concerns - got to La Defense in good time on
an unusually pleasant section of French Metro - nice.
Met up with Damien, talked to lots of interesting
people old and new.
Distributed Beavers, gave a talk, customer call in
a nearby cafe, off to the Gare du Nord, and EuroStar to
Kings Cross. Train from KGX to Cambridge North.
We have an IKEA kitchen DOMSJÖ sink and GLITTRAN faucet that we bought and installed about 10 years ago. The sink has since been discontinued by IKEA.So the problem I had almost from day one is that the locking mechanism for the faucet would make the faucet move a little, often creating a visible gap next to the faucet, which in turn would let water and soap get in there.
But it also meant the faucet was never 100% stable, so over time it would eventually come lose and I would have to try to faster it again, only to once again face the battle of it moving as I was tightening it from underneath the sink. So this having happened again a couple of weeks ago I thought, wonder if I could 3d print something that keeps things stable. So I took a photo with Google Lens and asked it to help me identify which sink and faucet this was. Once I had the names I feed them into Gemini and asked Gemini if it could help me create STL files I could print that would allow me to securely fasten my faucet without risking it moving as I was tightening it. The first result turned out to be pretty useless
Bottom of faucet with first iteration 3d print
, basically two flimsy pieces that achieved very little, but when I then feed photos of them back into Gemini then Gemini asked if I could provide accurate measurements and it would try again. So instead of just taking measurements I decided to take photos of everything with a measuring tape in the photo, and that turned out to work really well. I fed the photos into Gemini and it produced these two STL models for me.
Locking C shaped plate with measuring tape
Final 3d printed parts
Once I installed them, one inside the faucet and the other one underneath the stink the faucet could be installed without a problem and now sits perfectly, and for the first time since we bought it, there is no movement in the faucet, it sits rock stable on the sink. So it seems AI can help you fix even 10 year old IKEA fixtures :)
I have since tested both Gemini and Claude for creating STL files further and so far I very happy with the results. I had a open tray of screws that was lacking a lead, so I took a photo and also uploaded the STL file for the tray, and voila I had a perfect slide on lid. Then my son wanted me to print him a Sukuna finger which is from his favourite Anime called Jujutsu Kaisen. I found a beautiful model on printables.com, but it required painting, but once again I feed the STL model and the image of the painted version into Claude and out came a new STL file that I put into my INDX four color printer and it created this beauty seen below for me.
Sukuna finger colored by Claude
And this revolutionizes 3D printing for me, because my attempts using FreeCAD before was successful, but also very slow and painstaking as I had to learn the application as I was trying to do my work, and the pieces I made where very simple and basic. Incredible application, but for someone just wanting to make a random piece from time to time to fix something in my house, being able to ask my AI agent to create a STL file is a lot simpler.
Claude was also able to help me when I finished upgrading my Prusa Core One to a Prusa CoreOne INDX multicolor system last weekend. The nozzle kept scraping against the build plate when moving to to wiper tray. I could not figure out why and thought it was a tuning alignment issue on my side, but Claude took a look and found the issue in the default GCode for nozzle cleaning. It was literally the command to raise the nozzle by mistake being below the command to return to the nozzle cleaning tray. Once I fixed that and saved a new profile I been printing without a problem, and I solved my issue in less than an hour of effective work instead of being stuck on this issue for days or weeks.
As I’ve said in previous posts, if I could un-invent LLMs, I would. But that’s not possible,
and we should use them to accelerate human work – especially to defend our software systems.
It’s been humbling to see LLMs find flaws in software I wrote (by hand) long ago and thought reasonably secure;
also on a daily basis pointing out new flaws in designs.
It’s still the case that a tuned harness can generate reasonable quality code much, much faster than I
could type it. I still believe for “core” software it’s very important to ensure we
retain human oversight and knowledge. LLMs today in my experience still have some
incredibly bad failure modes that humans are better at spotting (and vice versa!).
Anyways, this post is about my evolution in how I use LLMs – under a separate identity,
or where that’s not possible, with a very clear delineation between what I wrote (prompted, etc)
vs what was generated, and with what level of review/oversight.
Run LLMs as a separate account
Most of my software work is currently on GitHub. It is allowed by the ToS
to have two accounts, as long as the second is for “automation”. LLMs I think
qualify.
I’d long ago created https://github.com/cgwalters-bot/ for a different reason
(testing a merge bot, way before GitHub had merge queues etc). I recently
repurposed it to be my “personal LLM harness”.
Lifecycle of issue to PR
95% of my personal harness work is public and FOSS, but basically
it supports a generic “issue to PR” style flow that can operate roughly like this:
I assign a task (or, a coordinator agent might decide to do that)
There’s a “midstream fork” where the agent dumps its output, distinct from the upstream
project
It’s at this point I verify the PR is not total slop/broken
If I approve there, the bot closes the midstream PR and re-opens upstream
I review the PR “for real” upstream
If you look around you’ll find various examples of this live.
There are a few important aspects to this. One is that in the last step,
I am showing that I am actually looking at my agent output. I don’t
always find problems, but it’s not uncommon there are some nits at least.
(Of course, sweeping up that type of stuff and tuning the harness or project
rules is its own subtask)
Using it
Do I like this system? I like it a bit better than my coworkers getting
multi-thousand line PRs from what to them is a black box (me and agents on my
laptop). And the same applies in reverse, when I’m on the receiving end I’d
rather have it be very clear what the human did and what the agent did. Note
that with my harness, the agent job logs when working on public content are public
by default.
I’m not going to deny that sometimes it is amazing and kind of thrilling
just how fast I can generate things live and try them.
But it’s also exhausting and I would still un-invent LLMs if I could.
How it runs
A key thing here in “use a separate identity” is “use a separate logical
account”. In terms of how to sandbox AI effectively, in my opinion by far
the simplest and most effective way to do so is e.g. Unix useradd. Then
log it into its own accounts separately. A separate login user can then
use its own containers/VMs and do whatever your main account does.
Of course it also becomes a bit easier to delegate work to remote environments
when you’re using this clearly separate account.
It’s nice to give your agent harness the ability to just iterate on its
own tools in its own git repositories.
As I mentioned in the previous post, my harness uses a
safe outputs style
system that restricts what a particular task can do. This is really pretty essential,
as opposed to just allowing arbitrary operations with its own account.
Where you can’t use a separate account, or it’s too much overhead
Forges like GitHub make it clear in a submission who did what, but that’s
not true of other things like say Google Docs – and this “separate account”
thing can be ~impossible in corporate environments. When I’m in a situation
like that, I believe a standard thing should be writing the document (or
presentation, etc) in a form that’s basically:
Your prompt/goals background
A clear label/indication that the following is LLM generated
The generated information, ideally with reference links
This is of course exactly what you get when “sharing a session” from most
popular hosted agent systems. I would much rather get that than have someone
run some stuff using some private tools in their laptop and then dump
a document on me like they wrote it. I mean, you can tell when it’s LLM
generated most of the time, but the above is just better and more honest
I think.
At the GStreamer Conference in Prague in October, a whole block of the
second day was a session about GStreamer 2.0: an overview, three talks and a
panel discussion. This post is my summary of that session and of my own talk in
it. The next one will be about what I have worked on since.
As in my talk: what I describe here is an early research prototype. The
GStreamer project has not made any decision about 2.0.
Whither GStreamer 2.0?, by Tim-Philipp Müller (Centricular): an
overview of what we know and don’t know about the shape of 2.0 and how we
might get there, followed by a panel discussion to bounce ideas around,
identify priorities and collect input from the audience.
GStreamer 2.x without breaking API?, by Edward Hervey
(Centricular): a short talk proposing to port all the 1.x elements to Rust
now. It would make GStreamer safer today, and make moving the core to Rust
much simpler later.
Let’s (re) negotiate!, by Mathieu Duponchelle (Centricular):
experiments with new, non backwards compatible negotiation designs, which
keep what the current system can do while fixing its shortcomings.
Two talks were already about this work, Mathieu’s experiments with negotiation
and my new core, so we decided to build a whole session around the future of
GStreamer: this 2.0 session.
My talk: why a new major release?
GStreamer 1.0 is 14 years old. It has served us well, and a lot can and should
keep improving within 1.x: porting elements to Rust, for example, already
removes many memory bugs from the code that parses untrusted data. But some
issues come from the design of the core itself, and fixing them needs a deep
rework of it, which changes what elements and applications have to do. These are
the kinds of changes a major version is for:
The core is written in C, on top of GLib. A great foundation 25 years ago,
but elements ported to Rust still plug into a C and GObject object model, with
its locking rules kept in documentation, and GObject is one more thing
newcomers have to learn first.
The threading model is not flexible enough. We have found ways around its
limitations, notably with the threadshare plugin, but scheduling flexibility
should be part of the core design, so applications can choose how pipeline
work runs and integrates with their own threads and event loops.
Negotiation is left to each element, with base classes helping only so
much, and its errors are hard to debug. Mathieu’s talk was about exactly that.
Allocation that waits behind the data flow, because the allocation query
is serialized with it, and a query that is not good enough in the first
place, as Nicolas explained in the panel.
Changing a running pipeline is too complex and too easy to get wrong:
races, deadlocks, and every element that does it for real has its own
machinery. This is the one I want to solve.
…
Those ideas come from the
2.0 wishlist that
GStreamer developers have been writing together. I presented a
new core written in Rust, with no GLib in it. I started it to try
some of those ideas in real code and see which ones hold up. Two principles
guide it: move complexity out of elements and applications into the core, and
use Rust’s types to enforce rules that would otherwise live in documentation.
The design separates a data plane, where pad tasks move the data, from a
control plane, where one task per pipeline handles every change to it. Both
run on an executor that the application can provide, so GStreamer can fit into
the async runtime or event loop an application already has.
The control task is what makes the goal reachable: transactional dynamic
pipelines, where you stage a change to a running pipeline and commit it as a
whole, or arm it to happen at a given point of the stream, without any
streaming thread relinking pads.
I ended with what I propose for the transition. 1.x keeps being maintained for
a long time. A stable C API on top of the Rust core gives C elements and
applications a path to 2.0: elements that are not worth rewriting in Rust can
stay in C and be ported to that new API.
And the plugins being written in Rust for 1.x today should carry over. Nobody
should have to jump all at once.
The panel
After the talks came the panel discussion, moderated by Tim, with Nicolas
Dufresne (Collabora), Sebastian Dröge, Jan Schmidt and Mathieu Duponchelle
(Centricular), Håvard Graff (Pexip), and myself, Thibault Saunier (Igalia). It
stayed at a high level rather than going into designs, and it showed a broad
agreement on the direction.
Why a new GStreamer. Tim opened by asking Håvard whether Pexip wants a new
GStreamer or “just a faster horse”. Pexip has been built on GStreamer from the
start. It runs video conferences and bridges them with services like Microsoft
Teams and Google Meet, and its hardest problems today come with scale: many
small video calls, a few very large ones, and forwarding the media without
re-encoding it whenever possible. GStreamer does not reach the numbers they
need there. His gut feeling is that more
chipping at the current core will not be enough, and that it is not one single
thing: sharing threads alone did not bring the gain they hoped for. Nicolas
described the same limits from the embedded side. The push-based, multithreaded
model is now set in stone: scheduling is left to the operating system,
negotiation is spread over every element with no single place that sees the
whole graph, and the allocation query has never really worked as intended. He
has been trying to make sense of it since 1.2: it carries lists of pools and
allocators of which only the first is used, loosely defined parameters, and no
way to intersect or merge proposals as caps negotiation does, a sign that it is
in the wrong place.
Every fix to make elements work together adds work for every new plugin.
Breaking the API, but carefully. Sebastian noted that the problems are well
known, and that what we need now are solutions. Writing most elements should be
as simple as providing a processing function and describing what goes in and
out, while keeping the powerful API for the cases that need it. He also
suggested that, while breaking compatibility, we could offer a compatibility
layer for the small part of the API most applications actually use. Mathieu’s
point was that if we never start, 2.0 will always be three years away: we should
experiment now, expecting to throw those prototypes away and to bring the
results together into one design. Jan put it in perspective: GStreamer 0.8 had
its own green threads scheduler, 0.10 threw it away and relied on operating
system threads, and probably used them too much. An async runtime is a middle
ground, though we will still need boundaries where we wrap code that runs its
own threads.
What must not be lost. Håvard’s favorite part of GStreamer is its building
blocks: an element can be tested on its own, then trusted inside a bigger
pipeline, and the same API can wrap V4L2, FFmpeg or any third party system.
People in the audience added a learning curve that starts low for simple
applications, modularity (shipping only the plugins a product needs matters for
a medical device and its security paperwork), the sheer number of existing
plugins, and the flexibility to handle exotic use cases.
What people want. The audience brought a long list:
Simple dynamic pipelines. Applications start simple, then need to change the
pipeline while it runs, and that is where the pain starts. Switching audio
and video together at the same point is still hard. This is exactly what
transactional dynamic pipelines are about.
Structured logging and tracing, with scopes, where Rust’s tracing ecosystem
would give us a lot for free.
Negative and fractional timestamps.
Easier access to the data for computer vision applications, which find
OpenCV much simpler than appsrc and appsink: writing an element as a
single function would help there too.
Sampled and structured data beyond audio, video and text as a first class
citizen, for analytics in particular.
Predictable threading for game engines, and better cache locality: keeping
related elements on the same thread instead of jumping between cores.
A smaller API surface, and bins that can hide their internals.
Negotiation that picks the best formats for the whole pipeline, not one link
at a time.
The discussion also covered porting. Nobody wants a one to one translation of
the existing plugins, by hand or with an LLM: porting is a chance to rethink an
element, while keeping the workarounds for broken streams that accumulated over
the years, since they encode real knowledge. The panel ended on a “brave new
world” note, and a call to stop talking and start doing.
At the hackfest
The two hackfest days after the conference were a good opportunity to go deeper
into some of these topics with the people working on them:
The C API and ABI, with Sebastian Dröge: how a Rust core should expose a
stable C interface, and how to implement it.
Negotiation, with Mathieu: how his caps negotiation APIs could evolve, and
whether memory and buffer pool negotiation could become part of it rather
than a separate step.
Scheduling, with Edward and Nicolas. The word covers too many different things in
GStreamer to be useful in design discussions, and we will need more precise
terms. We also talked about the core taking on much more of this work,
acting as a kind of constraint solver: figuring out which data each element
will need and when, and moving it between elements accordingly. This is still
very theoretical, but it is a direction worth exploring.
Bolder ideas, with Jan Schmidt, who has plenty of them. Many are in his
section of the wishlist: bins that do too much and could be split
into separate groupings for state changes, synchronization and shared context;
links that carry several streams at once, with downstream subscribing to the
ones it needs; timestamps that say what they are (stream time, running time,
clock time) instead of one type for everything, and explicit clock domains;
and even a pipeline without the Paused state.
What is next?
The wishlist keeps growing: it now has sections from nine people. On my side,
the control task has landed on main of the prototype, and I am close to
landing a first transaction API on top of it. That will be the subject of my
next post.
I would also like to get people hacking on it together: I have proposed a
hackfest dedicated to GStreamer 2.0 hacking, possibly hosted in Santiago de
Chile, where I live.
I’ve been happily using Helix (best editor in the world) for a while. I love its “batteries included” approach, because nobody has 30 years before them to craft the perfect configuration file. I love its “every change has to be intentional and fix an actual problem, it’s actually desirable to say no to Pull Requests” philosophy. But it has two major problems:
It hasn’t had a release in about a year and a half, despite having significant improvement merged in its master branch.
It doesn’t have clearly established governance models or ladder. This means that when the repo went dormant for several months, nobody could pick up the work.
I love Helix (best editor in the world) with all my soul, but it’s also missing some features that would make life much easier, like code folding for example. Its maintainers don’t owe anyone anything, but the project’s structure almost set them for burnout.
Several forks of Helix exist to make up for the lack of release, but most of them are band-aid on a wooden leg. They’re all about merging PRs that haven’t been merged upstream and releasing more often, but they still track upstream and rebase regularly. And that’s a good thing to do! To an extent.
When the upstream has gone dormant, a hard fork allows bolder decisions because you don’t have to worry about eventually rebasing and upstreaming your changes. A significant contributor to Helix, matoous, forked it over the summer to create Mitos. The reason given is
Helix built a strong foundation. Mitos is a chance to build on it at a faster pace, experiment with new features and different approaches to the architecture, and see where it can take us. For now, expect less stability and occasional breaking changes. Nevertheless, the end goal is similar - fast, robust, and extensible editor for all your needs.
I liked the idea of keeping Helix’ spirit, but also experimenting more. Early on I opened a discussion about governance to avoid repeating Helix’s mistake and the response has been positive: the project needs to experiment at a faster pace in its early days, but the maintainer is open to onboarding properly new maintainers eventually.
Mistral just released Clipstral, their multimodal embed model. If you’re anything like me a few hours ago, that’s a nice tech word soup but it doesn’t tell you much about what it does.
So Clipstral is:
A multimodal model. That means a model that works with several types of input: text, photo, video. This one specifically doesn’t support audio.
An embed model. It’s a librarian model: it sorts everything you give it, and groups similar items together in its library.
If you combine the two, you end up with a model that can ingest text, images, and videos and still sort them in its library, regardless of their format. So a photo of a macaw deploying its wings will sit next to the text “a red bird flapping its wings”.
It’s not a model you talk to, like in Claude, Mistral Vibe, or ChatGPT. You still need to build an app around it for it to be useful. In their examples, Mistral shows that you can use this model to monitor robotic operations, find manufacturing defects or diagnose crop illnesses.
Manufacturing and agriculture are body crushing jobs that I would be very glad to hand over to robots so we can tinker, garden, or do anything fulfilling, as hobbies instead. And this model isn’t English-centric, which is a nice change.
Chewed mail, sync with Pedro, lunch. Marketing content
review. Product Management call, sync with Eloy, Thorsten, drove
into Cambridge for a lovely company Christmas Dinner - great to
see people in person.
The Jensen Huang case has lost me sleep why? ?
Recently some Digital Sovereignty loving Collabora Office customers of ours wanted me to go through UK security clearance to smooth our support and product management discussions.
I was pretty relaxed about that - for example I don't remember ever getting a speeding ticket.
And then - I woke one night in a cold-sweat; looked across the bed, and ... there was this extraordinarily beautiful, intelligent, captivating woman, also with the same second-name (my beloved wife of ~25 years).
She is clearly a 10, and I'm scraping a 5.
Previously I had become convinced that she is God's gracious gift; but could I be married to a Chinese spy !? 😟
Yet even those lofty accomplishments were not enough for me.
In my arrogance and hubris, I decided to tackle a challenge that has
confounded man and Wilber-kind alike since time immemorial. Something that has
continued to elude us despite modern advances in science and technology.
Something they said couldn’t be done! Something…
The traditional methods
involved using the rectangle and ellipse tools to create templates for these shapes.
An alternative method, the GFig plug-in, has existed
since at least 1997 and was specifically designed to let users create all kinds of shapes.
Screenshot of GFig filter in action
Admittedly, neither of these methods were the most convenient (or discoverable!) option.
The newly added Shape tool lets you make different types of shapes right on the canvas,
including lines, rectangles, ellipses, polygons, stars, and spirals. You can either create
them as a separate vector layer or draw directly on all selected raster layers. You can of
course customize the fill and stroke settings just like our existing vector layers.
Now that we’ve reached this milestone in GIMP development, let’s take a minute to look back
and see how we got here!
According to legend, the first public request for a shape tool was
made a quarter of a century ago on
November 23rd, 2001. The original
requester, Hakon, wanted to be able to draw simple shapes like squares and
rectangles. Other community members suggested using the
Stroke Selection feature to
resolve the initial concern, but the interest in a full-on Shape tool continued.
Over time, the community discussion moved towards having vector layers as a
pre-requisite for shapes. Since there were already methods to create raster shapes,
it was believed that the one true Shape tool should be able to create shapes that
could be non-destructively edited and transformed afterwards. Anything less would be
unworthy of the title!
So the people waited, hoping that a contributor would arise who was pure of heart,
strong of spirit, and able to bring vector layers to the masses.
As foretold by prophecy, in 2006 Hendrik Boom created vector layers as a
Google Summer of Code project.
While the code was functional by the end of the summer, there were still some
missing polish needed before it could be merged into GIMP itself.
Original vector layer GSoC project by Hendrik Boom (copyright unsure) - 2006
Over the years, several developers
such as project co-maintainer Michael Natterer,
Help Manual maintainer Jacob Boerema, Michael Schumacher,
and earlier contributors Martin Nordholts and Gilles Rochefort worked to maintain,
update, and improve the code. Finally, its development was prioritized and completed for the
GIMP 3.2 release!
With the necessary foundation in place, I took my first shot at making a Shape tool
in early spring. I didn’t have much experience with making a new tool, so I
based my early experiments off the Scale tool.
The thinking was that you could place a “unit” vector layer, like a circle with
a radius of 1, on the canvas and then stretch it as the user dragged the cursor.
Pretty simple and straight-forward, right?
Unfortunately, I didn’t really understand how to render previews of the shape on
the canvas. Several failed attempts at real-time updates later, I settled on
creating the path in the background and rendering it
once the user released the cursor.
Not ideal, but it was a start, and it allowed me to quickly draw circles,
squares, and triangles!
Shortly after my first demo, a new contributor expressed interest in creating
a shape tool. I shared my work-in-progress code with them and let them take charge.
As it turned out, that person wasn’t able to continue working on the project.
So in early October, I took another shot at it. Since my earlier attempt, I’d
learned more about how GIMP draws GUI overlays on the canvas. Using the Draw tool
APIs, I finally got a live preview to appear matching the selected shape.
I could even show whether the shape would be filled in or just an outline before
committing it.
Adding lines, rectangles, and ellipses was fairly easy after that - GIMP
already has code to create paths in those shapes. But how could I create
different-sided polygons like triangles and hexagons? After a few attempts
of writing shape-specific functions, I realized GIMP already had working
examples of how to do this generally - in the GFig filter!
Short demo of Shape tool with basic shapes - October 2026 In-canvas: “Apple Cake and Cinnamon Tea”, digital painting by Aryeom - 2013
Reviewing the filter code, it dawned on me that polygons fit within a circle,
so you can easily draw any type by finding n points on the circle and
connect lines between them. Once I realized that stars were just polygons
with extra midpoints that were pulled into the center halfway, those were
quickly added as well. While I probably won’t win an award for these
brilliant mathematical observations, it was fun to figure out and then
see working in GIMP!
Spirals were a little trickier. The GFig spiral algorithm involved places a ton
of points close together and then drawing a line between them all. This worked
(sort of) for painting on raster layers, but it created a laggy vector layer that
was essentially uneditable.
One of the early testers Rich2005 showed me pictures of spirals from a GIMP 2.10
plug-in created by Ottia Tuota. That helped me understand that I could represent
a spiral as a series of connected half-circles that got progressively larger. With
some trial and error, I reimplemented the algorithm so that it created much more
efficient (and editable) spirals!
My primary goal was to get a working version of the Shape tool done and added to GIMP,
providing the essential requested features without letting perfect become the enemy
of good for another 25 years.
That means there’s plenty of things we can do to make it even better!
A wishlist item is to add an option for custom shapes. The preset ones are fine,
but it would be nice if you could also save and use your own created shapes with
this tool. The infrastructure for this is already in place - it’s actually how
the spiral shape is loaded and displayed. However, it’ll require us to create a new
resource type for shapes (like brushes and patterns) because we want to
be able to allow custom parameterized shapes (such as the ability to choose the
number of branches in a star shape, etc.), and since we’re already making
codebase-wide changes with the upcoming project format, I wanted to hold
off for now.
Another planned update is developing a Shape layer concept. Right now the tool
creates regular vector layers. While these work fine, the layer doesn’t retain the settings
afterwards - so you can’t adjust the number of points or the type of shape without editing
it directly in the Path tool. We could
add some metadata to the layer of course, but after discussing with other contributors,
a dedicated Shape layer with actual APIs to handle that automatically would be a lot better.
Right now, the Shape tool lives only in our 3.3 development branch.
We do have development builds
if you’d like to test it out in its current form - along with a bunch of other new and
in-progress features (some of which
we’ve detailed recently,
and some we’ll be sharing more details about soon). If you notice problems or have
suggestions, feel free to let us know.
GIMP’s lack of a dedicated Shape tool is a foundational joke of the Internet.
It has provided material for generations of forum posters and social media commentators.
I’m aware that by adding this feature, we will potentially put thousands of reply guys
out of work.
Now historical meme about GIMP’s lack of a shape tool (copyright unsure)
I have grappled with the consequences of doing this, and did not make the decision lightly.
To help those affected, I have put together a list of transitional jokes you
can make for future GIMP announcements and news posts:
You can comment on how long it took for GIMP to implement a Shape tool.
You can claim that GIMP has finally reached feature parity with MS Paint,
Barneyscan XP, and so on.
Alternately, you can snark that GIMPstill hasn’t reached feature parity
with the aforementioned softwares. Your choice!
You can point out bugs, missing features, or UX/UI issues in the current Shape tool.
(Though please, let us know too so we can fix them!)
Know that we’re here for you in this difficult time. Change can be scary, but I’m confident
we can navigate this brave new post-Shape-tool world, together.
It’s difficult to make a news post about a shape tool without being at least a little
tongue-in-cheek. But sincerely, I hope this new tool is helpful for everyone!
I had a lot of fun working on it, and I think it will make several workflows easier
for users.
I also hope that this story inspires you to try helping with some “big”, unsolved issue
you’re familiar with. A Shape tool in GIMP didn’t happen because I’m some unique,
once-in-a-generation programmer (and if you think that, a quick check on my commit
history should clear the misconception up pretty quick!). I just saw a problem and was
willing to try (and fail) repeatedly until progress was made. Sometimes that’s all it takes.
I’m grateful for all the help and feedback I’ve received while working on this.
GIMP Forum regulars like Rich2005,
MrsP-from-C, Scallact, and sallyanne provided great testing feedback
and suggested some uses for this tool that I hadn’t even considered. Members of the
community such as Anders Jonsson, Denis Ranglov, Jehan, Liam Quin,
Reju, Richard Gitschlag, Roland Taylor, and Win H gave me a lot of
assistance with development and design - it’s always a team effort!
I’ve been a Mac user for a while, before moving back to Linux for various reasons. One of the things that work really well on macOS is its Personal Information Management (PIM) suite. More clearly: the Mail, Calendar and Contacts apps are three distinct apps that work well, and that work well together. I like having three different and focused apps.
I’ve never really found any email client, calendar and contact manager I liked as much as what Apple offers. There are occasionally decent mail apps, or decent calendar apps. There are clients that shove email, calendar, contacts (and often more) into a single app. But nothing really like the Apple PIM suite.
Pimalaya is a PIM engine funded by NLnet. It’s a full suite with an email engine, a calendar one, a contact one, and more. All those engines read and write from a common store with a standardised format: a mere SQLite database plus a blobs directory, that can be carried from one device to another. In other terms, Pimalaya is an engine developers can use to create apps à la Apple Mail, Calendar, and Contacts. Pimalaya’s database is not just portable across devices: Pimalaya itself runs on all mainstream operating systems.
Recently, Pimalaya got its first stable release. I’m quite optimistic about it and what it means for email, contacts, and calendar clients in the near future. Developers can remain fully focused on creating Mail, Calendar and Contacts apps that integrate well with their target platforms, with all the boring and gory bits done by Pimalaya (because email is surprisingly difficult to get right).
I’m looking forward to seeing what the future holds!
word-sys’s PDF Editorv1.12.1 has been released on Flathub. This update focuses on Libadwaita UI customization, cross-tab page workflows, rich text AcroForms, and native SyncTeX LaTeX integration:
Preferences Window & Customizable UI (Ctrl+,): Added a 4-page Libadwaita PreferencesWindow backed by schema-validated atomic JSON persistence. Users can switch between Hamburger Menu presets (Standard, Clean / Minimal, Full (Legacy), Custom) with live menu rebuilding, and customize the sidebar toolbar with drag-and-drop reordering, per-tool visibility switches, workflow presets, and a More… overflow popover.
Cross-Tab Page Drag-and-Drop & Clipboard: Page thumbnails can now be dragged directly between open document tabs—with 350 ms tab-hover auto-switching and Ctrl-drag duplication—while deep-copying uncommitted editor objects. Also introduces a persistent Page Clipboard (Ctrl+Shift+C/V/D) that remains usable after closing the source tab, plus a “Copy Pages to Tab…” dialog supporting custom ranges like 1-3, 5.
Rich Text AcroForm Fields: Implemented ISO 32000-1 Rich Text AcroForms with live Cairo rendering and vector flattening. View Mode text form editing is now powered by a tag-enabled Gtk.TextView with a floating Rich Text mini-toolbar (Bold, Italic, Underline, Strikethrough, font size, and text color) and full Undo/Redo.
SyncTeX Integration & Live Auto-Reload: Added a pure-Python SyncTeX Version 1 parser with single-instance D-Bus CLI forward search, animated Cairo highlight pulses, and Ctrl+Click backward search to external editors. Per-session Gio.FileMonitor watching (with 400 ms debounce and %%EOF readiness checks) automatically reloads recompiled PDFs while preserving page index, continuous scroll offset, and zoom—or prompts with a non-intrusive banner when unsaved edits exist.
Localization & Polish: Completed 7-language translations (en, tr, de, fr, es, it, ru) across all 1,180 UI and Quick Start Guide (F1) strings, upgraded the Flatpak wheels and native export engine to anyconvert 0.1.13, and refined context menu auto-dismissal and post-action Select tool switching.
This was a small patch that fixed some notable issues with Blur my Shell integration and changed the app icon, but also added a long requested feature: blur! There is now window blur support for GTK-4.21.1 (or greater) applications; this includes full window or popover blur for more fine tuning. I hope you all enjoy this new addition and bring it into to your rices!
Rewaita’s development will be paused until Christmas because of my finals, but if there is any feedback or feature requests you have, feel free to leave them on the Github.
Vinyl - music player with the best lyrics support, has been updated on v1.7.0! If be honest it is not the most grand update in Vinyl history. I have some circumstances which hinder my development work. However, after 3 month new version is here!
All changes list:
Fixed bug when bottom player hides last song in playlist.
Fixed icons view for some feature.
Added ability to change behaviour of Backward button. The first click resets the main timeline to the beginning. Only the second click skips to the previous song.
Added ability to save window size, shuffle mod and repeat stage after reopen app.
Added support default shortcuts(Primary+Home, Primary+End) and features(Scroll via touchpad) for main media control scale.
Changed behavior of Open Directory feature: Once the directory is opened, it will be focus on currently playing audio file.
Added opportunity to leave from selection mode with “Esc”.
Improved localization.
Today you can see the new version of the Vinyl on Flathub
For Void Linux users Vinyl also distributes on Community-driven repository blackhole-vl in native xbps package.
RustConn 0.26.5 is out - a connection manager for SSH, RDP, VNC, SPICE, Telnet, Serial, Kubernetes, WinRM, Web and Zero Trust, built with GTK4 and Libadwaita.
Since 0.25:
Read-only session sharing in the browser or in another RustConn over WebTransport, built-in script recording, a remote file editor and a read-only TFTP server (contributed by Naim Shafiev)
Drag tabs between windows or out into a new one, drag a whole split into its own window, open a cluster in its own window, Network Scan, and R / Q / Enter shortcuts on a disconnected session (contributed by roms2000)
View Only toggle for embedded VNC and RDP sessions with an eye marker on the tab, one “Rename Tab…” for every tab, and the connection’s custom icon on its session tabs (contributed by asgitcode-tech)
Proton Pass as a new secret backend, with the CLI available in Flatpak Components and sign-in inside the sandbox (contributed by mrUlrik)
Ctrl+click opens links in the terminal, and an OSC 8 link whose target differs from its text asks before opening (contributed by Naim Shafiev)
Cluster windows with broadcast, per-tile broadcast and Tile Tabs; Duplicate Tab and Duplicate via Wizard…
Scripts: a redesigned Scripts dialog, vendor save-config and inventory scripts, SecureCRT-inspired examples and device reports in rustconn-cli
Terminal search is now a bar at the top of the terminal instead of a modal sheet (reported by thiagoojack), plus a quick terminal theme picker
VNC follows its Jump Host, and Remmina SSH tunnels import as linked Jump Hosts
External TigerVNC gets the stored password, a wrong RDP password asks again, and Telnet auto-fill completes the login
rustconn-cli: Kubernetes settings, export by group or tag, connection tests through jump hosts, and show prints every protocol setting
A large GNOME HIG and accessibility pass over menus, dialogs, wording and shortcuts, and the window no longer waits for the keyring or ssh-agent at start
Thanks to Naim Shafiev, roms2000, asgitcode-tech, mrUlrik, thiagoojack and all the contributors and translators who made this cycle happen. Thanks also to everyone who reports bugs and sends ideas: most of this cycle came from your issues. If RustConn saves you time, you can support its development through the Sponsor link in the repo.
Now Playing Card got a few more updates since last time. Beautiful music controls for the top bar: a minimal animated indicator and a compact card with cover art, seek bar and playback controls for any MPRIS player.
Thanks again for the feature requests, here is what’s new:
A new spectrum shape, Ribbon: the hills of Waves folded over a centre line, so they float in the panel. Low notes swell the middle, high ones the sides.
Rounded ends for the columns, with the peaks drawn as dots.
A Range setting, so dense music like chiptunes no longer keeps the spectrum pinned to the top.
Scroll wheel tweaks: one notch is one step now, the volume step can be set from 1 to 25 %, and the direction can be reversed.
Web apps pinned from Firefox show their own icon instead of Firefox’s.
Older VLC, like the one in Ubuntu 24.04, now gets a card.
Covers from the web show on GNOME 49 and older too.
The spectrum no longer keeps the sound output awake, so multipoint Bluetooth headphones can switch to another device again.
Simple Pleasures is a new extension forked from Essential Tweaks, which, sadly, didn’t get updated for 51, with some extras taken from Unite Shell and elsewhere.
I really missed Essential Tweaks since upgrading to 51. Also, having an extension that’s not on EGO (Unite Shell) was mildly triggering my OCD. So I forked Essential Tweaks, added the bits from Unite Shell that I use, added another extension, cleaned up the code, and then again with direction from Just Perfection, and now here it is for everyone to use.
Here’s what it does:
Behaviour
Show Overview on Startup.
Click to Close the Overview. The search field stays interactive.
Workspace Wraparound.
No Window Attention Notifications. The Overview stays open.
No Favourite Notifications. Silence notifications when adding or removing favourites from the Dash.
Keep Favourites in App Grid.
Primary Input on Lock Screen. Switch to the first input source listed in GNOME Settings when the screen locks. This is useful if you switch between keyboard layouts and want the lock screen to start with a predictable one. Off by default.
Appearance
Screen Corners.
Panel Corners. Bring back rounded corners to the top bar with a setting for Panel Corner Colours.
Top bar application menu
Show Application Menu in the left side of the top bar.
Hide Application Icon.
Maximum Width. Limit the label’s width. Use 0 for no limit.
Shorten Long Titles. Place an ellipsis at the start, in the middle or at the end of a label that exceeds the width limit.
Windows and top bar controls
Hide Window Titlebars. Flatpak apps need read access to the relevant GTK configuration directory. X11 titlebar hiding uses window hints and requires xprop.
Titlebar Actions on the Top Bar. For X11 windows with hidden titlebars.
Show Window Title. Use the focused window’s title as the application-menu label, falling back to the application name.
Show Window Buttons. Put window control buttons in the top bar.
Buttons Placement.
Buttons Theme. Choose from bundled styles or add custom themes under ~/.local/share/simple-pleasures/themes/.
Icon Scaling Workaround. For when button icons look wrong with scaling.
The whole extension is basically a collection of separate files, each doing its own thing, with a common settings interface and the benefit of having one extension instead of many, at least for me. If you use some of these, I hope you enjoy too.
That’s all for this week!
See you next week, and be sure to stop by #thisweek:gnome.org with updates on your own projects!