https://github.com/keithdhedger/xdg-desktop-portal-filechooser
A customizable file dialog chooser for use with xdg-desktop-portal
https://github.com/keithdhedger/xdg-desktop-portal-filechooser
cpp qt qt5 qt6 vala xdg-desktop-portal
Last synced: about 2 months ago
JSON representation
A customizable file dialog chooser for use with xdg-desktop-portal
- Host: GitHub
- URL: https://github.com/keithdhedger/xdg-desktop-portal-filechooser
- Owner: KeithDHedger
- License: gpl-3.0
- Created: 2024-11-20T15:08:34.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-03-03T12:20:13.000Z (about 2 months ago)
- Last Synced: 2025-03-03T13:27:48.634Z (about 2 months ago)
- Topics: cpp, qt, qt5, qt6, vala, xdg-desktop-portal
- Language: C++
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
# xdg-desktop-portal-filechooser
A customizable file dialog chooser for use with xdg-desktop-portal.

Default is to use the built in custom filed dialog, you can also select a qt filedialog, with more to come.
####
Based on original code here:
https://github.com/capezotte/xdg-desktop-portal-scriptfm
###
**Installation:**
```console
make
sudo make install````
To select what file dialog to use create xdgfilechooser.conf in ~/.config like so:
````console
#!/bin/bash#USEDIALOG=qtdialog
USEDIALOG=customdialog````
Comment/uncomment your prefered filedialog
#
**To start the portal run:**
```console
SFM_FILE_SCRIPT='/usr/share/filechooserportal/xdgportalscript' '/usr/libexec/filechooser'````
Some where in your start up scripts ( this will vary by distro, probably adding to rc.local will work fine ).
#
**TODO:**gtk chooser.
lxqt chooser.