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 Fn-Esc.

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 or executing /usr/libexec/gsd-media-keys &, 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., 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


@me did dbus-run-session as mentioned above help you? If so I'd be happy to add that to the invocations.

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.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml