84 lines
3.1 KiB
Markdown
84 lines
3.1 KiB
Markdown
# Tunal
|
|
|
|
Tunal is a desktop file manager for Linux (Wayland and X11), written in Rust with [Slint](https://slint.dev) 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](FEATURES.md) for every feature and its status and [PLAN.md](PLAN.md) for the roadmap.
|
|
|
|
## Build and run
|
|
|
|
```
|
|
cargo run -p tunal
|
|
```
|
|
|
|
Needs a recent stable Rust toolchain.
|
|
|
|
## Install
|
|
|
|
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
|
|
- 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.
|