Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdotool requires keymap to be set through setxkbmap #30

Open
HarbAlarm opened this issue Oct 8, 2019 · 2 comments
Open

xdotool requires keymap to be set through setxkbmap #30

HarbAlarm opened this issue Oct 8, 2019 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@HarbAlarm
Copy link

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.

@mattydebie
Copy link
Owner

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.

@mattydebie mattydebie added the help wanted Extra attention is needed label Oct 18, 2019
@TanguyHerbron
Copy link

@Harbinger-of-rain I ran into the same issue and pushed a potential fix in #65, if you are still interested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants