I can't figure out why, but xdg-desktop-portal
won't auto-start:
> superctl status xdg-desktop-portal
xdg-desktop-portal
Status: stopped
Type: simple
PID: -
Uptime: -
Autostart: ✓
Loaded: /home/hugo/.config/services/enabled/xdg-desktop-portal.service
Description: Desktop integration portals for sandboxed apps
> superctl status
Status PID Autostart
blueman-applet started 4536 ✓
calls stopped - -
chatty stopped - -
darkman started 4532 ✓
display_switch stopped - -
dockerd-rootless started 4531 ✓
fnott stopped - -
foot stopped - -
gammastep stopped - -
himitsud started 4530 ✓
kanshi stopped - -
librespot-himitsu stopped - -
libvirtd started 4537 ✓
light stopped - -
mako started 4535 ✓
mmsd-tng stopped - -
mpris-proxy stopped - -
pipewire started 4529 ✓
pipewire-pulse started 4758 ✓
ra-multiplex-server started 4540 ✓
swayidle stopped - -
udiskie stopped - -
vvmd stopped - -
waybar stopped - -
wireplumber started 4760 ✓
wob stopped - -
wys stopped - -
xdg-desktop-portal started 6035 ✓
xdg-desktop-portal-wlr started 4759 ✓
yubikey-touch-detector started 4538 ✓
Looking at the logs, it seems that there wasn't even at attempt to start it:
> date
Thu Jul 27 09:00:37 CEST 2023
> stat xdg-desktop-portal.log
File: xdg-desktop-portal.log
Size: 1031 Blocks: 8 IO Block: 4096 regular file
Device: 15h/21d Inode: 25050700 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ hugo) Gid: ( 1000/ hugo)
Access: 2023-07-27 08:59:59.522245389 +0200
Modify: 2023-07-23 17:11:16.437425044 +0200
Change: 2023-07-23 17:11:16.437425044 +0200
If I run superctl start xdg-desktop-portal
, it starts properly.
On Thu, 27 Jul 2023 07:05:19 +0000 "~whynothugo" outgoing@sr.ht wrote:
I can't figure out why, but
xdg-desktop-portal
won't auto-start:> superctl status xdg-desktop-portal xdg-desktop-portal Status: stopped Type: simple PID: - Uptime: - Autostart: ✓ Loaded: /home/hugo/.config/services/enabled/xdg-desktop-portal.service Description: Desktop integration portals for sandboxed apps > superctl status Status PID Autostart blueman-applet started 4536 ✓ calls stopped - - chatty stopped - - darkman started 4532 ✓ display_switch stopped - - dockerd-rootless started 4531 ✓ fnott stopped - - foot stopped - - gammastep stopped - - himitsud started 4530 ✓ kanshi stopped - - librespot-himitsu stopped - - libvirtd started 4537 ✓ light stopped - - mako started 4535 ✓ mmsd-tng stopped - - mpris-proxy stopped - - pipewire started 4529 ✓ pipewire-pulse started 4758 ✓ ra-multiplex-server started 4540 ✓ swayidle stopped - - udiskie stopped - - vvmd stopped - - waybar stopped - - wireplumber started 4760 ✓ wob stopped - - wys stopped - - xdg-desktop-portal started 6035 ✓Hmm... interesting how this status conflicts with the one above that shows "stopped"...
xdg-desktop-portal-wlr started 4759 ✓
yubikey-touch-detector started 4538 ✓Looking at the logs, it seems that there wasn't even at attempt to start it:
The superd log should show whether or not it tried to start it.
Can you check if it is running?
ps aux | grep xdg-desktop-portal
?It might be that some application tries to talk to it and dbus-daemon auto-starts it.