Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 在虚拟框中使用xdotool模拟右CTRL键_Linux_Windows_Virtualbox_Xdotool - Fatal编程技术网

Linux 在虚拟框中使用xdotool模拟右CTRL键

Linux 在虚拟框中使用xdotool模拟右CTRL键,linux,windows,virtualbox,xdotool,Linux,Windows,Virtualbox,Xdotool,我正在Windows 10中运行Virtualbox。我有一个运行Raspbian的虚拟机 xdotool key ctrl+a 在Raspbian虚拟机中,我使用的是xdotool 从Raspbian开始,使用xdotool,我可以模拟右键Ctrl,这是我在VirtualBox中的主机键,这样我就可以更改VirtualBox窗口的大小了吗 我的意思是,从Raspbian看来,这是VirtualBox的虚拟机,我可以执行“主机+a”吗?。 由于主机是右CTRL键,所以我尝试了这两种方法,但它只

我正在Windows 10中运行Virtualbox。我有一个运行Raspbian的虚拟机

xdotool key ctrl+a
在Raspbian虚拟机中,我使用的是xdotool

从Raspbian开始,使用xdotool,我可以模拟右键Ctrl,这是我在VirtualBox中的主机键,这样我就可以更改VirtualBox窗口的大小了吗

我的意思是,从Raspbian看来,这是VirtualBox的虚拟机,我可以执行“主机+a”吗?。 由于主机是右CTRL键,所以我尝试了这两种方法,但它只在Raspbian内部执行正常的CTRL键

xdotool key ctrl+a
我试过了

xdotool key 'Control_R'+a

但它在raspbian中执行正常的ctrl+a,并选择文件夹中的所有文件。

不,不能在虚拟化环境中执行。您必须从Raspbian外部通过一个在Windows上运行的应用程序来自动执行该操作,例如。非常相似的想法,但脚本的措辞有点不同

Send, ^a