Tunal/README.md
2026-12-02 16:26:03 -06:00

4.6 KiB

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, USB drives, 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 a release

Downloads are on the Releases page: Linux x86_64 only. The binaries are built on Arch Linux and need glibc 2.43 or newer, so they run on Arch and other up-to-date rolling distributions; older distributions (Debian, Ubuntu LTS, Fedora releases with an older glibc) cannot run them and should build from source.

  • Arch Linux: sudo pacman -U Tunal-0.1.0-arch-x86_64.pkg.tar.zst (package tunal-bin; remove it with sudo pacman -R tunal-bin).
  • Installer (any distribution): put installer.sh next to the downloaded tar.gz or AppImage and SHA256SUMS-0.1.0, then run sh installer.sh (your home, ~/.local, no root) or sh installer.sh --system (/usr/local, sudo only for the copy). It checks the checksum and refuses, in plain words, when glibc is too old. sh installer.sh --uninstall removes it; add --purge to delete settings and data too.
  • tar.gz: unpack it, then ./install.sh inside the folder (same options as installer.sh) and later ./uninstall.sh (--purge for settings and data).
  • AppImage: chmod +x Tunal-0.1.0-x86_64.AppImage and run it. System libraries are not bundled.

The release packages put the polkit policy in share/polkit-1/actions/; polkit only reads it under /usr, so the full administrator prompt works with the Arch package, while ~/.local and /usr/local installs show the generic prompt.

Install from source

Pick one. Each builds in release mode, and running it again updates Tunal.

Arch package (binary, polkit policy, desktop entry and icons under /usr; remove with sudo pacman -R tunal):

cd packaging/arch && makepkg -si

Any distribution, whole system (the same files; asks for the sudo password once; add --uninstall to remove):

bash scripts/install.sh --system

Current user only (under ~/.local, or PREFIX=/some/dir; no password; no polkit policy, so root operations show the generic password prompt; add --uninstall to remove):

bash scripts/install.sh

Remove one kind before installing another: the package won't replace files from --system, and a copy in ~/.local/bin can start instead of the system one.

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
  • udisks2: USB drives, memory cards, discs and other disks in the sidebar
  • 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.