The Linux Stack
Toolkits for building Linux apps.
Below are the most viable options (according to me) for desktop application development on linux. These are stable, well-documented and have an active community.
1. GTK
GTK is the native toolkit for the GNOME desktop. If you want your app to feel like a first-class citizen on distros like
Ubuntu or Fedora, this is the definitive choice. Written in C, it utilizes
the GObject system to provide an object-oriented framework and provides bindings for multiple languages.
gtk-rs: The official Rust bindings. It offers C-level performance with Rust’s safety. However, it requires managing low-level plumbing, often leading to significant boilerplate.
relm4: An abstraction layer built on
gtk-rs. Inspired by elm, it provides a structured, declarative architecture and uses macros to eliminate tedious parts of GTK development.
Apps : Fragments, Amberol, Warp, Pika Backup, Podcasts
Perfect Fit for linux-first apps targeting GNOME desktop.
2. Qt
Qt is the native toolkit
for the KDE Plasma desktop and is widely used for both
lightweight utilities and large-scale applications due to its comprehensive
framework and cross-platform capabilities. It is written in C++ and uses a Meta-Object System to
handle communication between UI components.
Qt for C++: This is the raw version of the library. It provides high-level abstractions over OS APIs while maintaining good performance.
Qt for Python: This offers the official Python bindings for Qt, which enables you to use
Pythonto write your Qt applications.
Apps : VLC, FreeCAD, Onlyoffice, Transmission, Filezilla
Perfect Fit for professional cross-platform applications.
3. Libcosmic
libcosmic is the native UI toolkit for the COSMIC desktop environment developed by System76.
Unlike GTK or Qt, it is built entirely in Rust and designed for a modern,
wayland-first linux experience. It avoids C-based foundations and instead provides
a fully Rust-native, type-safe UI stack.
Core framework: Provides ready-to-use widgets, layout systems, theming, and seamless integration with COSMIC services.
Foundation: Built on Iced, a declarative GUI library inspired by elm, enabling a reactive, state-driven architecture with minimal boilerplate.
Apps : COSMIC Files, COSMIC Edit
Perfect Fit for linux-first apps targeting the COSMIC desktop.
4. Web Stack
Why not use web technologies to build linux apps?
Building apps with web technologies introduce a dual-architecture model.
Instead of a single, cohesive stack (as with GTK or Qt), you maintain two
separate layers.
- A frontend (
React,Vue,Svelte) responsible for UI and styling. - A backend (
Rust,Go) handling logic and system integration.
This approach benefits from a massive ecosystem of frontend tools, a large developer pool, and rapid UI iteration cycles.
Tauri: A lightweight, security-focused option in the space. It uses
Rustfor the backend and leverages the system’s native web engine instead of bundling a heavy browser like Chrome.Wails: Similar architecture to Tauri, but uses
Goinstead ofRust. It is highly productive and significantly easier, making it ideal for the rapid development for developers who preferGooverRust.
It’s worth noting that while lightweight, they still rely on the system’s WebKitGTK on linux, which can occasionally have rendering quirks compared to Chrome.
Apps (Tauri) : Smooth CSV, Readest, Rapid RAW, NeoHtop, Yaak
Apps (Wails) : Tiny RDM, WailBrew, Zen Desktop, Dynamo Lens, WhoDB
Perfect Fit for web devs moving to desktop, SaaS desktop apps, Rapid MVP.
5. Flutter
Flutter is a framework for building natively compiled,
multi-platform applications from a single codebase. It is mature on mobile and
steadily growing on desktop. It uses the Dart programming language, which is
designed specifically for fast UI development with a reactive programming style.
Unlike GTK or Qt, Flutter does not use system widgets. Instead, it renders its UI
using its own engine, ensuring consistent appearance and behavior across all
linux distributions.
A notable advantage for linux is its adoption by Canonical for Ubuntu system apps, which strengthens flutter’s long-term viability on the platform.
Apps : Ubuntu App Center, Ubuntu installer, AppFlowy, Invoice Ninja
Perfect Fit for highly branded, design-consistent UI across platforms.
6. Kotlin Multiplatform
Kotlin Multiplatform (via Compose Multiplatform) brings a modern, declarative UI model to desktop development using Kotlin. It extends the concepts of Jetpack Compose beyond Android, enabling a unified approach to building applications across platforms. Although, Compose Multiplatform desktop is still maturing.
Unlike traditional native toolkits, it renders UI using Skia, giving it full control over appearance and consistency across operating systems. Applications typically run on the JVM, while still packaging as native desktop apps.
Apps : Jetbrains Toolbox
Perfect Fit for Java/Kotlin teams building cross-platform desktop apps.
7. Game Engines & Graphics Libraries
While non-traditional, desktop applications can be built using game-oriented tools such as Godot, or lightweight graphics libraries like Raylib, SDL2, GLFW. These approaches provide direct control over rendering and input, enabling highly custom and visually distinctive interfaces.
This model differs from traditional UI development. Instead of using prebuilt widgets, you work within a render loop and build or integrate your own UI system, handling layout and interactions manually. This makes development more flexible, but also more complex.
Apps : Pixelorama(Godot), Aseprite (SDL2), Lite XL(SDL2)
Perfect Fit for game editor, simulation tools, developer tools.
That’s All Folks
I had a free weekend and thought I’d finally try building a linux desktop app, something I’ve always found interesting. That quickly turned into spending the entire day going down the rabbit hole of frameworks and tooling.
There are honestly a lot of tempting options, but if I had to pick one to try, it would probably be Relm4, Libcosmic or Tauri.
So what is the best UI tool kit to develop apps on linux? Well, like most things in tech, the answer is “it depends”. Whatever floats your boat.
Byeee.
> cd ..