Kur*_*rru 9 command-line gnome-terminal
如何使用命令更改 Ubuntu 中终端窗口的透明度?
我已经知道 profile 方法,但想要一个命令,以便我可以在透明和不透明之间快速切换。
我的终端是 GNOME 终端 2.30.2
您可以将 gconftool 与 /apps/gnome-terminal/profiles/Default/background_type 键一起使用(您可能必须使用与“默认”不同的配置文件名称):
gconftool -s -t string /apps/gnome-terminal/profiles/Default/background_type solid
gconftool -s -t string /apps/gnome-terminal/profiles/Default/background_type transparent
Run Code Online (Sandbox Code Playgroud)
这是在 3.0.1 版本中测试过的,但命令应该是相同的。