xdotool key won't work with sxhkd

This page summarizes the projects mentioned and recommended in the original post on /r/archlinux

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • AutoKey

    AutoKey, a desktop automation utility for Linux and X11.

  • I am trying to find an alternative to AutoKey for keyboard macros. I've seen some suggest sxhkd combined with xdotool, which is what I'm trying here. I want to implement macros whereby when I press alt + j,i,k,l it simulates left,up,down,right arrow keys respectfully. I have the contents of ~/.config/sxhkd/sxhkdrc as:

  • xdotool

    fake keyboard/mouse input, window management, and more

  • I am trying to find an alternative to AutoKey for keyboard macros. I've seen some suggest sxhkd combined with xdotool, which is what I'm trying here. I want to implement macros whereby when I press alt + j,i,k,l it simulates left,up,down,right arrow keys respectfully. I have the contents of ~/.config/sxhkd/sxhkdrc as:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • sxhkd

    Simple X hotkey daemon

  • I found This github issue thread that says a workaround is to "pass the synthetic event directly to a specific window." and gives the following example:

  • keyd

    A key remapping daemon for linux.

  • This is an example of what you want: https://github.com/rvaiya/keyd/blob/master/examples/nav-layer.conf

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts