gnome-terminal: how to eliminate the scrollbar programatically?
-
06-07-2019 - |
Question
I'm spawning some processes running in their own gnome-terminal and
don't want to show the scrollbar. Is there something like xterm +sb
to turn the scrollbar off for that particular window?
Solution
Start gnome-terminal, select Edit->Profiles in the menu. Create a new profile and call it '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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow