All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

xdgctl: Terminal Interface for Managing XDG Default Applications

By

mitjafelicijan

4mo ago· 2 min readenCode

Summary

xdgctl is a Terminal User Interface (TUI) application for managing XDG default applications, allowing users to view and set default applications for different file categories without using xdg-mime directly. The tool is built with C using GLib/GIO and termbox2 libraries, and features keyboard navigation controls for switching between categories and applications, setting defaults, and quitting the application. The article provides technical documentation including prerequisites for building the software and navigation controls.

Key quotes

· 5 pulled
xdgctl is a TUI for managing XDG default applications. View and set defaults for file categories without using xdg-mime directly.
Built with C using GLib/GIO and termbox2.
Enter: Set selected application as default for current category
Arrow Right/Tab: Switch from category list to application list
Arrow Left: Switch back to category list
Snippet from the RSS feed
TUI for managing XDG default applications. Contribute to mitjafelicijan/xdgctl development by creating an account on GitHub.

You might also wanna read