Recent

Author Topic: Register global hotkey  (Read 251 times)

LemonParty

  • Sr. Member
  • ****
  • Posts: 388
Register global hotkey
« on: November 08, 2025, 09:05:25 pm »
Is there a library to register global hotkeys in Linux?
Lazarus v. 4.99. FPC v. 3.3.1. Windows 11

Thaddy

  • Hero Member
  • *****
  • Posts: 18475
  • Here stood a man who saw the Elbe and jumped it.
Re: Register global hotkey
« Reply #1 on: November 09, 2025, 12:46:46 pm »
This differs per linux version.
Qt has QxtGlobalShortcut
X11 has some features for it. XGrabKey.
You can use xdotool
There is no single solution I am aware of and I am having trouble with WayLand(again)
« Last Edit: November 09, 2025, 01:01:16 pm by Thaddy »
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

 

TinyPortal © 2005-2018