After playing around with phoc/phosh on my notebook I found that the media-keys in gnome didn't work anymore after closing #phoc and #phosh.
Later on I wasn't able to suspend my #Librem14 running #PureOS #Byzantium with #Gnome (3.38.5) on #Wayland by hitting
It turned out that the gsd-media-keys¹ daemon got confused over phosh grabbing and releasing the controls.
Stopping the daemon via
killall gsd-media-keys and re-starting it using
systemctl start org.gnome.SettingsDaemon.MediaKeys.target or executing
disown %1 restored the functioning of the hotkeys.
Didn't file an issue, yet, because I don't know if this is reproducible in newer versions of Gnome. @firstname.lastname@example.org, maybe it'd be nice to add some information to the article in case people wonder why there hotkeys do not work after following those instructions?
¹this is the only documentation I found describing in short what the daemon does - any hints to newer official sources are welcome
Thanks, yes, that works:
dbus-run-session sh -c 'WAYLAND_DISPLAY=wayland-1 GTK_DEBUG=interactive GTK_INSPECTOR_DISPLAY=wayland-0 GSETTINGS_BACKEND=memory /usr/libexec/phosh'
phosh doesn't show any controls for shortwave anymore and doesn't break gsd-media-keys.
Didn't see your posting earlier, because it seems that it didn't reach my instance.
@me did dbus-run-session as mentioned above help you? If so I'd be happy to add that to the invocations.