Project

General

Profile

Feature #820

Global shortcuts for a Qt version

Added by Artem S. Tashkinov 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Minor
Assignee:
-
Category:
-
Target version:
-
Start date:
August 15, 2018
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

I wonder why they aren't implemented.

History

#1 Updated by Yao Mitachi 5 months ago

For now, Audacious can just work with however your desktop environment handles shortcuts. I know Plasma and Gnome both have global shortcut functionality. I went into Gnome's keyboard shortcuts settings just now, enabled my shortcut for play/pause and next/previous track, and they work.

#2 Updated by John Lindgren 5 months ago

I wonder why they aren't implemented.

The existing Global Shortcuts plugin uses GDK (and specifically the X11 backend of GDK) and therefore doesn't work with Qt. If you would like to work on a Qt port, that would be great.

#3 Updated by Artem S. Tashkinov 5 months ago

I definitely wouldn't venture to do that with my missing C++ skills, so I'll leave this as a reference:

https://github.com/falceeffect/UGlobalHotkey
https://github.com/hluk/qxtglobalshortcut
https://evileg.com/en/post/174/

Also available in: Atom PDF