据我所知,在Linux中,来自硬件设备的输入可以被认为是将数据写入文件,所以我认为在不使用X的情况下向/dev/input/mice编写一些东西来模拟鼠标点击是很有可能的。这就是我所做的:(click the right button of your mouse,and then press ctrl+c to termina
我在mac上的vmware fusion vm上的ubuntu 15.10上安装了xdotool。我尝试在终端中运行以下命令。returns the list of commands.
does not move the mouse, it should move it.
does work and types hello