elio portal enableDetects your terminal, enables FileChooser routing, and restarts xdg-desktop-portal to apply the change.
Using elio as your XDG FileChooser portal for desktop applications.
XDG DESKTOP PORTAL
Available on Linux and FreeBSD.
elio portal enableDetects your terminal, enables FileChooser routing, and restarts xdg-desktop-portal to apply the change.
Run elio portal enable in each desktop session where you want elio to handle file chooser requests.
If you installed Shell integration before 1.13.0 update it by running elio shell install again and restarting your shell so it passes elio portal commands through.
MANAGEMENT
elio portal statusShows portal metadata and the active FileChooser routing.
elio portal disableRestores FileChooser routing for every desktop configuration managed by elio.
TERMINAL
To change the terminal used, set it in config.toml.
[portal]
terminal = "kitty"Run elio portal enable afterward to restart xdg-desktop-portal and apply the change.
Supported terminals:
kittyghosttyfootfootclientweztermalacrittyriokonsolegnome-terminalxtermelio portal enable only saves a detected terminal when you have not set one, so it will not override a terminal you set.
WINDOW RULES
Many tiling window managers support per-window rules. The chooser identity depends on the terminal: it may expose the app ID/class io.github.elio_fm.elio.filechooser, the title elio File Chooser, or both.
This example uses separate rules for both identifiers, so the chooser is floating and centered regardless of which supported terminal launches it.
-- Matches the app ID/class.
hl.window_rule({
name = "elio-file-chooser-class",
match = { class = "^io\\.github\\.elio_fm\\.elio\\.filechooser$" },
float = true,
center = true,
})
-- Matches the window title.
hl.window_rule({
name = "elio-file-chooser-title",
match = { title = "^elio File Chooser$" },
float = true,
center = true,
})