You are not logged in.
Pages: 1
I've been trying to get xdg-desktop-protals to work but it just doesn't seem to be doing anything. I've tried reinstalling xdg-desktop-portals, xdg-desktop-portals-gtk, and xdg-desktop-portals-lxqt with no change. My system is updated as of a few hours ago. The only thing I have found is that the xdg-desktop-portals.service referred to in the wiki page doesn't seem to exist as I found when trying to make a drop-in snippet returned "No files found for xdg-desktop-portal.service.". I can't seem to find anything on the internet or the forums for this, does anyone have an idea how to fix this?
Last edited by PFleur (2024-08-14 22:25:46)
Offline
What is it you are actually trying to do?
Please read https://xyproblem.info/ before replying.
Jin, Jîyan, Azadî
Offline
I am trying to use xdg-desktop-portal for a file chooser for programs that do not have their own (eg steam) and to integrate flatpak programs.
Offline
Which desktop environment is this?
To edit the xdg-desktop-portal unit file run this command as your normal user:
systemctl --user edit xdg-desktop-portalJin, Jîyan, Azadî
Offline
I am running DWM.
Thank you using xdg-desktop-portal instead of xdg-desktop-portal.service worked, although adding
[Service]
Environment="XDG_CURRENT_DESKTOP=KDE"to enforce a desktop environment didn't have an effect as far as I can see. I've KDE, XFCE, and LXQt.
Offline
using xdg-desktop-portal instead of xdg-desktop-portal.service worked
It was the --user flag that made the difference. The systemctl command assumes a .service suffix for unit files.
didn't have an effect
Does your ~/.xinitrc source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh?
You should have copied the xintrc template from /etc/X11/xinit/ and edited that.
Jin, Jîyan, Azadî
Offline
Thank you for the clarification and sorry for assuming what was the reason.
I did not base my .xinitrc off the one in /etc/X11/xinit and after doing so it's now everything seems to be working fine.
Thank you for your help.
Offline
Pages: 1