如何使用 xdotool 按 Windows 键

use*_*456 8 xdotool

如何使用 xdotool 按开始键?

开始键是指带有 Windows 图标的键。

use*_*456 11

这些键是“超级”修饰符。

您可以为左侧的事件发出一个事件

xdotool key Super_L
Run Code Online (Sandbox Code Playgroud)

Super_R用于右手的)

要使用 Unity 在 Ubuntu 上最大化当前终端,请运行

xdotool key "Ctrl+Super_L+Up" > /dev/null 
Run Code Online (Sandbox Code Playgroud)