#TerSoftware (Utilitários de Teclado/Mouse/Touch - softwares que ampliam a funcionalidade do teclado, do mouse/trackpad ou das telas de toque)

Autokey (Linux)

Alternativa ao AutoHotKey (Windows). Uso ele basicamente para duas coisas:

- 1) remapear teclas. Exemplo: enquanto mantenho AltGr pressionado, transformo as letras do lado direito em um NumPad (meu teclado é 60%);

- 2) expansão de texto. Exemplos: digitando ":email" é preenchdio "[email protected]", ":dt" = "2026-02-24" (data), ":hr" = "12:53" (hora) etc.

PS: Uso também o keyd para trabalhar com várias camadas (layers) no teclado. Mas este é mais chato e "perigoso" de configurar; o mesmo dev fez também o warpd, que permite mover o cursor do mouse usando o teclado.

[Introduction to Autokey — AutoKey Main 0.96.0 documentation](https://autokey.github.io/intro.html)

#FOSS #AutoKey #keyd #warpd #AutoHotKey

Introduction to Autokey — AutoKey Main 0.96.0 documentation

#ilovefs #ilovefs26 #ilovefreesoftwareday

Thank you to these Free Software projects I use every day (and to those I know I'm forgetting):
#bash #btrfs #glibc #gnucoreutils #guile #htop #keyd #kitty #labwc #librewolf #man #mvp #python #sudo #tmux #tty-clock #vim #voidlinux #waybar #zathura

Woo hoo! I figured out how to install #keyd on #Linux Mint 22.3 Cinnamon and remap the silly #Copilot key on my new Dell Inspiron 5440 laptop to be the Right Ctrl key.

I used the PPA install method for Ubuntu, since Linux Mint is an Ubuntu derivative, which is itself a Debian derivative.

See here:

https://askubuntu.com/a/1535834

How to remap the windows copilot key in Ubuntu?

I have a Dell laptop (inspiron 16 5645). In addition to the Super key, it has another key which I am told is the windows co-pilot key. It appears to behave like the left-shift key, and xev reports ...

Ask Ubuntu

#freesoftwareadvent day 16

#keyd is a gem I discovered recently, and couldn't believe exists.

Do you like programmable keyboards? But sometimes, you don't have one, or you're using your laptop's keyboard?

Keyd turns your non-programmable keyboard into a programmable one, through software, but at a level low enough that it just works everywhere.

Now you can use Caps-Lock as control, or long-press tab for Alt, or double-press it to escape, or press compose to hold ctrl+alt+shift+meta. Etc.

J'ai fini par solutionner (de façon fort peu élégante) mon souci de clavier avec Keyd et cet article :
https://wiki.ethanppl.com/blog/2024/09/08/keyd
#debian #keyd #keychron
How I use keyd to remap my keyboard in Ubuntu 22.04 with Wayland | Ethan's Wiki

Think about how you use your keyboard. Imagine how good it would be if your

Disabling the fn key in Wayland?

https://piefed.blahaj.zone/post/340904

Disabling the fn key in Wayland?

Hi! So, I have a 2014 MacBook Pro with the fn key permanently taped down. Which is fine when running macOS, as the fn key is disabled in system set…

Have been wanting to figure out how to get the 'copilot' key on my #thinkpad doing something useful in Linux (primarily #Debian) for a little while and finally sat down to investigate it properly.

The issue is that rather than just defining a new keycode or whatever, using an unused code, Microsoft have decided that this key will actually send a combination of multiple keys: specifically, Shift+Win+F23.

As far as I can tell, this seems to be done at the hardware level (I'm not a hardware expert by any means, so open to correction). i.e., it's impossible to distinguish this key being pressed from the literal combination of those keys being pressed (except that there isn't a physical F23 key of course).

So all of the builtin mechanisms for rebinding, as far as I know, will only rebind a single physical key (scancode or keycode, I think), and this key actually sends literally multiple scancodes, the lowest-level interface. And also because several of the codes it sends are identical to real keys, I can't just rebind all of the codes. (e.g., if I could throw away the shift and win, I'd just bind the F23, but that doesn't seem possible.)

Anyway the solution I found was using #keyd https://github.com/rvaiya/keyd which can correct this with quite a simple config:

```
# /etc/keyd/default.conf
[ids]
*

[main]
leftmeta+leftshift+f23 = rightmeta # or whatever key you'd like to use
```

GitHub - rvaiya/keyd: A key remapping daemon for linux.

A key remapping daemon for linux. Contribute to rvaiya/keyd development by creating an account on GitHub.

GitHub

#keyd (https://github.com/rvaiya/keyd) was basically one of the biggest missing pieces for me last time I tried Linux. With it, I can map all my keys and replace application shortcuts with better defaults. Like this:

[google-chrome]
meta.[ = C-S-tab
meta.] = macro(C-tab)

[firefox-esr]
meta.] = macro(C-tab)
meta.[ = C-S-tab

That shortcut is way nicer for my hands, and I unified it everywhere. Luckily, #Ghostty has a config for this.

GitHub - rvaiya/keyd: A key remapping daemon for linux.

A key remapping daemon for linux. Contribute to rvaiya/keyd development by creating an account on GitHub.

GitHub
Got a super cheap wireless numpad, rebinded every key with #keyd to F13-24 and got myself a discount stream deck.

I just bought a new #mechanical #keyboard. But this one is weird as the escape key doubles as the backquote key. Because of this, the only way to access the backquote key is to press fn+escape, then escape again, then fn+escape to go back to 'escape' mode for the key. Thankfully, it also has keys I never use, like INSERT! Using #keyd, I could remap INSERT to the backquote key with the following config (works in #wayland):

```
cat /etc/keyd/default.conf
[ids]

*

[main]
insert = grave
```