• Pl chevron_right

      Peter Hutterer: libinput and button click lock support

      news.movim.eu / PlanetGnome • 20 hours ago • 2 minutes

    *knock* *knock* art thys thung workyng?

    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

    • Pl chevron_right

      Michael Meeks: 2026-12-03 Thursday

      news.movim.eu / PlanetGnome • 21 hours ago

    • 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.
    • Pl chevron_right

      Christian Schaller: Fixing my IKEA kitchen faucet with AI and PrusaCore One

      news.movim.eu / PlanetGnome • 23 hours ago • 3 minutes

    Faucet with small crack on the side

    Faucet with small crack on the side

    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

    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

    Locking C shaped plate with measuring tape


    Final 3d printed parts

    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

    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.

    INDX 4 Color frog test print

    INDX 4 Color frog test print

    • Pl chevron_right

      Colin Walters: AI is not me

      news.movim.eu / PlanetGnome • 1 day ago • 4 minutes

    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.

    • Pl chevron_right

      Thibault Saunier: GStreamer 2.0 at the GStreamer Conference 2026

      news.movim.eu / PlanetGnome • 1 day ago • 9 minutes

    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.

    The session

    The GStreamer 2.0 session had four parts:

    • 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.
    • Let’s solve our long standing issues: time for GStreamer 2.0?, my talk, summarized below.

    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 scheduling design: an executor running pad tasks on the data plane and one control task on the control plane

    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.

    The recordings of the session will be on the conference video archive.

    • Pl chevron_right

      Thibault Martin: I realized that Mitos looks like an appealing successor to Helix

      news.movim.eu / PlanetGnome • 1 day ago • 1 minute

    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:

    1. It hasn’t had a release in about a year and a half, despite having significant improvement merged in its master branch.
    2. 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.

    I’m still using Helix for now, but now that Mitos is available on homebrew I will give it a proper spin.

    • Pl chevron_right

      Thibault Martin: I realized that Multimodal embed models are what AI should be about

      news.movim.eu / PlanetGnome • 3 days ago • 1 minute

    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.

    • Pl chevron_right

      Michael Meeks: 2026-11-30 Monday

      news.movim.eu / PlanetGnome • 3 days ago

    • 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 !? 😟
      A potential Chinese spy ?
    • Pl chevron_right

      GIMP: Development Update - Shape Tool

      news.movim.eu / PlanetGnome • 5 days ago • 8 minutes

    Hi! I’m one of the contributors to GIMP. You might be familiar with my previous work, such as adding support for essential file formats, exploring cutting-edge color space models, and perhaps my greatest achievement, moving the “About” option to the bottom of the Help menu.

    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…

    Picture of Wilber plus an icon with a circle, triangle, and square, CC-BY-SA

    …like implementing a shape tool in GIMP.

    “So, can you draw a circle now?”⁠

    Yes. That was always an option.

    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 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!

    Ancient History⁠

    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.

    Vector Layers⁠

    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 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!

    Proof of Concept⁠

    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.

    First Version⁠

    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!

    Short demo of additional Shape tool features - October 2026
    In canvas: “Webb’s First Deep Field”, NASA - 1997
    In canvas: “Comet Hale-Bopp (C/1995 O1)”, NASA - 2022
    In canvas: “Bruce McCandless II during EVA in 1984”, NASA - 1984

    What’s next?⁠

    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.

    “How can I try it out?”⁠

    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.

    “But what about the memes?!”⁠

    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) 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 GIMP still 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.

    Final thoughts?⁠

    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!