tmux is a terminal multiplexer: it enables a number of terminals (or windows), each running a separate program, to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.

learn more… | top users | synonyms

1
vote
0answers
33 views

tmux start process if not already running

In my .zshrc, I have a bit of logic that will automatically start a tmux session or, if sessions are already running, prompt to attach to one of them or create a new one and attach to that. This all ...
0
votes
1answer
28 views

tmux detach session remote

I run at first terminal tmux, then I run another terminal with tmux and attach to session which I run at first terminal. First is smaller than second and I can't go to it to do something. How to ...
3
votes
0answers
53 views

Bind ALT key in Tmux to move across panes

I'm using Ubuntu 14.04 and I would like to bind ALT + <hjkl> in tmux to move across splits. I've seen this plugin that allows you to move across panes with CTRL + <hjkl> but I would like ...
1
vote
1answer
47 views

Maximizing tmux session shows weird ANSI Sequences

I have a tmux session inside Putty. It was fine for past many months, but now I see a strange thing. When I maximize a normal Putty window, and if cursor is not on a new line, then I get some weird ...
0
votes
0answers
35 views

Getting stuck in overwrite mode in Tmux

I'm connecting to a remote server from Windows using a variety of ssh clients: Putty, MobaXTerm, FireSSH. I'm doing something, I don't know what, that puts me permanently in overwrite (insert) mode in ...
0
votes
1answer
43 views

remote osx split panes in ubuntu byobu

My Problem I have OSX 10.10, connect to a byobu in ubuntu 14.04 over ssh. I want to split panes vertically & horizontally. But ctrl+F2 & shift+F2 just gives me beep sound. Additional Info ...
0
votes
0answers
41 views

After losing ssh connection to box with tmux running, shell is garbled

I have tmux running on a box I ssh into. From my tmux session, I have various panes and ssh connections open to other boxes. When I lose my ssh to the box with tmux running, I often see garbled text ...
0
votes
1answer
44 views

Tmux raspbian installation

i have installed tmux on my pi (raspbian jessie) it has installed ok but when I ssh from osx command + b + " doesn't work, or any other command for that matter. Do I need to create a config file?
0
votes
0answers
49 views

Tmux displays “<xzy not ready>” in the status bar

I'm using iTerm 2 nightly and I have the following tmux config setting for the left status bar: set -g status-left "#[fg=green]#h @ #[fg=cyan]#(extip | awk '{print \"ip \" $1}') ...
0
votes
1answer
36 views

tmux reEnter to a session and save a session

\ I am a new ubuntu user. kindly, using ubuntu (terminal) I could open tmux session and open my R program then run the script, the script prints text on the scree. my question(s) are: how to re enter ...
1
vote
0answers
80 views

Copy text in byobu when the mouse is “off”

I recently started using byobu with tmux as a backend. I have learned that AltF12 toggles "mouse mode" off and on. When "mouse mode" is on, I can select text with my mouse and paste it with the middle ...
3
votes
1answer
69 views

Clear to end of line uses the wrong background color in tmux

In ZSH prompt expansion, the command %E is supposed to "Clear to end of line." This works: However, it does not work in tmux: The issue seems to be with BCE (Background Color Erase). In screen, I ...
2
votes
0answers
51 views

Vim losing ability to copy to client clipoard over SSH

I have setup vim to be able to yank text from the server instance of vim to the clipboard on My client's operating system (through the SSH connection). The basic setup is Client side ...
1
vote
1answer
49 views

tmux: creating new split window doesn't work

I want a new session with two windows named mutt and offlineimap. the offlineimap window should be split into two using two different offlineimap instances (with different profiles). tmux new-session ...
1
vote
0answers
9 views

How to see the variables current value of a running matlab process on tmux?

I have a matlab process in tmux which is running for days. Actually I need to see the values of calculated variables till now. I thought that, it is good(if possible) to duplicate the process and then ...
1
vote
0answers
51 views

Tmux has different environment variables? [closed]

I'm on a RHEL 6 system and I recently noticed I was running into proxy issues when running commands in tmux. When I echo $HTTP_PROXY in tmux, I get nothing. But, if I open a terminal on its own ...
0
votes
0answers
10 views

Tmux spawns unlimited child processes if filesystem (AFS) becomes unavailable

I have a long running tmux process on a linux node (Scientific Linux/CentOS 6.6), and I'm using powerline, in case that is relevant. My home directory is on AFS, and the problem is, when I lose my AFS ...
1
vote
0answers
26 views

Unbind c-n and c-p from tmux

I want to totally unbind the next-window and previous-window command from tmux, here is what I have in my tmux conf unbind C-n unbind n unbind C-p unbind p It works well on ubuntu, but on Mac it ...
0
votes
0answers
77 views

Why is tmux starting slower and slower over time?

On my Ubuntu server I run tmux. When I login on the server itself I get tmux, when I login with SSH I get tmux too. Right after a reboot logging in on the server starts tmux within seconds and when ...
1
vote
0answers
71 views

Why is tmux opening a new terminal window?

When I start tmux in my i3 / termite / zsh environment the default pane with the zsh prompt inside it is launched in a seperate window instead of the window in which I started tmux. Additionally I ...
1
vote
1answer
43 views

How can I reorient a pane and make it full screen height in tmux?

In tmux I currently have these window positions: +---------------------+ | | | 1 | +---------------------+ | | | 2 | | ...
1
vote
1answer
130 views

Crontab and Tmux not playing well together

So I want my server to run a script which starts several tmux sessions on boot. This is my crontab: @reboot . /home/steven/.profile; /home/steven/Scripts/Start.sh And this is the content of my ...
0
votes
0answers
37 views

Setting tmux session title in zsh

There was a similar question about screen regarding this here, but I was unable to get this working with tmux. From what I understood printing a string with prepended with \033k and appended with ...
0
votes
0answers
15 views

How can I create windows near by in tmux

Suppose I have 7 windows, and I am in the no.3. When I use Ctrl+B c, I create windows in the location 7. How can I create it in location 4 so that I was near the No.3? Of course, the windows number ...
1
vote
0answers
49 views

How to use Ctrl+mouse click in tmux?

Due to the change in Tmux2.1, I need to remap my mouse's middle click to tmux's paste: bind -T root MouseDown2Pane run -b "tmux paste-buffer" However, I also would like to enable using Ctrl (or ...
1
vote
0answers
52 views

How can I use color output in a tmux run-shell command?

I've bound a key to run a script with tmux's run-shell command, but I can't find any way to use color output. normal ansi codes do not work, e.g. echo -e "\e[32mblah blah\e[0m" tmux formatting does ...
1
vote
0answers
30 views

How can I prevent tmux from blocking when I scroll up?

tmux is awesome, but I'm often in situations where scrolling up causes (admittedly minor but still undesirable) problems. For instance, I have a node.js server running in one window, and BrowserSync ...
1
vote
2answers
114 views

Execute command on remote screen

On a remote server I have multiple screens open and I use each one for different purpose. For example the screen with the ID 'build' it is being used to compile some programs. I can open that screen ...
1
vote
1answer
171 views

tmux build failure

server-fn.o: In function server_destroy_pane': server-fn.c:(.text+0x8ec): undefined reference toutempter_remove_record' window.o: In function window_pane_spawn': window.c:(.text+0x356c): undefined ...
0
votes
0answers
12 views

Executing spawned quick commands in tmux?

Sometimes I want to execute a fast command while working on a pane which got a blocking cli (for example a running web server app) so I have to open a new pane, execute that command and close it right ...
9
votes
2answers
537 views

Why does tmux set TERM variable to screen?

Citing tmux man page: The TERM environment variable must be set to “screen” for all programs running inside tmux. New windows will automatically have “TERM=screen” added to their environment, but ...
0
votes
1answer
318 views

Tmux: <Crtl>-b doesn't work

Every time I start tmux and then press Ctrl+b, the terminal prints ^B. I am using Windows to connect to Raspberry Pi. I have tried Putty and Bitvise. EDIT: finally I found a imperfect solution. # ...
0
votes
0answers
99 views

Tmux session name background color persists between sessions

I have tmux set to display the session name in the left status bar. The background color of the session is either red or green depending on if I have failing tests or passing tests. When I switch to ...
-1
votes
2answers
28 views

Where can I find all tmux options?

Where can I find a list of all tmux options? I know of tmux list-keys -t which shows you various keybindings and their commands, but I'm looking for a comprehensive list of all possible tmux ...
0
votes
0answers
37 views

Prevent tmux from becoming idle

I work with a cluster that terminates idle processes after they have been idle for 24 hours but I want to leave tmux sessions running for multiple days so that they are still there when I come back ...
0
votes
1answer
99 views

How can I change my tmux color scheme based on the time of day?

I just implemented a few lines into my .vimrc that changes the color scheme from SolarizedDark to SolarizedLight based on the time of day. " Solarized light during the day, solarized dark during the ...
2
votes
3answers
207 views

ssh into a server that has a broken bash install

I think I broke the installation of ncurses on my Arch Linux VPS. Now I can't login with SSH, I get this error: $ ssh me@xyz.com Last login: Mon Oct 26 08:56:59 2015 from 0.0.0.0 -bash: error while ...
3
votes
0answers
170 views

tmux causing bold fonts in vim

I have installed tmux with vim, using the solarized colorscheme and airline plugin. All is good until I start tmux, where all the font turns bold and the airline status bar is looking weird. I have ...
0
votes
1answer
28 views

Additonal layer of abstraction for GNU screen region management?

Here is my use case: I have maybe 10 or so windows open in screen. I want to be able to split my terminal into regions and assign windows to regions. So far, so good. However, I want to be able to ...
4
votes
1answer
107 views

Format tmux's pane_current_path

I'm trying to set my tmux window's title to be the current directory that I am in. Now pane_current_path is perfect for this, but it prints the full path in my machine. Is it possible to run ...
4
votes
1answer
91 views

Tmux and dim-ed colours in Terminal.app on MacOS

The problem On my Mac (10.11) Tmux does not show dim-ed colours properly, and this causes annoyance. In the following picture, the commit author's name is supposed to be represented in dim white. ...
3
votes
2answers
99 views

Is it possible to scroll faster than PgUp/PgDown in tmux?

I have approximately 400k lines of output to scroll in tmux. How can I speed up the pace of scroll in copy mode? Alternatively, how can I transfer all the (already generated) output content to a file? ...
1
vote
1answer
155 views

Tmux 2.0 “pane_current_path” not working on CentOS

Tmux 2.0 on my CentOS always goes to the home directory when creating new pane or window. I have added these lines in .tmux.conf but still not working after restarting tmux: bind '"' split-window -c ...
0
votes
0answers
290 views

PuTTY and tmux: default resize-pane bindings do not work

I'm using PuTTY 0.65 on multiple Windows 10 systems to connect to tmux 2.0 on CentOS 7 and FreeBSD 9, using the default key bindings in tmux. Pasted from C-? shows: bind-key -r M-Up resize-pane -U ...
0
votes
1answer
43 views

tmux error on debian

I install tmux via apt-get. When I type tmux, it acts like first $ clear and then open another bash, I can not see any render borders as usual nor to split or create any windows or panes. Then I type ...
1
vote
1answer
97 views

can I use ssh to send build command for android building?

I'm new in Linux, but learning bits by bits.. So please give explanation too, instead of only the answer, to help me understand about why and how. Currently I want to build an android rom with ...
0
votes
1answer
47 views

tmux configuration

I'm trying to change the tmux colors on a computer I haven't visited in a while. In tmux man page I read that tmux will look for a /etc/tmux.conf and, if not found, would go to ~/.tmux.conf. Since the ...
1
vote
1answer
284 views

remapping Caps Lock to Ctrl key in tmux

I'm a Linux beginner and using tmux 2.0 on CentOS 6.7(without X). How can I use Caps Lock instead of Ctrl in tmux?
1
vote
1answer
118 views

Run an existent tmux session at SSH login or create if not exist

I want to open a tmux session every time I login through SSH to my server. If the session exist, connect to it, if not, create and connect to it. I think I need edit ~/.bashrc file to do this, but I ...
1
vote
0answers
15 views

How do I terminate Aptitude safely

I have a TMux session with Aptitude open. The Aptitude process has been "killed" several times with STOP/CONT. Now it doesn't react to the Q key. Instead a 'q' is printed on the top-left corner of the ...