Latest / Developer tools

xdgctl

github.com · Open source · Maintained

Terminal UI for choosing default Linux desktop applications

Visit github.com ↗Share

  • xdg
  • default application
  • mime type
  • winc
  • xdg default apps
  • linux default application
  • change default browser linux
Stars
259
Forks
3
Open issues
2
Last commit
Releases
2
Found
10 months ago

GitHub figures as of . They are context, not a ranking.

xdgctl is a C terminal user interface for managing XDG default applications on a Linux desktop, so you can see and change which app opens each file type. The author offered to answer questions about it in the post.

Repository description on GitHub: “TUI for managing XDG default applications”

What it does

  • Browse file categories such as browsers and text editors and set defaults
  • Marks the current default application with an asterisk
  • Navigate with arrow keys, set a default with Enter and quit with Esc

Good for

  • Change the default browser or text editor from the terminal
  • See which app opens each file category on a Linux desktop

Suits: Linux desktop users who manage defaults from the terminal.

Worth knowing: Building from source needs the GLib and GIO development libraries.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw xdgctl on , when mitjafelicijan posted it to Show HN. The oldest published release on GitHub is v1.0, dated . Its first tagged release came 7 days after it was found. 2 releases have been published in total; the latest is v1.1 ().

Day-7 and day-30 updates

Day 7 1 release shipped

  • 1 release in the first 7 days: v1.0 (31 Jan 2026)
  • Show HN discussion at check time: 138 points, 44 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: v1.0 (31 Jan 2026)
  • Show HN discussion at check time: 138 points, 44 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (2 in total, busiest month 1).
  1. Repository created on GitHub: mitjafelicijan/xdgctl
  2. Found: mitjafelicijan posted it to Show HN. Show HN
  3. Release v1.0
  4. Release v1.1
  5. Day-7 check recorded by Kip (details)
  6. Day-30 check recorded by Kip (details)

Quick answers

When was xdgctl released?
Its first tagged release on GitHub is dated 31 Jan 2026. Kip found it on Show HN on 25 Jan 2026.
Is xdgctl open source?
Its source is public on GitHub at mitjafelicijan/xdgctl under the BSD-2-Clause licence.
What does xdgctl run on?
Linux, Command line.
Is xdgctl free?
It is open source, so the code is free to read and run; check the licence for terms.
Is xdgctl still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorymitjafelicijan/xdgctl
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-46753078. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.