[英]gnome-terminal: how to eliminate the scrollbar programatically?
I'm spawning some processes running in their own gnome-terminal and don't want to show the scrollbar. 我正在产生一些在他们自己的gnome-terminal中运行的进程,并且不想显示滚动条。 Is there something like
xterm +sb
to turn the scrollbar off for that particular window? 是否有类似
xterm +sb
东西可以关闭该特定窗口的滚动条?
Start gnome-terminal, select Edit->Profiles in the menu. 启动gnome-terminal,在菜单中选择Edit-> Profiles。 Create a new profile and call it 'NoScrollbar'.
创建一个新的配置文件并将其命名为“NoScrollbar”。 In the profile preferences, go to the Scrolling tab, then set the scrollbar to 'Disabled'.
在配置文件首选项中,转到“滚动”选项卡,然后将滚动条设置为“已禁用”。 To start a new terminal with the new profile, run the following command:
要使用新配置文件启动新终端,请运行以下命令:
$ gnome-terminal --window-with-profile=NoScrollbar
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.