我应该在 gnome-terminal 中输入什么来将其当前几何图形更改为 80x24?与 GUI 的设置 - 高级 - 80x24 的操作相同。
答案1
xdotool getactivewindow windowsize --usehints 80 24
--usehints
Use window sizing hints (when available) to set width and height. This is useful
on terminals for setting the size based on row/column of text rather than pixels.
答案2
gnome-terminal 响应 xterm 使用的控制序列resize
程序,让你这样做:
resize -s 24 80