Skip to content

Activate app window on keyboard shortcut #15369

Discussion options

You must be logged in to vote

You can take a look at Sharphook.

https://github.com/TolikPylypchuk/SharpHook

I can't say I have ever tried it. As I mentioned before you can poll the raw keyboard data, but you likely wont have permission to do that. Otherwise you can use x11 APIs.But the more modern way which is also not guaranteed to work since its up to desktops to implement is via the keyboard shortcut portals. Which seems to be implemented in KDE (not sure about other desktops).

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@DmitryBorodiy
Comment options

@thevortexcloud
Comment options

Answer selected by DmitryBorodiy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants