A desktop file manager for Linux (Wayland and X11), written in Rust with Slint and Material You styling.
  • Rust 76.6%
  • Slint 22.3%
  • Shell 1.1%
Find a file

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 thumbnails
  • usbmuxd: 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.

Repository files (latest commit first)
Filename Latest commit message Latest commit date
astar76 1d047eeee8 net: wait for the sftp subsystem reply and name servers without SFTP
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 <noreply@anthropic.com>
2026-11-19 07:17:39 -06:00
assets S037: desktop entry, install script, final docs 2026-11-19 05:18:34 -06:00
crates net: wait for the sftp subsystem reply and name servers without SFTP 2026-11-19 07:17:39 -06:00
docs docs: handoff after overnight run (S033, S034, S037 done; S035 review and S036 checks open) 2026-11-19 05:19:20 -06:00
Plans S036: real-world checklist (checks pending) 2026-11-19 05:18:34 -06:00
scripts S037: desktop entry, install script, final docs 2026-11-19 05:18:34 -06:00
.gitignore S000: workflow scaffold 2026-11-18 08:55:46 -06:00
Cargo.lock S033: tests for thumbs, tags, MusicBrainz, player, ssh, SFTP and MTP 2026-11-19 04:58:55 -06:00
Cargo.toml S032: tests for core, ops, trash, dirmeta and the elevation protocol 2026-11-19 01:00:47 -06:00
CLAUDE.md S035: motion audit, idle frame check, review PNGs (review pending) 2026-11-19 05:15:10 -06:00
FEATURES.md S037: desktop entry, install script, final docs 2026-11-19 05:18:34 -06:00
ORCHESTRATOR.md S000: workflow scaffold 2026-11-18 08:55:46 -06:00
PLAN.md plans: Tunal phases 1-13 (S001-S037) 2026-11-18 09:18:19 -06:00
PROMPT.md S000: workflow scaffold 2026-11-18 08:55:46 -06:00
README.md S037: desktop entry, install script, final docs 2026-11-19 05:18:34 -06:00