While using tmux in iTerm2 (both normally and using -CC native integration), I noticed that tmux window is of a different style compared to the original iTerm2 window. Specifically, the color theme (Material) is preserved as I see (deep blue background of a window), but the command line itself (hence, I suppose this is oh-my-zsh configs) are not preserved. See the picture attached.
I'd like to know why, and how to make them of one style.
iTerm2 original window:
tmux window inside iTerm2:
When using touchpad, my palms tend to trigger a slight mouse scroll, so I've disable mouse altogether in tmux using set -g mouse off. When I do this, however, mouse-wheel events will scroll history instead of scrolling the window. It only does this inside tmux (if I detach, the behavior goes away). Anyone know how to disable this? I'm using Arch Linux and Gnome Terminal.
I have a mouse with two additional left/right buttons, and on Ubuntu they work fine in Firefox for next/prev page in history, and in Sublime Text 3 for left/right tab (with this .sublime-mousemap config file).
I would like the same kind of behavior in tmux...
Unfortunately, I didn't find any way of mapping a tmux command (tmux next-window, tmux previous-window) to a mouse button (not left/right click or the wheel, but an other button). The manual does not evoke it, nor this answer for example.
Does any one has a trick for this? Thanks.
So tmux (currently) does not support these extra mouse buttons, and it seems hard to implement their support in tmux's current architecture.
Sadly, I think the only answer that can be given right now is a negative one : it is not possible to bind a tmux command to an extra mouse button.
Problem: "C-b left/right" key combination is not switching between panes in tmux, it is resizing the pane.
tmux version: 1.8
OS: BackBox 4.4
Tried to find the 'tmux.conf' in the home directory or in the '/etc' folder, no success.
Archwiki says that left/right keys are for resizing panes. Ok, so if that's the case how ill I move between panes?
C-b-<left> resizes the pane while C-b <left> switches pane. So you need to release C-b before pressing <left> to be able to do the switch.
Is there any way to make console2 go fullscreen? I edit settings and increase window and buffer size but when I restart settings are reset to 63 rows in window size.
I've found that the maximise button is disabled, but you can get around it by setting Run option of the executable's shortcut to Maximised.
Better yet you can hide the window title bar in Console2's settings (Appearance > More... > Caption).
Here's the final result:
So, I've found this fork of Console2 which is amazingly better, it's called ConsoleZ:
https://github.com/cbucher/console/wiki/Downloads
Besides the maximization, it provides find in tabs, fullscreen mode and split tabs. Totally worth to check it out, IMHO.
EDIT
Forgot to mention, you can just download and replace the binaries, and all your configurations will be kept, as far as I've perceived.
[]'s
OK I managed to do it on win7 but still no luck on XP. This is how I did it.
In Settings→Behavior, check the Initial position checkbox and left the X and Y as default 0
Restart console
After restart, resize window dragging the borders to fill whole screen
Restart again
In Settings→Appearance→More uncheck Caption and Border
I don't know why just entering rows and columns doesn't work. One has to resize the window and restart.
On my screen with this font it is 62 rows (with space left for tabs on bottom) and 238 columns. I have 24" monitor. I set font to be Consolas size 11.
You can change the number of rows to change tab settings.
Click "Edit"->"Setting"->"Tabs" and click "Add" button. Then, the new entry which name is "Console" appears in the tab name list. In the main tab menu on the bottom, input these two parameters in the fields.
Title: Cygwin
Shell: C:\cygwin\bin\bash.exe --login -i
At last, move up the "Cygwin" entry to the top and restart console2. Now you can change the number of rows.
The detail how to configure tab settings is here.
https://openshift.redhat.com/community/blogs/upgrade-cygwin-to-console2-and-improve-the-productivity-of-openshifts-rhc-client-tools-on-wind
In order to make Console2 have the desired window size (even when opening a new tab which generally causes the entire app's window to resize to smaller), do the following:
View -> Console Window
In the console window that pops up, right-click its title bar and select Properties
Set the window width/height and buffer sizes as you like and click OK
Cheers
I founded a small program called, sizer 3.34, that configure the window size of every program window you have.
When installed, it apears at the popup menu, when you click with the secundary mouse button at the top bar of a window. It allows you to config the three size profiles it has, and to add one, or more, if you want.
I think is a good solution for this issue (and for another programms that would have the same problem).
Reggards.