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
1answer
13 views

Start tmux with -2

I am using tmux. I am starting it via tmux -2 the -2 enables 256 color support. Instead of starting it with -2 I would like to change my .tmux.conf file to do that for me. What do I have to put in my ...
0
votes
0answers
16 views

Machine rebooting when running process in screen/tmux

For the past couple of days, I've been running some CPU and memory intensive processes on a remote machine running Ubuntu 14.04. Here is the interesting bit: when I run a process on a regular SSH ...
0
votes
1answer
25 views

How to trisect a wide screen?

What is the handiest way for the user to trisect Tmux terminal screen horizontally into left-middle-right or vertically top-middle-bottom tiles, preferably by pressing the shortcut keys just once? ...
0
votes
0answers
21 views

vim in tmux breaks with cyrillic symbols

So, I have file with russian text. Using Ubuntu 12.04 If I run vim in clear console and open this file - everything is ok, here is screenshot But if I run vim in tmux the result is Here is my tmux ...
0
votes
1answer
67 views

tmux in terminal forcing 16 color approximation

In the Ubuntu version of gnome-terminal I'm seeing a weird problem with colors that I know is somehow related to gnome-terminal because this same setup works fine with iTerm2 on my Mac. From terminal ...
3
votes
1answer
119 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 ...
1
vote
0answers
41 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 ...
0
votes
0answers
59 views

How to leave root without exit command or ctrl+D

I'm logged in as root to do some stuff, and i have Tmux open. The trouble is, when I type 'exit' to leave root, it instead closes Tmux, because they use the same command. Is there a way to switch back ...
1
vote
1answer
91 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 ...
1
vote
0answers
58 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 ...
2
votes
0answers
118 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 ...
7
votes
1answer
723 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 ...
1
vote
1answer
380 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 ...
0
votes
0answers
17 views

How to limit the number of tmux sessions that can be created?

I have a habit of creating lots of new tmux sessions, which I never close. So at times might have thirty sessions open. Is there any way to limit the number of tmux sessions that can be created?
1
vote
0answers
102 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 ...
0
votes
0answers
19 views

Mysterious key combination causes Tmux session to disappear

Twice now I have pressed something while in tmux that causes my windows and status bar to disappear. I see the output from the script that started the session, just like a foreground process that has ...
0
votes
0answers
30 views

Passing commands for the new session in tmux

What I want to do is to run a script without having to de-attach myself manually. So at the moment I have a script let's say called tmuxScript.sh, every time I have to either use the previous session ...
1
vote
1answer
156 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 ...
5
votes
1answer
405 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 ...
0
votes
0answers
92 views

How do I start a tmux window on startup and execute a scrips

I would like to be able to start my server and have a detached tmux window with a script running. So then I can attach with ssh and be able to work with the script. Thanks, Anthony
0
votes
0answers
669 views

Nothing showing in Tmux status bar

This is my .tmux.conf # use UTF8 set -g utf8 set-window-option -g utf8 on # make tmux display things in 256 colors set -g default-terminal "screen-256color" # set scrollback history to 10000 (10k) ...
5
votes
2answers
2k 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 ...
0
votes
1answer
53 views

Byobu statusbars of 2 different servers are still different after resetting Byobu

I have two computers running 14.04 where I use Byobu with tmux backend. The difference between both is that one uses an existing home directory that was backed up and transfered to a fresh ...
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? ...
0
votes
0answers
37 views

Configuration of tmux

How to configure tmux to get this theme render, please ? Thanks in advance.
1
vote
1answer
127 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 ...
0
votes
1answer
286 views

How can I start automatically start a tmux session on login?

I want to automatically start a new tmux session IF there are none available when I sudo to root. e.g. reboot PC login as normal user via ssh sudo -s (which would then automatically create a new ...
4
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 ...
0
votes
0answers
61 views

How to make tmux load /bin/bash?

When I load tmux, it goes straight into the #: prompt, and no aliases or nothing loads. I can barely even type regular commands like "source" because it says it's not found. However, when I execute ...
2
votes
1answer
714 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
198 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 ...
0
votes
1answer
178 views

Execute command on reattaching byobu | screen | tmux session

Can I automatically execute a command on reattaching a detached byobu (screen or tmux) session? Every time I login, /etc/motd is displayed. Since I hardly ever log out and in, I'd like to have the ...
2
votes
0answers
319 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
105 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
654 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 ...
1
vote
1answer
381 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. ...
0
votes
2answers
232 views

zsh up-line-or-history does not work in gnome-terminal and tmux

I use Ubuntu 13.04, zsh with oh-my-zsh and up-line-or-history is bind to up arrow (default settings of oh-my-zsh). But this work only in urxvt. I try to use DEBIAN_PREVENT_KEYBOARD_CHANGES in my ...
1
vote
1answer
283 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 ...
12
votes
3answers
579 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 ...
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 ...
0
votes
1answer
387 views

Configuration tmuxinator

I am a user of zsh and tmux. I discovered tmuxinator for configuration scripts to manage sessions, and it's awesome. But I have a problem on a machine, Here is my yaml file tmuxinator: name: admin ...
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 ...
4
votes
3answers
525 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 ...
1
vote
2answers
187 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 ...
12
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 ...
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 ...
19
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?
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 ...
5
votes
1answer
488 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?
11
votes
2answers
3k 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, ...