我正在尝试以下命令:
xdotool key --clearmodifiers --delay 500 alt+f
,结果是以下错误:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 132 (XTEST)
Minor opcode of failed request: 2 (X_XTestFakeInput)
Value in failed request: 0x0
Serial number of failed request: 18
Current serial number in output stream: 19
我在没有--clearmodifiers
和--delay
的情况下尝试了但仍然是同样的错误。
我的系统是Arch Linux和i3窗口管理器。
答案 0 :(得分:2)
我也运行与主操作系统相同的设置(arch + i3)。我尝试下载 xdotool 并运行相同的命令。它既可以使用也可以不使用两种选项。
如果它不起作用,我会尝试以下操作(除非你已经有):
1> Reinstall *xdotool*, update, and reboot.
2> Although it worked, my mod key is set to the *win* key so I'm not sure if that somehow causes issues with
a programmable keypress (you wouldn't think so). Try temporarily changing the modifier to the *win* key in your config and reinstall xdotool.
3> I would also try reinstalling its dependencies (namely libxtst and libxinerama)
4> If all of the above fails, I'd try the *xdotool-gui* package from the AUR instead and see if that fixes anything.
一个问题:只是为了验证,总是持续存在错误,还是仅在 alt + f 的一个案例中?
问候:)