xdotool requires keymap to be set through setxkbmap
Opened this issue · 2 comments
Currently, a user expects autotyping to work after installing xdotool, depending on their keymap, that may not be the case.
One example would be the @ showing up as a 2 on a swiss layout.
To make it work I run setxkbmap ch
on startup, by adding it to my .xprofile.
For some reason setxkbmap -query
includes the current layout already, so the following line works to set it:
setxkbmap $(setxkbmap -query | grep layout: | sed 's/layout: //g')
Though I would like for other people to test it before actually adding it to the script.
Alternatively the Heading "Autotyping" in the README.md should include a hint to using setxkbmap.
I would like to get some further input as well.
I tried loading the swiss keys loadkeys fr_ch
and autotyping my email, worked like a charm.
Could be testing wrong though..
I think setting the kbmap is something you have to do anyway as part of your personal setup.
@Harbinger-of-rain I ran into the same issue and pushed a potential fix in #65, if you are still interested