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

29
votes
10answers
20k 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 ...
25
votes
3answers
12k 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: https://bugs....
22
votes
7answers
18k 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?
18
votes
2answers
11k 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
17
votes
1answer
5k 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 ...
17
votes
3answers
14k 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 ...
16
votes
4answers
36k 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 ...
15
votes
2answers
5k 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, ...
15
votes
3answers
2k 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 ...
14
votes
1answer
5k 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 non-...
14
votes
3answers
9k 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 ...
12
votes
3answers
678 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
3answers
2k 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 ...
10
votes
1answer
6k 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 ...
8
votes
2answers
6k 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
5k 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 ...
8
votes
1answer
3k 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
5answers
7k 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 ...
6
votes
1answer
837 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 ...
6
votes
2answers
5k 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 ...
6
votes
2answers
2k 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 ...
6
votes
2answers
695 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?
6
votes
1answer
660 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 ...
5
votes
1answer
3k 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 ...
5
votes
1answer
1k views

byobu scrolling and text selection

I want byobu running in gnome-terminal to: Interpret mouse wheel scrolling as scrolling up in the current byobu window. Allow me to select text with my mouse (eg, to copy it to the clipboard). Is ...
5
votes
1answer
224 views

How can I change the cursor in vim depending if I'm in insert mode or normal mode? [closed]

I'm used to working on GVim, but I want to make most of vim+tmux too. Therefore I have decided to switch to vim. But in vim the cursor style does not change depending on the mode. I use zsh and ...
4
votes
4answers
2k 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 ...
4
votes
2answers
2k 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 ...
4
votes
2answers
463 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 ...
4
votes
2answers
586 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
638 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
1answer
733 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 ...
4
votes
4answers
1k 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 can'...
3
votes
1answer
1k 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
974 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
2k 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 ...
3
votes
1answer
52 views

Why doesn't gsettings work in tmux?

I'm trying to change various dconf settings with gsettings. For some reason, it only works when I'm not in tmux. I can read settings within tmux, but setting them fails silently - it appears to work, ...
3
votes
1answer
890 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 ...
3
votes
1answer
829 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 ...
3
votes
1answer
45 views

How to group applications used together?

I frequently use tmux to split my terminal so that half my screen has vim and the other half is the shell. This allows me to somewhat "group" vim and the shell together so that whenever I alt-tab to ...
3
votes
0answers
181 views

How to share byobu with multiple users?

The best way to learn and troubleshoot is to pair up with someone else on the internet via text based screensharing. Love the ergonomics of byobu for a single user at a single time. However when I ...
3
votes
1answer
832 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
2answers
2k 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 ...
2
votes
2answers
2k views

How to disable window caption bar in GNU Screen?

I usually split my GNU Screen into four regions, and I don't really need the status bars for each of those windows. Is there an option to disable GNU Screen window status bars? I could only find ...
2
votes
1answer
7k 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 ...
2
votes
1answer
611 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. I'...
2
votes
1answer
228 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
525 views

Getting gnome-terminal to run tmux on start

I'm 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 and ...
2
votes
1answer
305 views

Problem with tmux startup displaying running config. (powerline)

I just installed powerline using this tutorial: http://askubuntu.com/a/283909/408189 Now, the first thing I see when I open tmux with the command tmuxis what looks like the running config. What I ...
2
votes
1answer
165 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 ...