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

21
votes
9answers
12k views

Vim in tmux display wrong colors

I installed Ubuntu 11.10. Then downloaded Solarized theme for Gnome Terminal. From terminal my vim looks good: plugin vim-powerline displays correctly and syntax is highlighted with proper colors. But ...
20
votes
6answers
14k views

How to install new tmux 1.8 on Ubuntu 12.10 or 12.04?

Are there any PPA? If no, how to make it from sources? Which dev libs I'll need to do this?
17
votes
3answers
7k views

How do I make the F-keys work in byobu, for midnight commander (mc), htop, etc?

I use byobu with the tmux backend on my 12.04 server. I'd like to use the midnight commander shortcut keys with it, but the F keys don't work. I've seen some posts on the issues here: ...
17
votes
2answers
9k views

How to get byobu to launch tmux instead of screen?

The latest versions of byobu should apparently be configurable to run tmux instead of screen, but I haven't been able to. Advice appreciated
14
votes
3answers
8k views

Why does upstart keep respawning my process?

I wrote an upstart script to launch a daemon inside a tmux session. It works well and respawns the process if it dies unexpectedly, but I can't seem to stop it manually. The job (called bukkit) looks ...
14
votes
3answers
1k views

How do I get ctrl-left / ctrl-right to jump a word again in byobu?

On my Ubuntu 11.10 machines running byobu 4.37 I can use the key combination ctrl-left / ctrl-right to jump a word at a time in the terminal. However, on my Ubuntu 12.04 machines with byobu 5.17, this ...
13
votes
1answer
3k views

How do I change the default shell used in Byobu (tmux)?

I've become addicted to Byobu and I've recently shifted from bash to zsh; Now I want to combine the two, however I have a one initial pre-requisite: I cannot make zsh the default shell for my user as ...
13
votes
2answers
2k views

Byobu: open different tabs in different windows of the same session

Let's say I have a byobu session running with multiple tabs open. Then if I open a new terminal, and start byobu, it will take me into the same session. If I then switch byobu tabs in one terminal, ...
12
votes
3answers
586 views

Can bash get out of sync with the filesystem?

I may not be phrasing my question correctly, but I'll do my best to explain the symptoms I'm experiencing. First, for context, I'm running an Ubuntu server (no GUI), version 12.04.3 LTS (according the ...
10
votes
1answer
3k views

Name a Byobu session?

Is there a way to create identifiable Byobu sessions so that when I've got multiple sessions running, the byobu-select-session menu gives me a list of sessions I can recognize, as opposed to ...
9
votes
4answers
21k views

Where is the default tmux.conf file located?

I want to copy the default tmux.conf file to my home directory, but I can't find the location in Ubuntu 12.04. The man page states that the file resides at /etc/tmux.conf however this does not match ...
8
votes
2answers
1k views

How to use Byobu keybindings in a nested remote session?

I'm using Byobu (with Tmux, inside of gnome-terminal) and I have a problem with its keybindings (which I probably fail to understand). I launch byobu, open a few windows then, from one of these ...
8
votes
2answers
4k views

Tmux key binding issue

I've switched from using screen a while back to using tmux. I have a tmux config which uses screen's Ctrl+a sequence, instead of tmux's default Ctrl+b. However, one issue I've found is that if I ...
8
votes
1answer
2k views

How do I see the history of the commands I have run in tmux?

I am running 12.04 server and when I type history in bash I see most of the commands I have entered into bash but I don't see the commands I have entered when in a tmux session. How do I see the ...
7
votes
2answers
3k views

What is the difference between Terminator and Tmux ?

What is the different between Tmux and Terminator? I currently use Terminator which allows me to add more shell in same screen by splitting them horizontally or vertically. I read about them in some ...
7
votes
1answer
3k views

Lock Tmux Session With Vlock

I have just installed tmux and vlock. When I try to perform the lock-session command, my terminal flashes and then nothing happens. Is there something in my .tmux.conf that must be added to tell tmux ...
7
votes
1answer
1k views

Terminal emulator left-click to open link

So I've been trying to get back to using Linux as my primary OS. I'm running Ubuntu 12.04 with Gnome 3. I've tried multiple terminal emulators, but they all seem to have a common failing: you need to ...
6
votes
1answer
744 views

What is the status of GNU screen?

Two answers in this question state that screen is unmaintained. However, the GNU repository of screen shows an upload this year after 6 years, and 14.04 has two newer versions than the earlier Ubuntu ...
5
votes
2answers
2k views

How to run zsh and tmux with xterm-256color by default

I am using ubuntu gnome 14.04 and I want to have tmux and zsh opened when I start a new terminal. For now, in my preference of the terminal, I run tmux by default. In the ~/.tmux.conf file I have ...
5
votes
1answer
501 views

How to make byobu start with byobu -u on login/startup?

How do I make byobu start with unicode support by default? If I have done byobu-enable how I can set this -u option?
5
votes
1answer
424 views

Open terminal in current directory with tmux

I have a simple .bashrc file at the moment that allows me to always open the same terminal (reopen, actually) running tmux. The important part is shown below. The essence of this is that when you ...
4
votes
4answers
5k views

Terminal with tmux style screen splitting?

Moving from OS X, loving Ubuntu so far. One thing I'm missing is an iTerm 2 like terminal emulator that allows for easy screen splitting. I could use tmux, but would like to be able to copy and ...
4
votes
2answers
396 views

Synchronize panes in byobu

anything similar to tmux synchronize-panes on in byobu with tmux as back-end?? I am a cluster admin and would love to use byobu rather than clusterssh which lets me do synchronous writes
4
votes
1answer
166 views

gnome-terminal can't set 256 color support correctly with or without tmux

I've been trying to set up 256 color support correctly for quite some time but it seems to never work for me so I'm not even remotely sure what I'm doing wrong. How it looks in the terminal vs gVIM: ...
4
votes
3answers
595 views

tmux becomes unresponsive when tailing a quickly updated file

I have a log file that I am writing a few hundred lines to a second. I want to tail this in a tmux pane. However, when I do this tmux becomes unresponsive - I can't change panes or windows and I ...
3
votes
4answers
1k views

gnome-open raises this error when run from inside tmux

The error I get is this: GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for ...
3
votes
1answer
623 views

How to prevent ecryptfs from umounting home if tmux is still running?

I have a server, which i access over ssh. Sometimes i like to run some scripts (some of them in the background) in tmux and then detach it, close the connection and access tmux later. But ...
3
votes
1answer
258 views

Automatically running tmux in fish

I've recently changed my default shell to fish (from bash). I had tmux set up to run automatically whenever I opened the console with bash, but I'm not sure how to set it up with fish. I tried ...
3
votes
1answer
894 views

Tmux [exited] on startup

I recently installed Tmux and became really glad for it. All of a sudden I though it would start throwing an error when I try to create a new session from within my terminal: tmux new -s my-session ...
2
votes
1answer
179 views

Why does tmux/byobu fill my screen with garbage characters when I copy a selection?

When I copy a selection from tmux with a window split, my screen fills up with garbage characters. Depending on the size of the selection, it could be a lot, or just one line. The following images ...
2
votes
2answers
741 views

What are socket files?

Recently, I started using tmux; I'm trying to use the pair programming feature in that software. During the process a socket file was created. My question is: what are socket files, how am I to open ...
2
votes
1answer
22 views

Use tmux set-clipboard in gnome-terminal (XTerm's disallowedWindowOps)

As shown in the manpages tmux supports the set-clipboard option to control the system clipboard using the terminal escape codes \e]52;...\007. I would like to use this functionality in gnome-terminal, ...
2
votes
1answer
1k views

Can byobu (tmux) show a multiline status

With byobu-screen the default status line had two lines. With byobu-tmux however the default status line only has one line. I liked the seperate line with the list of windows, it let me see more than ...
2
votes
1answer
28 views

Getting gnome-terminal to run tmux on start

I am trying to figure out how to get my gnome-terminal to launch run "tmux -2" on starting. I have tried modifying the Exec lines in the gnome-terminal.desktop file to Exec=gnome-terminal -e -tmux -2 ...
2
votes
1answer
55 views

Gnome-terminal not working properly with screen-256colors

Today I noticed I did not have 256 color support in Weechat. I decided this would be a quick fix. It isn't. First thing I googled was how to test the color support in terminal. I have installed ...
2
votes
1answer
133 views

Copy from remote tmux+Vim to local clipboard

I use Kubuntu and sometimes I ssh out into a server and attach to a tmux session there. Is there any way I can select -using the mouse or the keyboard- a large chunk of text (more than une screen ...
2
votes
1answer
111 views

Run tmux not byobu

I've been using tmux for a number of years, earlier today I thought I'd try byobu - to see what it's like. But now I can't get back to tmux. When I run tmux I end up back in boyobu. Does anyone know ...
2
votes
2answers
1k views

Start a tmuxinator session in gnome-terminal on login

I'd like to start a tmuxinator session when I login (Gnome on Ubuntu Lucid). I've tried variations of the following but they all execute and close the terminal window. The following have been given to ...
2
votes
0answers
173 views

Bind keys over SSH to switch tmux tabs

I typically have 4 or 5 tmux "tabs" (aka tmux windows) open. They are created by pressing Control+B, C In many applications you can Control+Tab to switch between tabs (or internal windows, or ...
2
votes
1answer
234 views

bashrc shortcuts in Tmux

I have sets many shortcuts in .bashrc profile of local user, and they work properly. Currently on my 12.04 system but when ever I tried to used them in tmux, I always get the same response command not ...
2
votes
0answers
357 views

UTF-8 character not showing properly in tmux

I use ♪ character in my zsh theme's for prompt. But in tmux, my prompt was behaving weirdly, showing extra spaces, like this: ♪ ~ I can type from here ♪ ~ Instead of here like in zsh, and sometimes ...
2
votes
1answer
1k views

Cannot use bash tab complete in tmux

I just install tmux on Ubuntu 12.04 LTS and it throws me this error when I try to use tab completion for simple commands like 'cd' or 'mv' in the /etc/bash_completion file. command substitution: line ...
2
votes
0answers
502 views

Why is Gnu Screen slow to scroll in a vertical split region? [closed]

On my Ubuntu, Gnu screen is very slow when scrolling in a vertically split region (the one you create with CTRL-A |. But Tmux doesn't have this problem. Why is this?
1
vote
2answers
1k views

Disable keybindings in byobu using tmux backend

I've setup the alt + arrow keys bindings for changing tab in vim (in .vimrc): map <silent><A-Right> :tabnext<CR> map <silent><A-Left> :tabprevious<CR> this ...
1
vote
1answer
107 views

Customize Colors for Bash Terminal

I found this nice color library called Solarize which promises to liven up my hacking experience with a color terminal. I am not where to add the Solarize files to change. I found some ...
1
vote
1answer
1k views

How to change key binding for Tmux

I want to change the key binding in Tmux so I can use Ctrl + Alt instead of Ctrl + B This is my (unfortunately) not working try to do so. unbind C-b set -g prefix M-C What's wrong with this? ...
1
vote
2answers
197 views

Problems with vim-r

Getting the following error when opening an .R file in vim (vim-r installed). Error detected while processing /home/johnros/.vim/r-plugin/common_global.vim: line 3106: E484: Can't open file ...
1
vote
1answer
515 views

Putty, Byobu, Tmux and function keys

I'm currently trying to use byobu from PuTTY via ssh. I have currently putty-256color as Terminal-type string because otherwise not even Byobu bindings worked and I couldn't create new windows or move ...
1
vote
1answer
194 views

Use multiple byobu sessions, while ignoring unrelated tmux sessions

So, I have access to a shared shell account where other people and I do some work. Some people prefer use tmux, so they have open their tmux sessions, loading config from ~/.tmux.conf. I prefer to ...
1
vote
1answer
409 views

How can I remove C-a as a byobu tmux prefix?

I figured out how to add set -g prefix ^B to .byobu/profile.tmux I typed the same command at the tmux : line and indeed ^B is now my prefix character, but ^A is also still my prefix character. ...