# fix: Linux chooses and opens files through the desktop portal · clo/snowbound

[View on GitCafe](https://git.cafe/clo/snowbound/commit/597b520398003c06d80386f49e48cf0f4de4cb18)

Repository: [clo/snowbound](https://git.cafe/clo/snowbound)

Visibility: public

Requested revision: 597b520398003c06d80386f49e48cf0f4de4cb18

Requested commit: 597b520398003c06d80386f49e48cf0f4de4cb18

Commit: 597b520398003c06d80386f49e48cf0f4de4cb18

Tree: b4db57d6d9a23b73a7ba04ec76fa0bdae09f0bb4

Author: clover caruso

Committer: clover caruso

## Message

```
fix: Linux chooses and opens files through the desktop portal

Fedora Silverblue and other image-based GNOME systems ship neither zenity
nor kdialog, so Open Notebook, Insert Picture, Attach File, Save As,
Export as PDF and the other file pickers did nothing there. They now ask
the FileChooser portal, which also takes the button label and starting
folder that zenity ignored, and fall back to zenity or kdialog where no
portal answers. Opening a notebook folder, an attachment, a recording or
a link goes through the OpenURI portal before xdg-open. Printing shares
the portal request code.

Assisted-by: claude-opus-5.5

```

## Parents

- [a19933d46506ade819b3ceb6e7d68fd97f13b832](https://git.cafe/clo/snowbound/commit/a19933d46506ade819b3ceb6e7d68fd97f13b832?format=markdown)

[Source at this commit](https://git.cafe/clo/snowbound/tree/597b520398003c06d80386f49e48cf0f4de4cb18?format=markdown)
