小编use*_*453的帖子

使用 xdotool 输入一些文本,与键盘布局无关

命令

xdotool type "hello"
Run Code Online (Sandbox Code Playgroud)

可用于输入单词hello。但前提是键盘布局不是英文,否则会输入其他内容。

我该如何解决这个问题,以便xdotool在任何布局中始终键入 hello。

我使用 Ubuntu 14.04 存储库中的最新版本xdotool

xorg keyboard-layout xdotool

5
推荐指数
1
解决办法
2254
查看次数

标签 统计

keyboard-layout ×1

xdotool ×1

xorg ×1