views:

197

answers:

1

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?

+2  A: 

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
Lars Haugseth
Thanks Lars, this is perfect. On my version, it looks like it's called --window-with-profile, so I've updated your text. Are there versions with just --profile?
Mark Harrison
I'm using version 2.26.0 under Ubuntu 9.04, and they both work here. I believe the difference is that --profile applies to all windows, while --window-with-profile applies to that window only. Which means that if you use your version and spawn a new window from the one you created, you will get the default profile again on the newly spawned window. You will have to decide what's more appropriate in your situation.
Lars Haugseth