- Rust 76.6%
- Slint 22.3%
- Shell 1.1%
Tunal
Tunal is a desktop file manager for Linux (Wayland and X11), written in Rust with Slint and Material You styling. It follows the system accent colour and light/dark mode, and animates navigation, lists, menus and dialogs.
Features: tabs, split view, places, file operations with trash, .directory folder metadata, sudo elevation, thumbnails, a music tag editor, a quick audio player, iOS/Android device browsing and SFTP locations. See FEATURES.md for every feature and its status and PLAN.md for the roadmap.
Build and run
cargo run -p tunal
Needs a recent stable Rust toolchain.
Install
bash scripts/install.sh
Builds in release mode and installs the tunal binary, desktop entry and icons under ~/.local (set PREFIX=/some/dir to change that). Folders then open with Tunal from application launchers.
Root operations go through pkexec, which only accepts an installed binary. Put tunal at /usr/bin/tunal and install the polkit policy once (the script prints the line):
sudo install -Dm644 assets/polkit/org.tunal.Tunal.elevated-helper.policy /usr/share/polkit-1/actions/org.tunal.Tunal.elevated-helper.policy
Shortcuts
| Keys | Action |
|---|---|
| Ctrl+T / Ctrl+W | New tab / close tab |
| Ctrl+L | Edit the path |
| Ctrl+D | Bookmark the current folder |
| Ctrl+H | Show or hide hidden files |
| Ctrl+A | Select all |
| Ctrl+C / Ctrl+X / Ctrl+V | Copy / cut / paste files |
| Ctrl+Shift+C | Copy the path |
| Ctrl+Shift+N | New folder |
| F2 | Rename |
| Delete / Shift+Delete | Move to trash / delete for good |
| Space | Play the selected audio file |
| Ctrl+, | Settings |
| Typing in a folder | Filter the list; Esc clears it |
| Drag with Shift / Ctrl / Ctrl+Shift | Move / copy / link at once, without the drop menu |
Crates
| Crate | Role |
|---|---|
tunal |
The application: Slint UI and glue |
tunal-core |
Filesystem model, file operations, location layer |
tunal-theme |
XDG Settings portal and Material colour schemes |
tunal-dirmeta |
.directory reading and writing |
tunal-elevate |
Root operations behind a polkit prompt |
tunal-thumbs |
Thumbnails |
tunal-tags |
Music tags, MusicBrainz and Cover Art Archive |
tunal-player |
Audio playback and waveform data |
tunal-devices |
iOS and Android devices |
tunal-net |
SFTP, ssh config hosts, known_hosts |
Runtime requirements
Everything compiles into the tunal binary. Optional tools only switch their feature off when missing:
ffmpeg/ffprobe: video frame thumbnailsusbmuxd: iOS devices- a polkit agent with
pkexec: root operations xdg-desktop-portal: accent colour and dark mode (a fixed fallback colour is used without it)
Licenses
Tunal is licensed under GPL-3.0-or-later. The bundled icon font Material Symbols Rounded (assets/fonts/) is licensed under Apache-2.0; its license file sits next to the font.
| Filename | Latest commit message | Latest commit date |
|---|---|---|
russh sends the subsystem request without waiting for its reply, so a server
that refuses SFTP, or an account with a forced command that accepts the request
and closes the channel at once, surfaced as the raw "sender dropped" of the
SFTP greeting. Read the reply first and map each case to a plain message
("<host> doesn't offer file access (SFTP)", "... to this account", "didn't
start file access (SFTP) in time"). Sign-in failures now say what was refused
(key, password, a key left locked). Messages name the host as written (the ssh
config alias).
One connect attempt per host at a time: callers that wait for it share its
connection or its error, and a second click on a Network entry while its home
folder is looked up does nothing, so a double click no longer shows two toasts.
Tests: refused subsystem, forced command, channel closed without reply,
concurrent requests sharing one attempt, specific auth errors.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
||
| assets | ||
| crates | ||
| docs | ||
| Plans | ||
| scripts | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CLAUDE.md | ||
| FEATURES.md | ||
| ORCHESTRATOR.md | ||
| PLAN.md | ||
| PROMPT.md | ||
| README.md | ||