Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/lxqt/xdg-desktop-portal-lxqt

A backend implementation for xdg-desktop-portal
https://github.com/lxqt/xdg-desktop-portal-lxqt

Last synced: about 2 months ago
JSON representation

A backend implementation for xdg-desktop-portal

Lists

README

        

# xdg-desktop-portal-lxqt

A backend implementation for [xdg-desktop-portal](http://github.com/flatpak/xdg-desktop-portal)
that is using Qt/KF5/libfm-qt.

## Building xdg-desktop-portal-lxqt

### Dependencies:
- Build + Runtime
- Qt 6
- KDE Frameworks - KWindowSystem
- libfm-qt
- Runtime only
- Qt 6
- KDE Frameworks - KWindowSystem
- xdg-desktop-portal
- libfm-qt

### Build instructions:
```
$ mkdir build && cd build
$ cmake .. [your_options]
$ make
# make install
```
### Use LXQt filedialog in applications

* Firefox version 98 and higher: Open in the address bar `about:config`, search for "portal" and set both `widget.use-xdg-desktop-portal.file-picker` and `widget.use-xdg-desktop-portal.mime-handler` from `2` to `1`.
* Thunderbird: Preferences > Configuration Editor `widget.use-xdg-desktop-portal` has to be set to `1`.
* Some other GTK applications can be started with `GTK_USE_PORTAL=1 application`
* To use the LXQt file dialog if more desktop-portals are installed:
`~/.config/xdg-desktop-portal/lxqt-portals.conf`
```
[preferred]
default=lxqt
```

A general use of `GTK_USE_PORTAL=1` in `~/.profile` or `/etc/profile` can lead to issues and
is not recommended.