4

Macのvmware fusion vmのubuntu 15.10にxdotoolをインストールしました。ターミナルで次のコマンドを実行してみました。

>xdotool
returns the list of commands.

>xdotool mousemove 200 200 
does not move the mouse, it should move it.

>xdotool type hello 
does work and types hello

私の mousemove コマンドに何か問題がありますか、それとも何らかの理由で端末または VM で機能しませんか。

4

2 に答える 2

4

これが答えかもしれません: ホスト Linux Mint 17 / Linux Mint 18.1 のゲストでは、マウスが動かないようです (視覚的には、マウス ポインターは動かない)。ただし、「xdotool click 1」を追加すると、クリックが正しいマウス位置にあることがわかります。

于 2017-05-14T10:31:37.727 に答える