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

0
votes
0answers
9 views

Is it possible to run fbi inside tmux if the tmux if running in a virtual tty?

I have already looked at this question and the solution works insofar as I can get an image displayed in my virtual console. However, if I first launch a tmux inside the virtual console, and then try ...
-1
votes
1answer
20 views

exit tmux window without quitting the Terminal program

OK I'm new to this. I installed tmux to run a several days experiment. After typing tmux new -s name I got a new window with green banner at the bottom. I compile and run java program. Now I do not ...
4
votes
2answers
26 views

SSH password requested when in Tmux

When I connect to my remote machine I do authenticate using a rsa key (I think is rsa, don't remember). If I do ssh from a regular shell I get logged on the machine without a password. However if I ...
1
vote
1answer
14 views

gnome-terminal : small gap at right side of screen (Ubuntu)

I use gnome-terminal on Ubuntu, and when the window is small (not maximized or fullscreen), my tmux statusline and the ZSH right prompt both stretch to the extreme right of the window, which is ...
6
votes
0answers
42 views

tmux session killed when disconnecting from ssh

Summary: I'm trying to figure out why my tmux session dies when I disconnect from ssh Details: I have tmux installed on an Arch Linux system. When I start a tmux session I can detach from it and ...
1
vote
1answer
19 views

Why is my second tmux session not shown in ps aux or htop but in tmux list-sessions it is?

I start two new tmux sessions, the session name is variably build from a timestamp. (the commands create a new, detached tmux session, which first changes the directory, lists the content and then ...
0
votes
0answers
31 views

nohup, screen and tmux not working when closing connection on yocto linux (intel edison)

I have an Intel Edison with Yocto Linux and standard configurations. It had nohup pre-installed and I managed to install both screen and tmux (by compiling them from sources). Now, I would like to run ...
0
votes
0answers
11 views

Directly start an application in a new screen/tmux session [duplicate]

Is there a way to start a new screen or tmux session, which directly executes a given command/application then detaches again? In pseudo-code something like tmux new -s ft_session --execute python ...
1
vote
1answer
15 views

Why are my windows highlighted when I first open tmux?

Sometimes after having been away from my computer for a while, when I open tmux all the windows in a session have sort of a background highlight: Once I cycle through them, it disappears, and only ...
1
vote
2answers
33 views

Can I see what's going on in a tmux session without attaching to it?

Often I'll use tmux to start a task that will be running for a while. I will periodically go back and check on it using tmux -a and then disconnect if it still hasn't completed and check again later. ...
2
votes
1answer
79 views

tmux vim colorscheme background is not showing

I have installed tmux but now text mode vim colorschemes do not fill the background colour properly. Here is how it looks with colorscheme xoria256 in the normal Ubuntu 14.10 terminal: And here ...
1
vote
0answers
22 views

Tmux eats control tab sequence

I have ctrl-tab (i.e. ^[[27;5;9~) assigned to switch tabs in vim. It works directly under xterm, but when I also run tmux this sequence works only occasionally. I suppose it is because tmux captures ...
3
votes
1answer
220 views

Tmux commands: What is M-whatever

Might be a very silly question to many folks out there, but I'm dense! Ex: Applying predefined layouts: C-a M-1 switch to even-horizontal layout C-a M-2 switch to even-vertical layout ...
0
votes
0answers
48 views

Powerline bash prompt not colorized in tmux

The bash/zsh commandline prompt is not displaying colors in tmux, even though I managed to get the powerline itself working (with colors). The prompt works fine in pure bash/zsh. I am getting the ...
4
votes
2answers
68 views

Tmux cannot find window

I am using tmux after logging into our university server. I have multiple screens (created with Ctrl-B c), some for editing different files. Some for running programs. I go through the tasks with ...
1
vote
1answer
17 views

Tmux Keyboard Shortcut

I pasted the following into my ~/.tmux.conf bind -n <C-w>h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L" It now ...
1
vote
0answers
39 views

“sticky” escape key in tmux

How would I go about configuring my tmux such that when I press my escape character, it stays in escape-mode until I press it again or press Esc? I.e. so that I don't have to press it repeatedly when ...
0
votes
0answers
81 views

tmux unable to start a new session? “1;2c”

Introduction I just installed tmux onto my CentOS 7 machine, but I have encountered a bewildering issue. Whenever I try to attempt to start up a session using tmux or tmux new -s session-name, it ...
3
votes
1answer
273 views

Waching YouTube videos in bash sessions, in ASCII mode

I already found how to watch YouTube videos in terminal, in ASCII mode, but my goal is to watch them in a bash session, without opening a different window. So, supposing I already have a tmux ...
3
votes
0answers
81 views

How to change background color of a pane in tmux?

I would like to change the background color of the inactive panes in tmux to better distinguish between the active pane and inactive panes. Something just a few shades different than the default. How ...
0
votes
0answers
98 views

Error when running TMUX under CYGWIN

When I run tmux in cygwin command line I get the error: $ tmux 0 [main] tmux 6688 C:\cygwin64\bin\tmux.exe: *** fatal error - NtCreateEvent(lock): 0xC0000077 Hangup I tried to reinstall tmux ...
0
votes
1answer
40 views

The form of the cursor in vim in konsole in kde with tmux

I use KDE and for vim in Konsole, I have such commands in my .vimrc: " Konsole " solid underscore let &t_SI = "\033]50;CursorShape=2\007" " solid block let &t_EI = "\033]50;CursorShape=0\007" ...
1
vote
1answer
38 views

How to get guake to update background characters?

This is actually a problem that also goes on with screen. Here is what it looks like (in mutt): When running a terminal application that builds an updated interface from Guake, tmux and screen ...
1
vote
1answer
43 views

Tmux: how do I bind to C— (control-minus)?

I'd like to bind to control-minus in my .tmux.conf but it doesn't seem to work: bind C-- split-window -v Is this possible?
0
votes
1answer
90 views

SSH to a server, execute update command that continues even after logging off the ssh session

Okay I saw a lot of questions like this, but almost all have either theoretical answers which do clear the concept but I am still not able to put it up in code. What I want to achieve using a bash ...
1
vote
1answer
51 views

how to make a tmux window remain open after running command

I'm fiddling with tmux, trying to make it approximate the behavior I've had screen set up for to meet my quite modest terminal needs (I'm no programmer). I just want it to start a couple of Bash ...
1
vote
1answer
71 views

Neither `less` or `less -X` clear screen on exit

Neither less or less -X clear screen on exit. At the same time, vim does.... Env iTerm2, protocol mosh, server Centos + tmux + zsh iTerm2: report term as xterm-256color tmux: set -g ...
0
votes
1answer
49 views

Can I get my iTerm key-combos working in tmux?

I have some shortcut keys defined in iTerm, and I use them for key-mappings in Vim. For example, I map Ctrl-Enter to send a ^[O2P escape code, which I then use to define a Ctrl-Enter key-mapping in ...
2
votes
1answer
72 views

What is tmux's “message-command”?

I've been trying to figure out how to change the background color of the command prompt in tmux's copy mode. It defaults to black on orange, at least on my setup. I changed the color of the command ...
1
vote
0answers
638 views

Terminal colors for Vim Airline and Tmux Tmuxline

When using Vim on its own with Vundle and Airline the theme appears normally: When I have loaded it up in Tmuxline, the theme uses different colors and even Vim looks different: Here's my Tmux ...
0
votes
1answer
58 views

How to split a new window and run a command in this new window using tmux?

I have tried tmux -c "shell command" split-window but it does not seem to work. Using tmux split-window, one can split a new window. UPDATE: Using tmux split-window 'exec ping g.cn' can run the ...
1
vote
1answer
43 views

tmux blocks certain things on my Mac

I really like tmux and use it often so I set the following in my .zprofile: [[ $TERM != "screen" ]] && exec tmux so when I open a new window, tmux will be there for me. However, there are ...
0
votes
0answers
29 views

tmux session stops updating screen randomly

I use tmux 1.6-2 on a Debian 7.6 (wheezy). I open a new session and start a long running script that gives updates in form of a progress bar and an activity indicator (spinning bar: /-\|/ ). When ...
1
vote
1answer
87 views

share existing tmux session

I have a tmux session already running. I have created it just with tmux now I can leave the session and re-enter with tmux a -t 0 how can I share this session with other users? Usually one has ...
3
votes
1answer
53 views

Reorder tmux windows

How can I efficiently reorder windows in tmux? For example, having this set of windows: 0:zsh 1:elinks 2:mutt 3:irssi 4:emacs 5:rss 6:htop What would I have to do to move rss to between ...
1
vote
2answers
200 views

How do I create a simple tmux conf that splits a window?

I'd like to create a simple tmux conf that does the follow. Splits the window/pane/whatever_stupid_terminology horizontally (hsplit) Opens in the top pane tail -f foo Opens in the bottom pane tail ...
2
votes
0answers
26 views

Tmux log output [duplicate]

Im looking for a solution to an issue regarding tmux. One of my scripts ns2server stopped working recently when running start (using tmux) but not in debug mode (not using tmux). I found that using ...
1
vote
1answer
126 views

tmux new pane has home directory as default instead of previous directory

When I press Ctrl+" (create a new pane) while in a pane, which has the PWD /tmp for example, the new pane starts as my home folder ~. I looked at http://unix.stackexchange.com/a/109255/72471 and it ...
2
votes
1answer
367 views

In tmux session, cannot connect to X server after ssh'ing

At work, I have a desktop with a monitor and a few running tmux sessions. At home, I frequently ssh into that desktop and enter my running tmux sessions. When I ssh from home, I do not want to use ...
3
votes
1answer
193 views

Is there a way to find out why tmux crashed

I am trying to shift from using VNC to tmux. My tmux keeps crashing at least once in a week and I am clueless why this happens. VNC rarely crashed and this weekly crash is a strong detrimental for me ...
7
votes
3answers
459 views

How can I have my .bashrc only invoke TMUX if it exists on my system?

I use tmux on most boxes, but not all. I have the following line in my .bashrc file: [ -z "$TMUX" ] && export TERM=xterm-256color && exec tmux which invoke tmux if it exists. I ...
8
votes
2answers
630 views

How do you hide a pane?

I have 3 panes in my tmux window: -------------------------- | | 2 | | | | | 1 |----------| | | 3 | | | | ...
2
votes
2answers
954 views

Tmux Split Panes in the same window

I am new to using tmux in scripting and I am attempting to manipulate it so when I run a script I can have multiple screens attached and split in my Putty session, and also have it color coded and ...
2
votes
0answers
219 views

Have tmux wait until I SSH in, to complete rest of Tmuxinator script

After recently discovering tmux and Tmuxinator, I've been trying to set up a development environment to use. Per protocol, we aren't allowed to store passwords/passphrases in scripts. So what I'm ...
1
vote
1answer
71 views

tmux hightlight colour setting

In tmux, the default highlight setting is a yellow background -- at least on my version and machine. This is when using the mouse on X11 but is the same with the console selection. I cannot find the ...
7
votes
1answer
832 views

How do I change the color of the pane dividing lines in tmux?

I've used the following command to change the color of the status bar at the bottom of the screen: set -g status-bg colour244 But I don't know how to change the color of the lines that divide ...
4
votes
1answer
35 views

How do I re-map the changing pane keys in tmux?

I want Prefix + Up,Down,Left,Right to be mapped to Prefix + Ctrlh, Ctrlj, Ctrlk,Ctrll. I tried: bind-key C-h Left bind-key C-j Down bind-key C-k Up bind-key C-l Right But it didn't really work: ...
2
votes
1answer
65 views

Why does tmux fail to “scroll” when entering a command that exceeds one line? (OSX Terminal.app)

When I use tmux and enter a command that exceeds the line, it fails to redraw the previous line. It simply clears the current line and I can't see what I just wrote. It does only redraw the first ...
3
votes
1answer
39 views

tmux session_name count

Let's say that I created four new tmux sessions (1, 2, 3, and 4). Now, I kill every window in session 2. tmux list-session only show that 1, 3, and 4 are active. If I create a new tmux session, it is ...
4
votes
1answer
367 views

What are valid keys for tmux?

I was trying to learn how to use the bind-key [-cnr] [-t key-table] key command [arguments] better, but was having some trouble figuring out what "valid keys" are for bind-key command. I tried doing ...