this post was submitted on 04 Aug 2023
14 points (85.0% liked)

Linux

48375 readers
1553 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm looking to create a macro keyboard (full keyboard) which is separate from my main keyboard, under Debian with KDE Plasma running under Wayland. I have seen similar tools for X11 but they do not work under Wayland for obvious reasons. I have been able to create basic macros using Python, but is there a much better way for Wayland?

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

You could do that at the firmware level, with QMK or ZMK macros (or, presumably, whatever other firmware). It might be a long one, but launching an application or the like could just be typing the combination that runs it. I haven't used KDE, but something like super, then type the name, then enter, should work.

Having said that, a quick look at keyd proposed by the other replier does seem like it has more than enough capability, and if you have one setup you want to use it for and not move the keyboard between computers, it very well might be the better choice for you.

[–] [email protected] 3 points 1 year ago (1 children)

So you want use a second hardware keyboard to trigger custom key events or sequences, right?

I don't use Wayland but keyd works on the evdev/uinput level so I think it should work regardless of the display server used. To use it for the secondary keyboard only you'd list only that device in the [ids] section of the config.

[–] [email protected] 1 points 1 year ago

This doesn't seem to be able to run & open applications though? Seems like it may be useful however though, thanks!

[–] skami 2 points 1 year ago
[–] [email protected] 1 points 1 year ago
load more comments
view more: next ›