xdotool key won't work with sxhkd

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

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • 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:

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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