AutoKey: which hotkey was pressed? #autokey

https://askubuntu.com/q/1564960/612

AutoKey: which hotkey was pressed?

Say I have a single Autokey script foo.py, and it can be activated by two different hotkeys: Ctrl-A or Ctrl-B. Is there a way in foo.py to determine which hotkey activated it?

Ask Ubuntu

#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

I've summarized my settings and customization of my desktop using #GNOME48 (from #Debian13 #Trixie) on https://karl-voit.at/Gnome-Setup/

Including:
- my choice of #GNOME Extensions
- custom scripts in "Files" (#Nautilus) incl. keyboard shortcuts
- most settings can be easily set by gseetings in your shell without requiring Settings or Tweaks UI
- list of current bugs relevant to me

Still missing:
- Working text snippets like #AutoKey or #AHK

#publicvoit #PIM #Debian

GNOME Setup

TRIUMPH! The LAST and FINAL thing holding me back from completely moving to #Wayland was replacing #AutoKey for text expansion.

#espanso appears to replace all the functionality (at least that I use, although the scripting is not via Python). Happy!

NOTE! DEBIAN USERS! If you follow the instructions on the installation page, you get an old release that has dependency issues. Download the LATEST RELEASE 2.2.3 of the Wayland .deb

https://github.com/espanso/espanso/releases/tag/v2.2.3

and then follow the installation instructions:

https://espanso.org/docs/install/linux/#deb-wayland

Release v2.2.3 · espanso/espanso

Second edition: I updated the mismatched sha256 for windows 😊 Automatically released by CI and manually updated by @AucaCoyan Hey! long time no see huh? I could sign a macOS silicon (M-arch) packag...

GitHub

can someone tell me, how to get #AutoKey (installed appstream://autokey-gtk.desktop) from Discover working in all windows in #Neon #KDE?

It works in Google Chrome, but not in #Thunderbird (which would be 95% of my usage) or Kate.

#Linux #linuxproblems

Well, I could solve the #autokey problem.
Nun gut, das Problem bei #autokey konnte ich lösen.
The PC is now running #Garuda #Linux, which means it's still running #ArchLinux. However, some oddities are annoying. #luakit doesn't want to learn other search engines, but what's particularly annoying is that abbreviations, or letter shortcuts, can no longer be defined with #autokey. When I click "OK" in the corresponding dialog window, nothing happens. Hotkeys, however, can be configured. I don't get it. #Arch
Der PC läuft nun mit #Garuda #Linux, also weiterhin mit #ArchLinux. Einige Merkwürdigkeiten nerven jedoch. #luakit will keine anderen Suchmaschinen lernen, aber besonders übel ist, dass sich bei #autokey keine Abbreviations, also Buchstabenkürzel, mehr definieren lassen. Beim Klick auf "OK" im zugehörigen Dialogfenster passiert einfach nichts. Hotkeys hingegen lassen sich einstellen. Kapiere ich nicht. #Arch