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
1answer
2 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
11 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 ...
0
votes
0answers
9 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 ...
0
votes
0answers
8 views

tmux very slow on Mac OS X Yosemite

When I run tmux very slow on Mac OS X Yosemite, it takes a few seconds to load, then the input is very delayed. This seems to have been a recent issue. It's occurring on both Terminal and iTerm2. Has ...
1
vote
1answer
11 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
9 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
6 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
0answers
14 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
18 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. ...
0
votes
0answers
14 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
45 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? ...
1
vote
1answer
63 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
29 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
34 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 ...
0
votes
0answers
28 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
24 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 ...
0
votes
0answers
30 views

Tmux + Vim split screen artefacts

I recently switched my whole workflow to tmux + vim and so far it was awesome; However I have on very frequent problem: There are artefacts after scrolling around in a file. Note that on the right ...
0
votes
0answers
15 views

Tmux per-window priority

When using gnu-screen, I can set per-screen-session CPU and I/O priorities: sudo /usr/bin/nice -n 15 ionice -c2 -n7 sudo -i -u $user -- 'screen -dmS build' sudo /usr/bin/nice -n 20 ionice -c3 sudo ...
1
vote
2answers
76 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 ...
0
votes
1answer
27 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, ...
0
votes
0answers
14 views

tmux hangs when closing terminal

When I open 2 terminals with 2 different tmux sessions and close one (without exiting the session), the other one hangs. I am using tmux 2.0 (compiled from source) with zsh and testing with no conf ...
-2
votes
1answer
46 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
49 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
17 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
35 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
40 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-$ ...
1
vote
1answer
27 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
36 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 ...
1
vote
0answers
125 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
27 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
50 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
22 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 ...
1
vote
2answers
54 views

Creating a “kill current session” shortcut in Tmux

Is it possible to create a shortcut in Tmux which would kill current session? Typing "kill-session -t mysession" is not very convenient I imagine something like bind X kill-session -t ...
0
votes
1answer
153 views

Configuring function keys in PuTTY for both Vim and Midnight Commander under tmux?

First off, I'm aware that I can use Alt+1 (through 9 and 0) to synthesize the respective function keys (F1 through F10) in Midnight Commander. It has helped me many times, but by default I still press ...
2
votes
0answers
78 views

Bug with resizing panes in tmux when using ZSH

I am using Tmux with ZSH and have a problem when trying to resize panels. I am currently using these bindings to resize panels as I work: unbind-key M-j ; bind-key -n M-j resize-pane -D 1 ...
0
votes
0answers
59 views

In mc within tmux ctrl-o doesn't work

When I run mc within tmux: $ tmux $ mc 'Ctrl-o' in mc desn't work properly: mc panes disappear, but the shell command prompt doesn't appear, and pressing any key causes mc panes appear again. When ...
1
vote
1answer
172 views

Some shift+arrows not working in tmux?

I am attempting customize tmux so that Ctrl-Arrows are used for pane selection Shift-Arrows are used for pane resizing Alt-Arrows (left, right) are used for window selection ... all are working ...
1
vote
1answer
50 views

tmux - get pwd of another pane in a bash script?

Is there anyway to find out information about the current working directory of any pane from within a tmux session? I'd like to write a bash script that changes the directory of the current pane to ...
0
votes
1answer
95 views

In tmux, is there something similar to `monitor-activity` but for a single pane?

I use bind m setw monitor-activity so that I can easily toggle whether or not I want visual updates about when a window has updated. However, sometimes I'll have a window with panes which have updates ...
0
votes
0answers
11 views

Scrolling in tmux over SSH (PuTTY) [duplicate]

I'm SSH'ing into my RaspPi (Raspbian) with PuTTY and I want to user tmux in order not to worry about a connection ending while I'm installing something. My Problem is, that when I call tmux from a ...
1
vote
1answer
18 views

Tmux detaches from one side when force to adjust redimension

Whenever I have a tmux's session opened at the same time in more than one terminal with different sizes it auto adjusts its size to the smaller one. I could fix that by doing C-b and then :attach -d ...
0
votes
0answers
12 views

Can I change the tmux prefix to double backslashes?

If so, how do you go about it? set-option -g prefix "\\" doesn't seem work. Is this a bad idea?
1
vote
1answer
112 views

How to select pane in tmux via mouse over

As the title suggests, I want to select a pane in tmux by just doing mouse over on the pane, like it can be done with Gnome Terminal. I don't want to click the pane to select it. Is that possible?
0
votes
0answers
95 views

Move tmux status bar to the very bottom of my screen

Is it possible to display the tmux status-bar at the very bottom of my monitor and not have the 1cm gap between it and the bottom of my screen? I looked online and could only see the queries ...
0
votes
1answer
16 views

Can I rename tmux tabs to hostnames and commands?

I'd like my tmux tabs to display the hostname of the machine (the guest machine if I'm SSHed) and the currently running command on that machine. Is that possible? Thus, if I have machines named "Home" ...
0
votes
0answers
5 views

How to quickly select paths or words from program output?

I have a program that outputs file paths and certain words that I would like to quickly copy and paste (e.g. ps). Is it possible to bind a key so that tmux will search up and select next delimited ...
1
vote
1answer
70 views

How to make zsh always show environment variable name instead of the path?

I have an environment variable set to my projects folder like this: PROJ=$HOME/projects When I want to open a project folder i just type PROJ/project_name and the shell opens the directory and my ...
0
votes
0answers
28 views

Execute commnad after server started in other pane with tmuxifier or tmux

I have a window with several panes where I execute commands to start the servers. I want to be able to execute commands after a server is running. To run commands in the same pane is not possible ...
0
votes
1answer
64 views

Change tmux window list color

I want to change the color of window list selection highlight (yellow on the screenshot), but can't find the proper parameter. Anyone knows how to do it in .tmux.conf? My current configuration.
0
votes
0answers
28 views

Session name background in tmux changes to red

My tmux status bar looks like this: Every now and again it changes to this, i.e. the session name background changes to red. I suppose this has to do with the exit status of the last command but ...