Skip to content
rylosPublic

About

A fast file manager for the Linux desktop in pure Rust: tabs, dual pane, eza icons and colours, a transfer window with speed chart, pause and conflicts, trash, archives, quick preview

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

ryfile

A fast file manager for the Linux desktop, in pure Rust.

Tabs, dual pane, eza icons and colours, SMB, SFTP and phones, a transfer window that shows its work.
A window in a few milliseconds, about 20 MB of its own memory, zero CPU when idle.

Latest release AUR ryfile-bin AUR ryfile-git License: AGPL-3.0 Rust Wayland and X11 Status: beta

Install · Features · Keyboard · Building

ryfile: the eza-style list with the info panel

ryfile is the file manager of rynas, brought from the browser to the desktop: the same eza-style list, the same transfer engine with its speed chart, pause, limit and conflicts, the same SMB, SFTP and MTP clients written in Rust, the same trash, archives and space analysis, drawn natively with egui. It runs natively on Wayland (Hyprland, Sway, niri, KDE Plasma, GNOME) and on any X11 desktop, and it shares the trash, bookmarks, thumbnails and clipboard with the file managers you already have. English and Italian.

Note

Beta. Every feature listed here works and is tested; expect rough edges until 1.0.

Light, measured

Window on screen ~7 ms with ryfile kept in memory (the default, as Dolphin does); ~0.3 s from cold
Own memory ~20 MB idle (anonymous memory; ~78 MB resident with the GL driver mapped)
CPU when idle 0: it draws only when something changes
Big folders 100,000 files read, stat'ed and sorted in natural order in ~130 ms; the list draws only the visible rows
Copies a reflink first (instant on btrfs, XFS, bcachefs), then copy_file_range in the kernel
Download one 22 MB binary, linked only to the C library: SMB, SFTP, MTP and D-Bus clients built in

Measured on ryfile 0.8.0: Ryzen 7 1800X, NVMe with btrfs, Hyprland on an RTX 2060 SUPER. Own memory is the anonymous memory in smaps_rollup, after the window settled; the rest of the resident size is program code and the graphics driver mapped from disk.

Why ryfile

  • Fast by construction. Rust from top to bottom, folders read on a background thread, lists virtualized, thumbnails decoded by a pool of workers, newest request first.
  • It shows its work. Every copy and move has a window with the current file, both progress bars, speed, average, peak, ETA and a live speed chart; pause it, cap its speed, answer conflicts with both files side by side, verify the copy with xxh3.
  • Looks like ll. The icons and colours of eza: permissions, sizes and dates coloured the way your terminal shows them.
  • Keyboard first, mouse friendly. Type to jump, / to filter, F5/F6 between panes, F2 renames, + selects by pattern, Ctrl+Z undoes; drag and drop, rubber band and context menus as well.
  • A good neighbour. The freedesktop trash, the GTK bookmarks, the shared thumbnail cache, mimeapps.list and the Wayland clipboard: copy in ryfile, paste in Dolphin or Nautilus, and the other way round.
  • Servers built in. SMB (Windows, Samba, Synology), SFTP with your ~/.ssh/config, keys and agent, and Android phones over MTP: in pure Rust, no gvfs, no kio, no FUSE. Films and music on a server play at once, without being fetched first.
  • Yours. No account, no telemetry. Free software under the AGPL.

Features

Browse tabs, dual pane, a list whose folders open in place, a grid with thumbnails, Miller columns, breadcrumbs or a typed path, history, hidden files, natural sort, view and sort remembered for each folder
Find fuzzy filter as you type, search in the subfolders (substring or glob), flat view of every file below a folder
Servers SMB 2/3 with signing and encryption, SFTP (agent, keys, password, host keys pinned), MTP phones; saved connections sealed with AES-256-GCM; F4 opens ssh in an SFTP folder; files open where they are
Transfers copy and move with reflink and copy_file_range, conflicts (ask, overwrite, skip, keep both, newer), pause, speed limit, xxh3 verification, two at a time and a queue
Trash the freedesktop trash on every drive: move, browse, restore, delete, empty
Rename in place, or many at once with a mask ([N] [E] [C] [D] [T] [P] [N2-5]), find and replace, case, live preview; swaps and chains work
Archives opened like folders, on servers too (zip, 7z, rar, tar.*, iso, jar, cab), password protected ones included; compress to zip or tar.zst, extract through libarchive, unrar or 7-Zip
Preview Space opens photos (zoom, pan, EXIF orientation, HEIC), text and code with syntax colours and selectable text, the facts of anything else; a built-in editor
Info size (folders on request), dates, permissions, owner, MIME type, EXIF, video and audio codecs, SHA-256 / SHA-1 / MD5 / XXH128
Space concentric rings of what takes room, hard links counted once, other mounts and read-only snapshots left out
Desktop open with the default or any application, default applications and file types as in KDE, org.freedesktop.FileManager1 ("show in folder"), the Open and Save dialog of other applications (xdg-desktop-portal), terminal here, mount and eject drives, desktop notifications
Sidebar favorites, places, drives and connections reordered by dragging, renamed, hidden, with icons, colours and descriptions of their own; SMB shares with their comments
Undo renames, new folders, moves, copies (to the trash) and deletions (restored from the trash)
Dual pane with the thumbnail grid
Dual pane: grid with thumbnails on one side, the list on the other
The transfer window
Transfers: speed chart, ETA, pause and speed limit
Quick preview of source code
Quick preview: Space, with syntax colours
Space analysis
Space analysis: what fills a folder, at a glance

Screenshots from a demo home folder.

Install

Arch Linux and derivatives, from the AUR:

yay -S ryfile-bin    # the prebuilt release
yay -S ryfile-git    # built from the latest commit

Any distribution: each release has a tarball with the binary, the desktop file and the icon, and its SHA256SUMS:

tar xf ryfile-<version>-x86_64-linux.tar.gz
cd ryfile-<version>-x86_64-linux
sudo install -Dm755 ryfile /usr/local/bin/ryfile
sudo install -Dm644 ryfile.desktop /usr/local/share/applications/ryfile.desktop
sudo install -Dm644 ryfile.svg /usr/local/share/icons/hicolor/scalable/apps/ryfile.svg

Optional helpers, used when present: udisks2 (mount and eject), ffmpegthumbnailer (video thumbnails), ffmpeg (codecs in the info panel), unrar and 7zip (more archives), libnotify (notifications). bsdtar from libarchive extracts everything else.

To make it the default file manager, choose it under ☰ → Default applications and file types… → File manager: ryfile takes inode/directory and org.freedesktop.FileManager1 (what browsers call to show a download in its folder). By hand:

xdg-mime default ryfile.desktop inode/directory
mkdir -p ~/.local/share/dbus-1/services
printf '[D-BUS Service]\nName=org.freedesktop.FileManager1\nExec=/usr/bin/ryfile --dbus\n' \
  > ~/.local/share/dbus-1/services/org.freedesktop.FileManager1.service

Open and save dialogs

ryfile can also be the Open and Save dialog of other applications. ryfile --chooser is a file chooser for xdg-desktop-portal, which Firefox, Chromium and every Flatpak ask for their dialogs; the packages install it, and it is used only when you choose it. On Hyprland, put this in ~/.config/xdg-desktop-portal/hyprland-portals.conf (on another desktop, in <desktop>-portals.conf, with that desktop's own portal first):

[preferred]
default=hyprland;gtk
org.freedesktop.impl.portal.FileChooser=ryfile

Then systemctl --user restart xdg-desktop-portal. A dialog is then a ryfile window with one pane and a bar along the bottom: the name to save under, the application's filters (Images, All files), Cancel and the button that answers. Enter on a file or a double click picks it (saving: takes its name), Ctrl Enter answers from anywhere, Escape or closing the window cancels; saving over a file asks first. Applications need files on this computer: a server's folder answers only through a share mounted here.

  • The choices an application adds (an encoding, a check box) sit above the name; opening has "Open read-only".
  • Recent in the sidebar lists the files used lately (recently-used.xbel, shared with GTK and KDE applications), filtered like any folder; the files a dialog answers with are added to it.
  • / or ~ typed in the list (or Ctrl L) types a path, completed as you type: Tab completes, the arrows walk the names offered. A path to a file picks it. In the name to save under, a path ending in / (~/, ../, Documents/) goes to that folder.
  • Alt N goes to the name, Ctrl Shift N makes a folder, Ctrl H shows hidden files, Space previews the file under the cursor.
  • Choosing another filter while saving changes the name's extension to the filter's.
  • Files dropped on the dialog are gone to: a folder opens, a file is selected in its folder (saving takes its name).
  • Choosing a folder lists folders only; "Show files" adds the files, greyed, to see what is inside.

Its windows have their own app id, ryfile-chooser, and open at 900×600: a window rule of the compositor on that class floats them as dialogs. A dialog is attached to the window of the application that asked (xdg-foreign on Wayland, a transient window on X11), so the compositor keeps it over that window; several applications can each have one open at once. Each application's dialog opens again in the folder it was last answered in, at its last size and with its last filter (kept in ~/.local/state/ryfile/chooser.json), unless the application names a folder itself; without a title of its own it is called after the application ("Open file — Firefox").

Left out: on Wayland the dialog is attached to the application's window but not modal (winit keeps the toplevel that xdg-dialog needs).

Keyboard

Enter · Backspace · Alt ← → open · parent folder · back and forward
letters · / or Ctrl F jump to a name · fuzzy filter; Enter in the filter searches the subfolders
→ · ← · Ctrl 1 2 3 open · close a folder in place · list, grid, columns
Space quick preview
Ctrl T · Ctrl W · F3 · Tab new tab · close tab · dual pane · the other pane
Ctrl C X V · Ctrl Shift V copy, cut, paste · paste with verification
F5 · F6 (Shift to verify) copy · move to the other pane
F2 · F7 · Del · Shift Del rename (batch with several items) · new folder · trash · delete
+ · - · Ctrl Shift D select / deselect by pattern · select the differences between panes
Ctrl Z · Ctrl H · Ctrl I · F4 undo · hidden files · info panel · terminal here

F1 shows them all. Drag and drop moves on the same drive and copies to another; Ctrl copies, Shift moves, Alt asks.

Building

Rust 1.90 or newer:

git clone https://github.com/rylos/ryfile
cd ryfile
cargo build --release
./packaging/install.sh "" /usr/local     # as root

The settings live in ~/.config/ryfile/config.toml; the tabs of the last session come back at the next start.

License

ryfile is free software under the GNU AGPL v3.0 or later, like rynas, which it shares code with. The file icons and colours come from eza (MIT) and the Symbols Nerd Font (MIT).

About

A fast file manager for the Linux desktop in pure Rust: tabs, dual pane, eza icons and colours, a transfer window with speed chart, pause and conflicts, trash, archives, quick preview

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages