Package: xautomation Version: 1.09-1 Severity: important Dear Maintainer,
xte seems to ignore the keyboard-layout, and always use the US-layout. Example with a German keyboard: $ xte "str echo 'ö/'" $ echo |;&| Strangely, it seems to be possible to re-set the keyboard-map with setxkbmap, to solve the problem. Example: $ xinput --list ... ⎣ Virtual core keyboard id=3 [master keyboard (2)] ... $ setxkbmap -device 3 -print xkb_keymap { xkb_keycodes { include "evdev+aliases(qwertz)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+de(nodeadkeys)+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; }; $ xte "str echo 'ö/'" $ echo |;&| $ setxkbmap -device 3 "de(nodeadkeys)" $ setxkbmap -device 3 -print xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+de(nodeadkeys)+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; }; $ xte "str echo 'ö/'" $ echo 'ö/' -- System Information: Debian Release: 8.3 APT prefers stable-updates APT policy: (990, 'stable-updates'), (990, 'stable'), (160, 'testing'), (150, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages xautomation depends on: ii libc6 2.19-18+deb8u2 ii libpng12-0 1.2.50-2+deb8u2 ii libx11-6 2:1.6.2-3 ii libxi6 2:1.7.4-1+b2 ii libxtst6 2:1.2.2-1+b1 xautomation recommends no packages. xautomation suggests no packages. -- no debconf information