Initial commit: file-browser-picker Paseo plugin
This commit is contained in:
commit
069e1d2082
15 files changed
+5599
No files matched your search
+26
@@ -0,0 +1,26 @@
|
||||
Open a project in Paseo using your operating system's native file browser instead of Paseo's built-in folder dialog, with an automatic host folder browser fallback on headless servers.
|
||||
|
||||
Selecting **Open from file browser** from the sidebar or running **Open project from file browser** in the Command Center opens a native folder selection window on desktop Paseo hosts. Once you choose a directory, Paseo registers it as a project and opens a workspace there. On headless hosts without an active desktop session (such as remote Linux servers or Kubernetes pods), the screen automatically opens a host folder browser so you can navigate directories and open projects directly.
|
||||
|
||||
## Requirements
|
||||
|
||||
- Paseo `>=0.16.1`
|
||||
- For native OS dialogs on Linux or FreeBSD, one of the following on an active desktop session:
|
||||
- `python3` with PyGObject (`gi`) and a running `xdg-desktop-portal`
|
||||
- `kdialog`, `zenity`, or `yad`
|
||||
- On macOS, uses `osascript` (Finder folder dialog, built in).
|
||||
- On Windows, uses PowerShell `FolderBrowserDialog` (built in).
|
||||
- On headless hosts, no external tools are required; the plugin falls back to browsing directories through the daemon host.
|
||||
|
||||
## Settings
|
||||
|
||||
Host-scoped settings are available under **Settings -> Plugins -> File browser picker**:
|
||||
|
||||
- **Picker program**: Choose `auto` (detects a native picker on the host) or force a specific backend (`portal`, `kdialog`, `zenity`, `yad`, `osascript`, `powershell`, or `custom`).
|
||||
- **Start folder**: Initial directory shown when the file browser opens (defaults to the host user's home directory).
|
||||
- **Dialog title**: Title shown in the native folder picker window.
|
||||
- **Custom command**: Shell command used when **Picker program** is set to `custom`. `{dir}` is replaced with the start folder, and the command must print the chosen directory path to stdout.
|
||||
|
||||
## Permissions and limits
|
||||
|
||||
Folder discovery and native pickers run on the machine hosting the selected Paseo daemon, so they browse that host's filesystem.
|
||||
Reference in new issue
Block a user