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

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
166 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 ...
2
votes
0answers
562 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
459 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
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
556 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
3k 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
822 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 ...
1
vote
1answer
83 views

installed package with snap - command not available

I saw that tmux is available with snap find and apt-cache. I decided to install with snap. Howto use now tmux? I am normal desktop user, not cloud computing. # snap error: Please specify one ...
1
vote
2answers
226 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
21 views

opening a very long url in tmux terminal

I have a problem with opening very long URL in tmux. In my case the URL is longer than a line and tmux break it into multiple lines. However when I use mouse to click on the URL, it only opens the ...
1
vote
1answer
36 views

Show session name in byobu

Is there any option to have the status bar in byobu display the current tmux session name?
1
vote
1answer
166 views

tmux: opening new shell in pane?

I've been using GNU Screen for some time and have become accustomed to the following workflow, where I will: Split a region into two windows (C-a " or C-a |) Open new shells up in these two windows ...
1
vote
2answers
406 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 ...
1
vote
0answers
19 views

Cannot enter Latin-1 characters in tmux

After upgrading to Ubuntu 16.04, I cannot enter Latin-1 characters (like Umlaute ä etc.) in tmux. I tried the packaged tmux, self-installed tmux 2.1 and 2.2. Furthermore, if I 'view' a file in tmux, ...
1
vote
0answers
26 views

Control-capslock Tmux error?

I'm having trouble getting tmux to accept a caps-lock key that has been remapped using setxkbmap. I use the following: setxkbmap -option ctrl:nocaps When running tmux, the usual BASH command line ...
1
vote
0answers
79 views

How to integrate byobu (tmux) and vim split switching?

In byobu you can move between splits with the SHIFT + ARROW key combination. I found this guide on making Vim work with tmux; but, I'm wondering how I can make it work with byobu key bindings or if ...
1
vote
1answer
33 views

Attaching tmux to an existing session, or creating a new session

For a while, I used screen -dURS to solve this problem. The goal is to be able to run a command that attaches to an existing session with a specific name, or creating a session with a specific name ...
1
vote
0answers
25 views

How to run a script at startup and access it later [duplicate]

I want to run a script at startup that I will need to interact with later. I could find ways to run a script at startup, but no ways to come back to it after it has run. The script never ends. I ...
1
vote
0answers
37 views

Byobu automatically open windows on boot

I really enjoy using byobu and the launch at login feature. I'm trying to figure out the best way to have a byobu session automatically launch on system boot, with several windows running different ...
1
vote
0answers
65 views

how to install tmux from source

I've successfully compiled tmux from source and followed instructions. Now I want to installing it, alongside man pages & bash auto completion. I cannot find the instructions to do so. EDIT: ...
1
vote
2answers
76 views

How to detach process in a server with X windows?

Can you help me with this problem? I want to detach a process I start in a server. This process is an application with one window/widget (similar to gedit, kate...). I access to the server by means ...
1
vote
0answers
126 views

Change keybinding Shift-F12 in byobu using tmux backend

I'm using byobu on my desktop and servers. To operate in nestet session I'm using Shift-F12, bun when I want to use e.g. htop (F-keys) I need to: add unbind C-S-F12 to ~/.byobu/keybindings.tmux and ...
1
vote
1answer
86 views

Problem with rename-window in tmux

I have a tmux session called "session1" and two windows both with the name "zsh". I wanted to change the name of my current window to "TeX_Code". Steps were: Ctrl+B : rename-window 'TeX_Code' ...
1
vote
0answers
33 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 /var/...
1
vote
0answers
84 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
1answer
474 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 ...
0
votes
1answer
301 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 ...
0
votes
1answer
329 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 ...
0
votes
0answers
16 views

Download snap “tmux” from channel “stable” (snap not found)

I installed tmux with snap. Now it seems to be missing from App Store? How to find the reason why missing? It means no updates to tmux? I do something wrong? $ snap changes ID   Status  Spawn         ...
0
votes
1answer
60 views

vim theme showing up strange in tmux

My vim is configured like so: syntax on colorscheme brogrammer set nu set expandtab set tabstop=4 set autoindent My tmux is configured like so: set -g default-terminal "xterm-256color" ...
0
votes
0answers
110 views

Can't copy from vim to clipboard inside tmux

I am using vim vim 7.4, tmux 2.1 and ubuntu 14.04. I can yank from vim and copy to clipboard when using vim directly from my terminal with "+y. When I use vim from inside tmux, I can't yank-copy from ...
0
votes
0answers
57 views

tmux/byobu name windows based on working directory

If my CWD is /some/path/projects/foo/other/dir, I'd like the window to be named foo (as opposed to the name of the command running in that window). How would I do this?
0
votes
0answers
30 views

Customizing byobu display: display path

I've been trying to get this right many times without success. I'd like to display the path in my gnome terminal somewhere: in the title bar or in the bottom frame of tmux while using byobu. This is ...
0
votes
1answer
57 views

How to embed a gui in my terminal?

Like I want to show the firefox in my tmux terminal, without showing it outside the terminal. Is that possible?
0
votes
0answers
55 views

Byobu won't launch on login

I've recently started using byobu instead of tmux but I can't get it to launch on any of my ubuntu 14.04 AWS servers. My steps have been: sudo apt-get install byobu byobu-enable This gives this ...
0
votes
0answers
132 views

Can no longer type in login shell

I attempted to ssh into my work computer from home this weekend and everything was going fine at first. However, I am normally used to having several terminals open at once, and it was a little ...
0
votes
0answers
48 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.
0
votes
1answer
36 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 ...
0
votes
1answer
195 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
1answer
41 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
1answer
93 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 ...
0
votes
1answer
264 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 ...
0
votes
2answers
336 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 ...
0
votes
1answer
686 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 5-...
0
votes
1answer
623 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 ...