Skip to content

Commit

Permalink
docs: Add caveat on portal config file locations
Browse files Browse the repository at this point in the history
Add a caveat on portal file locations to CONTRIBUTING.md as Meson's
defaults will cause xdg-desktop-portal to look for portal files in
locations that are not used by distributions like Arch and Fedora.
  • Loading branch information
aiddya authored and GeorgesStavracas committed Oct 14, 2023
1 parent 6a29509 commit c9f4970
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ $ meson setup . _build
$ meson compile -C _build
```

Some distributions install portal configuration files in `/usr`, while Meson
defaults to the prefix `/usr/local`. If the portal configuration files in your
distribution are in `/usr/share/xdg-desktop-portal/portals`, re-configure
Meson using `meson setup --reconfigure . _build --prefix /usr` and compile
again.

### Running

xdg-desktop-portal needs to own the D-Bus name and replace the user session
Expand Down

0 comments on commit c9f4970

Please sign in to comment.