Skip to content

check-xdg-portal: Add helper to check xdg-desktop-portal

Ludovico de Nittis requested to merge wip/denittis/portal_helper into master

With this helper we are able to check if xdg-desktop-portal is currently installed and working. It also checks if there is at least a portal backend implementation.

It returns 0 if xdg-desktop-portal is available and there is at least a backend implementation. It returns 1 if something is missing or an error occurred.


Currently I'm just adding the helper without using it yet because I wanted to gather some feedback first. Given the fact that there was even a proposed idea of implementing our own IPC service to avoid xdg-desktop-portal entirely.

/cc @smcv

Edited by Ludovico de Nittis

Merge request reports

Loading