Open pop1040 opened 7 years ago
I know nothing about that desktop environment and it's hard enough supporting just the mainline Ubuntu desktop environment. If you can write code in a c language you could make the integration component for me and then I could connect it to the add-on. The hotkey handlers for various environments need to register to receive hotkeys from the desktop environment and then emit a standard media key event used by Firefox.
Hi In fact the question is to implement the MPRIS V2 protocol https://specifications.freedesktop.org/mpris-spec/latest/
This will be a uge feature for all Linux desktop :)
+1 @skad This would work in GNOME and Plasma too. So you don't even need a Keyboard Grabber because the Shortcuts of the DE control the MPRIS-Applet of the DE which speaks to the Firefox exentsion
Shortcut → DE → Media Control of the DE → MPRIS interface of extension → Extension
The cinnamon window manager has a global media control system for controlling the currently playing music or video. I am not sure if it is possible to integrate with this system from within a firefox extension but if it is possible to do so it would work far better with other applications which do integrate with it.