Need help with xdotool – keymaps or something…
by Garn from LinuxQuestions.org on (#5EW57)
I'm using xdotool to type text for me. That text is written on a Spanish keyboard into a text editor.
The text contains special characters which are not produced identically and are not located on the same keys across keyboards.
My workflow now involves saving the text to to a file and have a script feed that text to xdotool for typing into the text fields of an application that runs on a (Windows) terminal server which I access via RDP (I user Remmina, in case that is relevant). The remote machine has German localisation.
When I type into those text fields manually, I have no issues, i.e. all special characters are typed correctly.
However, if xdotool does the typing none of the special characters work correctly. Umlauts, and things like square and curly braces which on a German keyboard are not located at he same positions, do not get typed correctly or do not get typed at all.
I have tried setxkbmap de without success.
Thanks for reading and grateful for any pointers you may have.


The text contains special characters which are not produced identically and are not located on the same keys across keyboards.
My workflow now involves saving the text to to a file and have a script feed that text to xdotool for typing into the text fields of an application that runs on a (Windows) terminal server which I access via RDP (I user Remmina, in case that is relevant). The remote machine has German localisation.
When I type into those text fields manually, I have no issues, i.e. all special characters are typed correctly.
However, if xdotool does the typing none of the special characters work correctly. Umlauts, and things like square and curly braces which on a German keyboard are not located at he same positions, do not get typed correctly or do not get typed at all.
I have tried setxkbmap de without success.
Thanks for reading and grateful for any pointers you may have.