gnome-terminal: how to eliminate the scrollbar programatically? - x11

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?

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

Related

Use non-native fullscreen window mode in PhpStorm on macOS

How can I configure PhpStorm to use the "non-native" fullscreen mode? I'd like PhpStorm to be fullscreen (without the macOS top menu bar, etc), in the same window (without creating a new window that I have to scroll between).
The terminal for macOS iTerm2 have this setting. You can choose to remove the tick from "Native full screen windows". When this tick is removed, the fullscreen mode will simply take out all space in the window, without creating a new separate window.
Native fullscreen example
Notice how a new separate "window" is created called "PhpStorm"
Non-native fullscreen example
Notice how theres still one window called "Desktop". The iTerm window fills out the whole screen though.
the only way you can do it at the moment is by adjusting the dock in mac to hide menu automatically and then spread the editor to wider and higher setting
click right on the dock in mac and goto settings and hide menu works for me
i am suffering from same issue lol after i saw iterm2 :P

Tmux configuration to stop scrolling

Anyone familiar with how to disable scrolling through command history so that the mouse scroll can only be used for navigating up and down the page instead of the specific commands?

iterm2 Tmux integration: How to remerge windows back to tab; and X11 forwarding support

When I'm using iterm2+Tmux using
tmux -CC a -t 0
I can drag a tab from a tmux window so it becomes it's own window, but how do I get it to become a tab again? The only way I know of how to do it is through tmux dashboard by hiding/selecting all/reopen as tabs... is there another way to do this?
Also, does X11 forwarding work in iterm2+tmux integration? it looks like if I just do tmux it works but tmux -CC it doesn't?
Turns out this is not an iterm2+tmux integration issue and more like a iterm2 issue... Here is the solution:
In iterm2 Preference>Appearance> Enable Show tab bar even when there is only one tab
You can then drag and drop the tab as usual
For X11 forwarding support, I just restarted (Cmd + Q) iterm2 and it works now.

Iterm2 terminal for mac

Is it possible to show iterm2 always in the top of the screen, even if my currenct app in running in the fullscreen mode? For example, I want to able run chrome and iterm2 in the same time when browser is in the fullscreen. Is it possible?
Yes it is possible. Though the setting isn't clearly named for this.
Open iTerm
Go to Preferences (cmd-,)
Go to Advanced Tab
Search for "dock"
Change the "Hide iTerm2 from the dock and from the cmd-Tab app switcher" to Yes
Restart iTerm2

Script to modify putty settings

I'm using putty (terminal emulator, serial console). Every time I use it I need to change the font size and background color in setting. Is there any script that I can run so that all settings will be changed automatically? Is it possible for me to change them through scripts?
If it is on Windows then
Start it from a shortcut
While the window is still open.
Right click on the Caption bar
Select Properties
Select Font and Colour tabs to change the respective properties
And Press OK

Resources