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
14 views

How to quit multiple tmux windows which are in a single window?

Please help me to exit from 2 tmux terminal windows by saving whatever I'm working on.
0
votes
0answers
6 views

How to display the name of the program instead of sudo in byobu?

I'm using byobu when working on the shell. If I start a program the name of it is displayed in the status line. However when something is prefixed with sudo it just displays sudo (sudo tail -F ...
0
votes
0answers
12 views

Clearing the number of sessions in square brackets at the bottom of tmux session

I know that the number represents the number of sessions, but I want to know does it affect the usage in any way? And how do I clear it to turn it back to 0? The number 8 in the square brackets.
5
votes
2answers
537 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?
1
vote
0answers
18 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 ...
2
votes
0answers
65 views

Vim does not load colorscheme 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
2answers
67 views

tmux not reading my .tmux.conf

I have the following entries within my .tmux.conf in home directory set-window-option -g xterm-keys on set -g default-terminal screen-256color set -g history-limit 10000 However an echo $TERM ...
23
votes
10answers
13k 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 ...
0
votes
0answers
24 views

Can't open pdf file with 'atril' window in tmux

I am using ubuntu-make 14.04 and in tmux, when I try to open a file in command as: atril <some_pdf_file> I got this error message: (atril:11587): EggSMClient-WARNING **: Failed to connect ...
0
votes
1answer
87 views

problem with tmux startup displaying running config. (powerline)

I just installed powerline using this tutorial: http://askubuntu.com/a/283909/408189 I have a problem where the first thing i see when i open tmux with the command: tmux is what looks like the ...
2
votes
1answer
226 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

Tmux Signaling Events

I'm not sure if this is possible but here's what I have running on tmux. (Using tmuxinator or tmux same idea). This is my mux config: name: dummy root: ~/projects/dummy windows: - service: ...
13
votes
1answer
4k 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 ...
5
votes
2answers
3k 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 ...
2
votes
1answer
65 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
61 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, ...
1
vote
1answer
663 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
391 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 ...
3
votes
1answer
135 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 ...
0
votes
1answer
16 views

How can I get a Byobu split to reload users permissions?

Having updated a users group with usermod -G <grouplist> <user> in one Byobu split, I was hoping to be able to open a new split and have the permissions take effect there.. rather than ...
4
votes
1answer
235 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: ...
0
votes
1answer
53 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 ...
8
votes
2answers
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 ...
0
votes
0answers
30 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 ...
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 ...
0
votes
1answer
28 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
54 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 ...
8
votes
2answers
4k 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
139 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 ...
4
votes
3answers
687 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
1answer
224 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 ...
4
votes
2answers
442 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
3
votes
1answer
410 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 ...
0
votes
0answers
86 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
0answers
64 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
243 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 ...
6
votes
1answer
768 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 ...
17
votes
3answers
8k 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: ...
0
votes
0answers
24 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?
0
votes
0answers
40 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
34 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 ...
2
votes
1answer
213 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 ...
22
votes
6answers
16k 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?
0
votes
1answer
532 views

Why does gnome-terminal swallow some of my Alt tmux shortcuts?

I've enabled a bunch of no-prefix shortcuts is tmux (like Alt-c for new window, Alt-n for next), which has made my life so much better. The problem was, my shortcuts didn't always work. Maybe every ...
6
votes
1answer
464 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
1answer
73 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
2k 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? ...
2
votes
1answer
284 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
422 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 ...
15
votes
3answers
10k 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 ...