tmux is terminal multiplexer software, allowing users to work with terminals using multiple windows and panes, which can be created, removed, attached, and reattached as needed.

learn more… | top users | synonyms

0
votes
0answers
33 views

Terminal progress bar broken in tmux

I recently switched to tmux. Most things work as expected but I now have a very annoying behavior of progress bars. Instead of replacing the 'previous' bar now there is one bar after the other ...
0
votes
0answers
32 views

tmux + SSH client integration on Windows?

Are there any Windows SSH clients that support native tmux integration similar to iTerm2 on Mac OS X? E.g., iTerm2 can detect multiple tmux panes and displays them as separate iTerm2 tabs. I would ...
0
votes
2answers
63 views

Cannot bind prefix-less command exclusively to uppercase letter (C-H vs. C-h)

I have the following prefix-less key bindings in my tmux.conf. bind -n C-J swap-window -t -1 bind -n C-K swap-window -t +1 bind -n C-H select-window -p bind -n C-L select-window -n These bindings ...
0
votes
0answers
46 views

tmux balance 8 panes that were created from both horizontal and vertical splits

I have create 6 panes and resized in a tiled way by Ctrl + B, Alt + 5. |0|1| |2|3| |4|5| Then I created another 2 panes, and would like them to show up evenly |0|1| |2|3| |4|5| |6|7| However, ...
-1
votes
1answer
50 views

How to use bash script with tmux terminal?

I use tmux with shortcuts provided by the program. How can i use my shell script for performing several options e.g:check if session exists etc.
1
vote
1answer
50 views

Tmux not working in Xterm on Debian Stable

I'm trying to use tmux on my computer and it runs perfectly as root, but I'd rather run it under my own account. When I run it with my account, I get a variety of error messages that include "Cannot ...
1
vote
1answer
344 views

In iTerm2 how can I automatically connect to an existing tmux session using -CC?

I've found using iTerm2 and tmux -CC to be quite helpful tying the existing iTerm UI with tmux windows & panes. I'm trying to figure out how to automatically attach to an existing session at ...
0
votes
0answers
18 views

Can I change the “current window” in a tmux session without opening the client?

I am writing a script to switch to a tmux window which is something like: wmctrl -a "tmux" tmux select-window -t window:pane #Calculated from dmenu selection The problem with this is that, it ...
1
vote
2answers
247 views

Tmux option window-status-activity-style refuses to override window-status-format

I'm trying to have tmux draw my attention to background windows when they have new activity in them, but I'm having trouble with the various -activity- options. It seems as though any setting I give ...
1
vote
1answer
403 views

tmux 2.0 on OSX: ~/.tmux.conf doesn't work

I've installed tmux 2.0 from homebrew on OSX 10.10.5 By default it does not create a config, but I've researched that there should be ~/.tmux.conf file so I've created it myself I'm using iTerm2. The ...
1
vote
0answers
60 views

tmux + iterm2 integration: can't maximize pane

Is there a way to do this? By this, I mean if you have split panes, you were able to maximize a pane with iterm2 with shift + command + enter. I believe it's possible to do this in tmux as well based ...
0
votes
0answers
18 views

Tmux - select window by name

I have multiple sessions with multiple renamed windows. I would like to execute something like tmux select-window [window-name] and go to that window. The select logic can be "fuzzy". Does an ...
0
votes
0answers
160 views

Activating tmux Control Mode without resizing session

When using tmux (v2.0) Control Mode from a second Terminal window, the existing session is resized. This is frustrating when the second window is very small. To reproduce, with a tmux session named ...
0
votes
0answers
43 views

Tmux reset scrollback on keypress

When you've scrolled back within tmux (using the mouse via mode-mouse), is there a way to make tmux reset the scroll when you press a key (unless that key is a tmux command)? This seems to be ...
2
votes
1answer
30 views

Tmux: How to join 4 sessions into 4 horizontally panes

If I have four sessions called PP1, PP2, PP3, and PP4, how would I join them so that they would look something like this: ----------------- | | | | | |PP1|PP2|PP3|PP4| | | | | | ------...
0
votes
1answer
611 views

How to reset the terminal emulator from tmux?

I want to "clear" the tmux pane completely. When I do something like bind-key C send-keys "clear && tmux clear-history" \; send-keys "Enter" suggested in http://stackoverflow.com/...
3
votes
1answer
763 views

Why does ‘tmux’ create new windows as login shells by default?

When you start a new session in tmux or create a new window inside a running session, its default behaviour is to run a shell (ex.: bash) as a login shell. I understand that a login shell is intended ...
0
votes
1answer
83 views

Is there a limit for the number of consoles in Ubuntu?

I have a VPS with Ubuntu 12.04 server. I have two tmux sessions with 3 and 4 windows, with bash running in each. Now, I want to create one more session. The first window in that session is ok. If I ...
0
votes
0answers
76 views

how to keep the window's name fixed in tmux after I rename it with zsh

I use zsh with oh-my-zsh and tmux 1.8.1 I want the windows' name changed with the changing of my dir,but fixed after I first rename it. It is fine when I use shell, but the windows' name will still ...
2
votes
1answer
215 views

sz and rz fail to transform files in tmux?

I use xshell to SSH to a Linux remote server—running Red Hat Enterprise Linux AS release 4 (Nahant Update 3)—without root. There aren’t any problems to use sz, rz to transform my files until I start ...
0
votes
1answer
410 views

Cygwin+tmux over ssh problems: open terminal failed: not a terminal

I can't get tmux to work inside an SSH session to a Windows machine with Cygwin: USER@HOST ~ $ tmux open terminal failed: not a terminal GNU/Screen is working fine. I understand tmux is a bit ...
0
votes
3answers
64 views

Jumping to previous prompt in terminal

In a terminal, are there any shortcuts to jump to a previous/next prompt? Scrolling up and trying to find the start of a log slows down my workflow. I'm using iTerm on OSX, but this should be ...
1
vote
1answer
157 views

How to source a script in every panes and windows of a specific tmux session

I have a shell script specific for a project which create environment variables, aliases and run some commands. I want to create a tmux session for this project which will source my shell script ...
0
votes
0answers
36 views

tmux copy-mode page up with M-v on OSX

For some reason, C-v pages down no problem. However, when I hit Alt-v, nothing happens. Here's my config: # Make C-a escape unbind C-b set -g prefix C-a bind C-a send-prefix # Make it like emacs ...
1
vote
0answers
173 views

In tmux, is it possible to list all panes in all windows?

Say, I got two windows, Window 1 contains 2 pane (1, 2), Window 2 contains 3 panes(1,2,3), and I'm in pane 1 in Window 1, and I want to jump directly into the pane 2 in Window 2, PREFIX w which is ...
2
votes
1answer
79 views

How to make byobu output the complete history directly to buffer?

It is possible to enter some sort of scrolling back mode with some keys. But I wonder if we can directly output to the buffer and use the scrolling of the terminal app. I noticed it is possible, ...
1
vote
1answer
143 views

Is it possible to close the ssh session without closing byobu or the window?

If I use byobu, exit only closes the current shell. And I have to close all the shells to terminate the session, which is terrible, because I want to keep all the shells, which is why I use byobu. ...
0
votes
1answer
35 views

tmux server being killed when shell closes

Tmux server and my tmux sessions are being killed at the end of my SSH sessions. SSH session: # timepoint 0 $ tmux # timepoint 1 # ^D [detached (from session 0)] # timepoint 2 $ tmux a # ...
1
vote
1answer
153 views

gitk not working inside of tmux

I have a weird issue where gitk does not run when I use it inside of a tmux session. If I run gitk from tmux, I get: Error in startup script: 58:102: execution error: An error of type -10810 has ...
0
votes
1answer
37 views

Change to Virtual Console 2-4 on target system via PuTTY and screen

I am trying to figure out how to change to Virtual Consoles 2-4 on a target system using PuTTY and screen. I have read the screen man pages and the replies here, but I still can't figure it out. ...
1
vote
0answers
57 views

iTerm2 + TMUX closing behaviour

I've just discovered tmux integration with iTerm2 and it's fantastic! The only thing that I'd love to change is the exit behavior on closing the window. The current behavior exit's the tmux session. I ...
0
votes
1answer
171 views

bash error when starting shell from tmux

When I open a new shell in tmux I get an error message. This error message does not show up when I start a new shell in GNOME terminal. What might tmux be running at startup that I need to check? ...
2
votes
1answer
467 views

Consequences of 'escape-time 0' tmux setting?

I find that when running (neo)vim inside tmux, the escape-key is delayed. This is fixed by putting set -sg escape-time 0 in my .tmux.conf. Presumably, this disables the possibility of using ESC as ...
0
votes
1answer
119 views

Swap Left Alt and Right Alt on Kinesis Keyboard (or Any Keyboard)

Let me back up my problem a little bit for context. I am trying to use the same modifier-key-plus-letter combination between both vim and tmux so that, if I have a vim pane/whatever on one side and a ...
0
votes
2answers
141 views

Persistent tmux session with shared socket

I would like there to always be a tmux session on a socket in /tmp/shared with a session of 0. That way I can always attach to the session via SSH: ssh user@www.example.com -t tmux -S /tmp/shared ...
1
vote
0answers
67 views

Can tmux display pretty pane corners?

I'm in the process of picking up tmux, and I'm sure I'll get used to it, but this pointy edge is bothersome. Is there a way to make the corner flush, like this (fixed with gimp)? I know that the ...
1
vote
1answer
94 views

How to access tmux session created in an ssh session locally?

After I created a tmux session and detached in an ssh session, running tmux attach at a local terminal does not bring me the session I created (tmux ls also lists nothing). ps shows tmux is still ...
1
vote
2answers
378 views

Emacs cursor is invisible in tmux in iterm2

When I try to use emacs -nw inside a tmux pane under iterm2, the cursor is invisible. This behavior is present regardless of which theme I use in iterm2. I'm using emacs version 24.5 on Mac OS X 10....
0
votes
2answers
110 views

tmux create panes programatically

I want to create tmux panes programatically. e.g. I have a list of commands to execute, and I'll create a shell script that will invoke a tmux command along with the commands to execute in each pane, ...
-2
votes
1answer
149 views

Alternatives to byobu as a tmux distribution?

Are there good alternatives for byobu as a tmux distribution?. Minimal, stable and that just works? or most tmux users just learn tmux specifics and configure it all by themselves?
0
votes
1answer
261 views

How to dynamically set window titles in Tmux?

I want to set the title of Tmux windows dynamically to the path of the first pane. How do I set a title dynamically?
0
votes
1answer
32 views

What's the relationship between multiplexer and terminal?

Recently, I learned there's this tmux tool. in wiki, it defines tmux is a terminal multiplexer and I kinda get the idea of what it is capable of. But I'm a little confused about the relationship ...
0
votes
1answer
93 views

Tmux: binding Ctrl-`

I'd like to bind Ctrl-` in tmux to select-pane. I've tried: bind -n C-` select-pane -t :.+ Which gives me: unknown key C-` I've also tried: bind -n 'C-`' select-pane -t :.+ Which gives me the same ...
0
votes
1answer
196 views

Bind Tmux prefix to an unicode character?

I'd like to bind the Tmux prefix to the unicode character  (while also keeping C-b). I'we tried putting the following in my ~/.tmux.conf, but none of theese works set -g prefix M-$ bind M-$ send-...
2
votes
1answer
80 views

what does the 'set -g' command do in tmux?

I see references to set -g <command> in tmux, for example set -g status-right ' #[bg=colour33] Branch #[(git branch)] ' I have googled and looked in man tmux and also info tmux but cant find ...
1
vote
1answer
143 views

Copy text without exiting copy mode

tmux's copy-mode offers the ability to scroll up through a window's history, visually select text, and copy it to the clipboard. As soon as text is copied, copy-mode exits and tmux returns to insert ...
4
votes
1answer
770 views

Run command in detached tmux session and log console output to file

I can run a command in a detached tmux session with: tmux new -d 'while true; do date; sleep 1; done' I can run a command in an attached tmux session and log the console output with: tmux new '...
1
vote
1answer
49 views

Tmux linux keybindings like S-C-E not working

I am trying to create S-C-E shortcut in my ~/.tmux.conf I have succeeded with staff like: bind -n ^e split-window -h bind -n C-e split-window -h # But none of the following seems to work: bind ...
1
vote
2answers
135 views

Can I fix a broken tmux session?

When my tmux session gets messed up, e.g., after I accidentally cat a binary file, is there a way to fix it? reset doesn't help much when I'm inside of a tmux session.
0
votes
0answers
25 views

tmux disregarding the configuration file even when no sessions exist

This question is similar to this question, but in this case running "killall tmux" or "tmux kill-server" is not effective. Running "tmux list-sessions" returns "failed to connect to server". Running "...