Okay so i leave xdg-desktop-portal-gnome uninstalled then. Firefox working okay as that is the only browser i want to use. I do have Chromium installed and it’s not affected by it but i prefer Firefox.
Sure.
You only need:
on Cinnamon.
Isn’t that what you said above? So i uninstalled it. ![]()
Or you just explaining?
Thanks again!
![]()
Yes. Sorry! I misread your post ![]()
Corrected it now.
also if… you can use xdg-desktop-portal-gtk on gnome too…
https://archlinux.org/packages/extra/x86_64/cinnamon/
cinnamon package is depending on:
https://archlinux.org/packages/extra/x86_64/xdg-desktop-portal-xapp/
what depends on:
https://archlinux.org/packages/extra/x86_64/xdg-desktop-portal/
what at last is depending on one of
xdg-desktop-portal-impl =
(xdg-desktop-portal-gtk, xdg-desktop-portal-kde, xdg-desktop-portal-gnome, xdg-desktop-portal-hyprland, xdg-desktop-portal-lxqt, xdg-desktop-portal-wlr)
the default selector is xdg-desktop-portal-gnome here for whateverreasonitis that… new installs will have this hotfixed for cinnamon installs… and latest weekly rebuild too…
If this is true (I don’t doubt it), then the service provider should have added a ConditionEnvironment= directive in the service unit. This is what we get when major DEs behave like There is only one DE; theirs. ![]()
In reality, a lot of users are using more than one DE with one user account. In such cases, the user can add the relevant Condition to the unit, as a drop-in file.
Example (values for env vars should be confirmed, I use BSPWM BTW
) for /usr/lib/systemd/user/xdg-desktop-portal-gnome.service.
- Edit service unit:
systemctl --user edit xdg-desktop-portal-gnome
- Insert something like this in the editor, save and exit
ConditionEnvironment=DESKTOP_SESSION=gnome
# or
ConditionEnvironment=XDG_CURRENT_DESKTOP=GNOME
- Relogin each different DE to check it is working as wanted.
Of course, there are alternative methods to get the same result, or similar, depending on how you use your multi-user system.
For example, you can disable the service (maybe for all users?), and add an autostart .desktop file entry with similar conditions (OnlyShowIn, NotShowIn, Hidden) on user or system XDG autostart directory.
If anyone decides to play with this, a tutorial would be nice for all the users. ![]()
Disclaimer: I have not tested the above myself (yet).
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.