在终端中运行xdotool getactivewindow
将导致
XGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1)
xdo_get_active_window reported an error
但我几乎可以肯定它在一段时间前起作用了..。
如何解决这个问题?
我使用的是Ubuntu22.04.1 LTS和xdotool3.20160805.1版本。
发布于 2022-09-23 22:02:03
不知为什么,当这件事发生时我正在使用wayland ..。
由于另一个未知的原因,重新启动会让我切换到X11,然后问题就消失了!
https://stackoverflow.com/questions/73761906
复制相似问题