zocker-160 / SyncThingy

SyncThingy = Syncthing + simple tray indicator
GNU General Public License v3.0
129 stars 1 forks source link

"Background permission revoked" notification on launch on Debian 12 xfce #21

Open ikaikahub opened 1 year ago

ikaikahub commented 1 year ago

When launching SyncThingy there is always a notification for missing background permission despite the application functioning normally and SyncThingy having permission to run in background image The notification in question: image System info: image

zocker-160 commented 1 year ago

This is a duplicate of #6. Make sure you have xdg-desktop-portal and xdg-desktop-portal-gtk installed and running.

It could also be caused by a bug in XFCE, which denies the background permission request despite it being granted already.

There is sadly nothing I can do about this as I have to fully rely on the Desktop Portal implementation used by the DE.

zocker-160 commented 1 year ago

Possibly relevant issues:

https://gitlab.xfce.org/xfce/xfce4-session/-/issues/159 https://gitlab.xfce.org/xfce/xfce4-session/-/issues/181

iihmsunn commented 11 months ago

I'm getting a similar notification on sway, but it doesn't seem to actually affect anything, the app still works just fine. Flatseal has background permission enabled. I assume background permission is not implemented at all in some portals so you need xdg-desktop-portal-gnome (or maybe kde) specifically for it to work properly

voler88 commented 6 months ago

It can also be useful to read the documentation https://flatpak.github.io/xdg-desktop-portal/docs/portals.conf.html to add the necessary customization (for example, in sway it helped me to install xdg-desktop-portal-gnome and add org.freedesktop.impl.portal.Background=gnome to the config).