A desktop-agnostic default application chooser for Linux, built with Rust and GTK 4.
Set default applications for common tasks (web browser, email client, media players, etc.) by reading and writing the XDG mimeapps.list configuration.
- Works on any desktop environment
- 14 application categories (Browser, Email, File Manager, Terminal, etc.)
- Discovers applications from
.desktopfiles - Test applications before setting as default
- Respects XDG base directory specification
Arch Linux:
sudo pacman -S rust gtk4 base-develDebian / Ubuntu:
sudo apt install rustc cargo libgtk-4-dev build-essentialFedora:
sudo dnf install rust cargo gtk4-devel gccopenSUSE:
sudo zypper install rust cargo gtk4-devel gccGentoo:
sudo emerge dev-lang/rust gui-libs/gtkAlternatively, install Rust via rustup.
git clone https://github.com/destructatron/xdg-chooser.git
cd xdg-chooser
cargo build --releaseThe binary will be at target/release/xdg-chooser. Copy it to a location in your PATH:
sudo cp target/release/xdg-chooser /usr/local/bin/xdg-chooserSelect a category from the sidebar, then choose an application to set as the default.
MIT