flea README

项目的 README,来自 github.com/thisisgm/flea。合并为一个 markdown 文件:README.md。

Flea

Flea

The fastest GUI file manager on Omarchy.

Built for Omarchy

Install · Views · Performance · Keyboard · Releases

Flea 0.4.0 cycling through eight dark Omarchy themes at different transparencies, with a photo in the preview column

Install

Flea is available only from the Omarchy Package Repository. Install it and make it your default file manager, file chooser and the app opened by Super+Shift+F:

omarchy pkg add flea && flea --default

Run flea --default from a terminal in your session so file dialogs switch at once. flea --default off undoes it, and Settings > About has the same switch. To try Flea without changing your defaults, run only omarchy pkg add flea. Updates come with omarchy update.

On an AUR flea-bin or flea-git install, run this and answer y when pacman asks to remove it:

sudo pacman -S flea
File chooser only, development build and removal

Use Flea for portal Open/Save dialogs without changing your default file manager:

flea --picker

To try unreleased changes from main, build Flea from source.

Before removing Flea, undo its desktop integration, then drop the package:

flea --default off
omarchy pkg drop flea

Installation details cover dependencies, desktop integration and removal.

Views

List for details, grid for photos and clips, columns for browsing with a preview, and two panes (Ctrl+4) for two folders side by side. Flea can remember the view for each folder.

Grid view with image and video thumbnails Columns view with the preview column and file details

Space opens Quick Look in any view. Page through a PDF, play media, zoom an image with + and -, or look inside an archive, ISO image or package.

PDF preview with page navigation

The shelf in the Omarchy bar holds files you send to it from any menu. Drag them out into any app, or pin the ones you reuse.

Dragging moves files within a device and copies them across devices. Hold Ctrl to copy, Shift to move, or both to link. Drop files on Trash in the sidebar to trash them, and z brings them back. Drag a file into a terminal to paste its path.

The shelf card open over Flea, with thumbnails, pins and the latest recordings An iPhone camera roll browsed over AFC, with HEIC thumbnails and a preview

Transparency follows Omarchy's Window Transparency (Trigger > Appearance > Window Transparency). To set Flea's own, give a value from 0 to 1 in a theme's shell.toml, or in ~/.config/omarchy/shell.toml for every theme:

[flea]
background-alpha = 0.34

Performance

Measured on 2 November 2026 with the 0.4.0 candidate at 8a7fd82f, before the final release cut. Tables show medians; full observed ranges, versions and methodology are recorded with the data.

100,000 files

One folder of empty files on btrfs, three runs per app. Flea and Strata use List; the other apps use their installed icon views.

File manager Version First window Settled PSS CPU
Flea 0.4.0 319 ms 0.75 s 63.0 MiB 0.53 s
Dolphin 26.08.2 791 ms 5.25 s 235.1 MiB 8.18 s
Nautilus 51.1.0 931 ms 20.33 s 337.2 MiB 21.67 s
Nemo 6.6.4 928 ms 22.61 s 479.3 MiB 26.03 s
PCManFM 1.4.0 479 ms 35.29 s 124.4 MiB 24.25 s
Strata 1.1.1 835 ms 1.80 s 159.1 MiB 1.83 s
Thunar 4.20.10 601 ms 19.71 s 394.9 MiB 19.82 s

Flea's samples are fresh; unchanged rival measurements were reused after matching the machine, session, versions and fixture. First window means compositor registration; settled means 500 ms of process-tree CPU quiet. Neither measures paint or input readiness.

Search across one million files

Thirty measured runs per engine, plus two five-round noise batches.

Search engine Version First result Backend PSS after indexing
Flea 0.4.0 166 ms 75.7 MiB
nd 0.2.1 1617 ms 145.6 MiB
fff 0.11.1 3172 ms 221.2 MiB
FSearch 0.3.0 4938 ms 157.0 MiB

The clock runs from backend searchopen to the first nonempty current-generation IPC rows. Process creation and initial listing are outside it. These are backend measurements, not GUI-open timings. Flea's mixed typed-first quality still trails nd and fff; the results include those losses.

Compared with 0.3.12

Three interleaved cold runs per build on the same minipc.

Metric 0.4.0 0.3.12
First window 348 ms 525 ms
GUI + backend PSS 58.6 MiB 88.4 MiB
Resident GPU memory 83.4 MiB 142.7 MiB

The baseline is a frozen copy of the 0.3.12 package. PSS and GPU memory are sampled three seconds after mapping.

Media

The 2,000-entry fixture contains 1,800 thumbnailable media files and 200 text controls. Flea's first-window, settled and CPU values have three valid samples. Memory has only two, and its observed use is higher than Thunar's and Nemo's. Incomplete measurements for the other apps prevent a complete media ranking. Recorded values and gaps.

Data and provenance · Method · Historical results

Keyboard

Press ? for the full keymap, or , to change settings.

Action Keys
Move / parent / enter j k / h / l
Open with the default app Enter
Quick Look Space
Select / extend selection v / Shift + arrows
Copy / cut / paste y x p, or Ctrl+C Ctrl+X Ctrl+V
Rename / trash / undo / redo r or F2 / dd or Delete / z / Ctrl+Shift+Z
Tag the selection T, then 1 to 7
New folder Ctrl+Shift+N
Search / filter the list f / /
Enter a path, or jump to a folder by name : or Ctrl+L, then a path or a name
List / columns / grid / two panes Ctrl+1 / Ctrl+2 / Ctrl+3 / Ctrl+4
Next / previous area Tab / Shift+Tab
New tab / close tab / switch tab t / w / 1 to 9
Open terminal / context menu Ctrl+T / m
Show hidden files .
Zoom an image in Quick Look / fit + - / 0

The Windows preset uses Ctrl+Shift+1/2/3/4 for views and Ctrl+Y for redo. See the full key table for preset bindings and pointer actions.

Scripts and agents

Every Flea window is titled Flea. To find which folder each one shows, ask it over IPC by its process id:

for p in $(hyprctl clients -j | jq -r '.[] | select(.class == "com.thisisgm.flea") | .pid'); do
    echo "$p $(flea ipc --pid "$p" call flea path)"
done

To open a folder and know when a window shows it, run flea /path/to/folder, then poll flea ipc --pid PID call flea path until it prints that path.

Build

Requires Omarchy and Rust. See installation details for runtime and optional dependencies.

cargo build --locked --release --workspace
./target/release/flea --gui

Pass a directory to open it, or --select <path> to reveal a file.

./tests/run-all.sh runs the headless suites, and the protocol guide documents the backend.

See PLUGINS.md to write, validate, install and debug a Flea plugin, with a working example for each kind.

Support

If this saved you an afternoon, you can sponsor me on GitHub or buy me a coffee.

Buy me a coffee Greptile: The War on Bugs

Licence

MIT.

The AirDrop plugin is built on owly by Tristan (t4t5), MIT, which Flea runs as a separate program.

The language marks in ui/js/LangMarkPaths.js use simple-icons geometry (CC0 1.0) and remain their owners' trademarks.

flea (thisisgm/flea)

正在搜索数据库…

1.3K ·GitHub
这是什么?Flea 是一款专为 Omarchy 打造的快速、键盘优先的 GUI 文件管理器,采用 Rust 后端搭配 Quickshell(QML)界面,并跟随你的 Omarchy 主题。
这是独立应用还是某种插件?它是一个独立的桌面应用,旨在取代你的系统文件管理器和文件选择对话框,不是其他应用的插件。
怎么安装它并把它设为默认文件管理器?通过 Omarchy 更新/安装它(GitHub 上为 0.1.6 版本,OPR 包待定);安装后,你可以把它设为默认文件管理器、Open/Save 对话框的文件选择器,并把它绑定到 Super+Shift+F。
构建之前需要安装什么?你需要 Omarchy 环境本身、0.3.1 或更新版本的 Quickshell,以及用于构建后端的 Rust。
还有缺失的功能吗?目前还没有终端/TUI 模式,而且它绑定在 Omarchy/Hyprland/Wayland 技术栈上,而不是通用的跨桌面 Linux 文件管理器。
它能在任何 Linux 桌面上运行,还是只能在 Omarchy 上?它是专为 Omarchy(基于 Hyprland 的 Wayland 环境)构建的,并依赖 Quickshell,因此不是通用的跨桌面 Linux 文件管理器。
与其他 Linux 文件管理器相比,Flea 有多快?在 README 自带的 10 万文件基准测试中,Flea 在 1.21 秒内完成并稳定,占用 88 MiB,远超 Nautilus(79.83 秒)和 Nemo(22.23 秒);该结果来自作者自己的机器和工作负载,并非独立测试。
Quick Look 是做什么的?按下空格键会打开一个预览窗格,可预览图片、PDF、文本、媒体和压缩包内容,在三种主视图的任意一种中都能查看。
它能浏览哪些网络和云协议?Flea 支持 SMB、SFTP、FTPS、WebDAV、NFS、Dropbox 和 Taildrop,用于远程和共享文件访问。
我可以自定义快捷键吗?可以 —— 按 ? 可查看完整键位表,你可以在 Default、Vim、Mac 或 Windows 键位预设之间切换(Windows 预设会把视图切换快捷键改为 Ctrl+Shift+1/2/3)。
作者
thisisgm
大小
98.1 MB
星标
1.3K
时长
2个月
提交 · 90 天