DeaDBeeF-Player / deadbeef

DeaDBeeF Player
https://deadbeef.sourceforge.io/
Other
1.65k stars 178 forks source link

Manually set global hotkeys do not work (Ubuntu 22.04) #3040

Closed samael-1982 closed 9 months ago

samael-1982 commented 9 months ago

Steps to reproduce the problem

Deadbeef 1.9.6 pre-built version x64_amd linux OS Ubuntu 22.04

What's going on? Describe the problem in as much detail as possible.

Trying to add some global hotkeys for play/pouse/volume. They being set, but then they worked only in active deadbeef window. If another window is active - they do not work

Information about the software:

Deadbeef version: 1.9.6 OS: Ubuntu 22.04 LTS image

Oleksiy-Yakovenko commented 9 months ago

There's a high chance that this is not gonna work, because GNOME may block global hotkeys functionality.

The preferred way in GNOME/Ubuntu (and most other linux DEs) is to install MPRIS plugin from here, and then use system hotkeys for play/pause etc.

samael-1982 commented 9 months ago

@Oleksiy-Yakovenko but how to use it? I've installed it, global hotkey still not working. What to do to make global hotkey work so? Setiings are minimal just logging and repeat shuffle.

samael-1982 commented 9 months ago

image

Oleksiy-Yakovenko commented 9 months ago

but how to use it? I've installed it, global hotkey still not working.

Typically you don't need to do anything else, just press the standard keys which GNOME recognizes as playback control keys.

Perhaps this page would be of help? https://help.gnome.org/users/rhythmbox/stable/shortcuts.html.en

What to do to make global hotkey work so?

You would need to stop using GNOME and run a lightweight WM which allows the use of global hotkeys.

Oleksiy-Yakovenko commented 9 months ago

There's also this reddit post which may be helpful: https://www.reddit.com/r/gnome/comments/ghg7y0/media_controls_on_gnome_like_play_pause_next/