如何通过命令行使用 xdotool 或类似工具取消最大化窗口?

Bre*_*k89 7 linux xorg gtk ubuntu xdotools

使用 xdotool 或 wmctrl 我可以移动或修改窗口属性,但如果最大化,则所有命令都不起作用。如何“取消最大化”窗口?

小智 10

wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz