tmux is an application which allows access multiple separate terminal sessions inside a single terminal window.

learn more… | top users | synonyms

19
votes
6answers
13k 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
8answers
10k 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 ...
15
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
6k 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: ...
13
votes
3answers
7k 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 ...
13
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 ...
12
votes
3answers
555 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 ...
11
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, ...
9
votes
1answer
2k 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 ...
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

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 ...
7
votes
1answer
682 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 ...
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
2k 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
4answers
17k 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 ...
6
votes
1answer
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 ...
5
votes
1answer
427 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
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 ...
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
1answer
337 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 ...
3
votes
1answer
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 ...
3
votes
1answer
488 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
3answers
418 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 ...
2
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 ...
2
votes
2answers
503 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
26 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 ...
2
votes
1answer
1k 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 ...
2
votes
1answer
496 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
330 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
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
79 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
47 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
144 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
284 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
0answers
478 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
1answer
528 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
1answer
802 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
2answers
166 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
87 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 ...
1
vote
1answer
74 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
331 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. ...
1
vote
0answers
20 views

Vim does not load coloerscheme from .vimrc when started from tmux

I got a very simple startup script, that starts a gnome-terminal with a running tmux session. #!/usr/bin/env bash gnome-terminal -e "tmux" --window --full-screen When I run Vim inside this ...
1
vote
0answers
46 views

$DISPLAY env var gets cleared at random times

Stock Ubuntu 14.04 Trusty. I seem to regularly experience the $DISPLAY environment variable getting cleared for some reason I don't understand. Basically everything will work just fine until it's ...
1
vote
0answers
77 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 ...
1
vote
0answers
70 views

Custom keyboard shortcut variation question

I already have a keyboard short-cut that works for tmux I mapped: Ctrl+Alt+B to the command: gnome-terminal -e tmux BUT when I open up vim in the tmux session started by this the colors don't ...
1
vote
0answers
34 views

How can I stop a process from moving to the background?

I have a machine running Ubuntu server version 12.04.3 LTS. On it, I'm attempting to run a node.js server that needs to stay up and running at all times. I'm running into an issue, however, where ...
1
vote
1answer
221 views

tmux - unable to start any gui application

I am running Ubuntu-gnome 13.04. My default shell is zsh 5.0.0 and I usually run tmux 1.7 in the terminal 3.6.1. In terminal, if I evince or gedit, the applications start as expected. I can append an ...
1
vote
1answer
877 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 ...
0
votes
1answer
274 views

gnome-terminal does not differentiate between C-d and C-S-d

When I run cat on gnome-terminal, both C-d and C-S-d terminate it. This is because gnome-terminal cannot distinguish between these keys and sends and EOF in both the cases. Is there a ways I can ...