tmux is a terminal multiplexer, which allows users to work with terminals in terms of windows and panes, which can be created, destroyed, attached, and reattached at will.

learn more… | top users | synonyms

0
votes
0answers
44 views

tmux detaches all sessions on idle

How to configure tmux to automatically detach only clients of one particular session when user idle for some time on this session? I have this in my config: set -g lock-after-time 1000 set -g ...
1
vote
1answer
111 views

Send non-tmux window to tmux

I have a few terminals open. I'd like to send the processes in those terminals to a tmux session rather than saving, closing, restarting under tmux, and then getting the process back to the state it's ...
0
votes
1answer
179 views

Use Windows Key in tmux

I'm using a PC a lot where X is not running. I want to use the left windows key instead of control-b as the escape character for tmux How can I achieve this? Without xev, etc. I don't really know ...
0
votes
1answer
184 views

cannot type anything into tmux (some keys have weird behaviour)

I'm using tmux via wemux. Sometimes the input seems to be stuck and only very few things are working: can not enter any characters or numbers can still see the output of the program that's running ...
0
votes
0answers
37 views

Is it normal for tmux to behave erratic when issuing “clear” command?

I have multiple panes, and every time I enter the clear command in one of the panes - strange things happen. For example, I enter "ls" on both panes, then if I clear the right pane (#2) - it clears ...
0
votes
1answer
75 views

Tmux seems to be taking some input (backspace, enter) literally. How can I stop this?

I've got debian and when I'm in tmux, sometimes my input is taken literally. (FWIW I ssh into this computer.) For instance, I was earlier doing: sudo apt-get remove ftp And when It would ask for ...
2
votes
2answers
1k views

How can I Install Tmux in Cygwin?

I'm trying to install Tmux under a Cygwin 64-bit installation on Windows 7 64-bit. I'm following these instructions: http://java.ociweb.com/mark/programming/tmuxInCygwin.html I successfully compiled ...
2
votes
0answers
81 views

tmux visual indication if panes are synchronized

Is it possible for tmux to have some visual indicator if synchronized-panes is enabled for the window? Perhaps the status bar changes to blue, or just a star appears somewhere? I often set ...
0
votes
1answer
56 views

Start tmux session with only one window but several panes

I'm trying to configure tmux so it starts creating a new session with three panes. One big pane on the left und two small panes on the right side. I set set -g default-terminal "screen-256color" ...
0
votes
1answer
41 views

Use tmux for managing multiple downloaders as a supervisorctl service?

I have many data-servers I need to download data from via http as soon as it is available. For each server I start a bash "while true"-loop and within that a wget to poll the server for new data. To ...
0
votes
0answers
11 views

Don't scroll on search

When searching with / and ? in scrollback/copy mode (VIM style) tmux scrolls the window so that the search result appears in the center of the screen. I find that this makes me loose track of where I ...
0
votes
1answer
142 views

Tmux New Window Default Name

I'm using tmux on Fedora 20 (I installed the default tmux rpm using yum). When I create a new window inside tmux, the default title is something like this: user@hoest:/path/to/this/folder which is ...
2
votes
1answer
784 views

Mouse scrolling in vim through tmux, how to configure?

I'm using a combination of PuTTY, tmux and vim. If I just open an SSH connection with PuTTY and then open vim, mouse scrolling works as expected. But if I open tmux and then open vim inside tmux the ...
0
votes
1answer
91 views

How can I manage a tmux session using supervisord?

I want do mirror the data of some 15 different servers that aperiodically but continuously provide files that I need. For this, I created a tmux conf that opens 15 tmux-windows with shells that run ...
0
votes
1answer
85 views

Tmux: Start a window as root?

I currently have a shellscript which creates a session for me that has 3 windows: Zsh - Empty Vim - Runs Vim, started by tmux-sendkeys) Diff - Empty However, I would like to introduce a 4th window ...
2
votes
1answer
64 views

tmux limit activity-monitor window size

As part of my work I typically need to connect to multiple different servers via SSH. I like to run a local tmux session to manage various terminals and then from within the SSH session to the remote ...
0
votes
0answers
27 views

How do I determine whether a program other than bash is running in a different pane in tmux, and if so suspend it and return to the shell temporarily?

I am trying to write a bash script to script tmux and do things in every pane in my current window. That I have down, but I'd like to be able to know if another window is running the shell or if I'm ...
0
votes
2answers
52 views

How to recover tmux output?

I have a Play application that runs in tmux and its logs print on that terminal. I saw the last lines of it. It has generated only a few thousand lines of logs at most. I want to recover all the ...
3
votes
1answer
586 views

vim inside tmux: throws “E388” with <C-Left> in insert mode [duplicate]

I've read that in insert mode in vim, one can use <C-Left> and <C-Right> to move by words. This works for me, but only as far as I don't run vim inside tmux terminal splitter. When inside ...
5
votes
1answer
912 views

tmux - scroll up/down with shift + page up/down into a pane

I would like to be able to scroll up/down into a given pane with the same keybinding that xterm does, i.e SHIFT + Page Up/Down. For example, if the tmux window is divided into 2 vertical panes, I ...
3
votes
1answer
351 views

Rename Iterm2 tab from within tmux

I can use the following function to rename a iterm2 tab and that works great. function rename_tab { echo -ne "\033]0;"$@"\007" } However, if I run this function while in a tmux session, then ...
0
votes
0answers
11 views

How to create a pane with a height of 1

I'm writing a bash script that uses tmux. In it, I want to create a pane wioth a height of 1 line. I tried doing tmux splitw -v -l 1, but that just gave me a pane with a height of 2. I also tried ...
0
votes
1answer
249 views

Detach from local tmux session to attach to remote tmux?

I currently have my new Konsole instances pop up already within a tmux session, whether new or attached, since tmux is awesome and you should always be inside tmux, right? However, this puts me in a ...
0
votes
0answers
20 views

Don't reduce tmux size to smallest client?

When running wemux for instance, you don't want a mirror client to be able to reduce the view size for every client watching. Is there a way to force a window size or let a single client manage the ...
0
votes
1answer
69 views

How do you close the tmux list-keys screen?

In tmux, after pressing the prefix key (Ctrl + b in my case) and then pressing question mark to go to the list-keys screen, how do you close out of the list-keys screen and return back to whatever you ...
0
votes
1answer
44 views

What prefix keys are allowable in tmux?

Lots of people modify their tmux prefix keys. Usually it's Control+something. But surely other things are possible. I tried, for example, ,t, but on starting tmux, I got the error bad key: ,t. So ...
4
votes
1answer
123 views

Making vim use the alternate screen

This thing is driving me crazy. I have already searched the internet and SE and found a lot of related questions but none solve my problem. I'm using Zsh inside tmux. Until a couple of days ago ...
0
votes
1answer
68 views

zsh function cannot be used in tmux

I wrote up a special function to wrap a command, in ZSH, so it doesn't output any warnings and runs the process in my background. This command works great without tmux, but when I try to use it in a ...
1
vote
1answer
130 views

Tmux - Check if server is up

Is there any known tmux-function, like tmux has-session -t <session>, but to check if the tmux server is currently running? It would be handy when writing automation-scripts. When checking if a ...
0
votes
0answers
52 views

How to rearrange windows into tabs with iterm2

I'm using iterm2--tmux--tmuxinator integration. That's awesome. However, iterm2 wants to open up a different window for each window, and there's no obvious way to configure that to use tabs. The only ...
1
vote
1answer
139 views

Tmux mouse mode does not works with large gnome-terminal

I'm running tmux on gnome-terminal with mouse support activated. When the width of the terminal is not too big then it works flawlessly, however, when I use it in full screen mode the mouse clicks are ...
2
votes
1answer
98 views

Case insensitive search in tmux's copy mode?

So in tmux's copy mode you can search text with the ? (at least if it's in vi mode). However, it only finds matches with the same case. I also want matches that have a different case. So, when I ...
0
votes
0answers
76 views

Why commands work at top of file, but not at the end

This is .tmux.conf file & as you can see it has a shell selection command at top. But it doesn't work if I put this line at the bottom. when I open tmux, it doesn't show any error or anything, but ...
0
votes
0answers
34 views

Restore tmux sessions with relevant conent on reboot

While Restore tmux session after reboot does give us a list of possibilities, I couldn't find any readily-available script to restore a tmux session with relevant content from each pane/window at the ...
1
vote
1answer
166 views

What are the benefits using terminal multiplexer

I am using terminal, vim, mutt, etc daily. I use windows, tabs and panes. Now I came to know about Tmux, terminal-multiplexer. But I am not quite sure why I need to use it. I already using windows and ...
0
votes
1answer
148 views

Tracing an error message when starting Tmux or Vim

Recently when I start Tmux on my Mac (with Powerline) in iTerm, I get an error git: Permission denied. I also get the error over and over again as I type in Vim (also using Powerline). As you can ...
0
votes
0answers
22 views

How to set urxvt so it can ignore a certain utf-8 character as a part of a word?

I'm using debian testing distro, and I have urxvt pseudo terminal. I need the character "│" to be ignored and not treated as a part of a word. When I double click (with Lshift in tmux) on a word it ...
0
votes
1answer
396 views

Is there anything like iTerm2 + Byobu on Windows?

I'm stuck running Windows as my primary OS at work. I'm trying hard to find a good console environment, but falling short. I'd like to have iTerm2 + Byobu. So far I'm using conEmu with the cygwin ...
1
vote
0answers
128 views

Is there a way to set margins/paddings in tmux?

I'm just wondering if something can be done with the effect presented below: As you can see, I divided the window into 3 panes. When it comes to copying, everything is fine except double click on a ...
5
votes
1answer
134 views

Can I use the output from a ZSH custom function in Tmux's status bar?

I defined a function in ~/.zshrc: foo() { print "FOO" } I'd like to output it in my Tmux status bar. I added this to ~/.tmux.conf: set -g status-right "foo: #(foo)" But I only see the static ...
2
votes
1answer
48 views

Weird Tmux issue

When attempting to split Tmux windows by using commands, I get the opposite effect of what one should expect: The command tmux split-window -v Produces a horizontal split, while the command ...
0
votes
1answer
33 views

Tmux ignores first splitw command in .tmux.conf

set -g history-limit 50000 new -s ds -n WindowName Command neww -n foo/bar foo splitw -h splitw -h splitw -v splitw -v This is my tmux.conf file. I start it by using tmux attach. It does everything ...
3
votes
1answer
1k views

How to reload tmux config file which has defined multiple sessions?

I'm using two separated sessions in tmux, and I have the following entires in /etc/tmux.conf : set -g base-index 1 new -s logi -n cmd neww -n logi "cat /dev/logi | ccze -m ansi -p syslog -C" splitw ...
0
votes
1answer
338 views

How to resize tmux panes inside tty

I'm not sure if I used the right term, but by "tty" I understand the console that you can switch to using ctrl+alt+f2 key combination. echo $TERM points to linux. Anyway, when I enter the tmux mode I ...
0
votes
1answer
475 views

How to start a command in tmux + urxvt setup?

I'm trying to make a pretty nice desktop console which can show system logs from /dev/logi . The device displays new content from several files in /var/log . I want to use urxvt and tmux to do so. ...
3
votes
1answer
589 views

Does “ulimit -Su” limit the number of user processes created in interactive login subshells and tmux sessions created therein?

A few months ago, I wrote a set of bash scripts utilizing tmux to create a simple IDE on an AIX 7.1 server. There is a bug in one of my scripts that will sometimes generate user processes very rapidly ...
0
votes
0answers
10 views

Is it possible to use a single function key to turn on/off the mouse in Tmux?

Is it possible to use a single function key to turn on/off the mouse in Tmux? For example: I want to use F12 to toggle the mouse on/off.
0
votes
1answer
1k views

Vim inside tmux on Mac OS X Mavericks can't copy to clipboard

Since going to Mavericks, I've lost the ability to use the clipboard in vim when run under tmux. I install vim via brew. For reference, yes, the +clipboard option is definitely set. When I run vim ...
1
vote
0answers
38 views

Tmux - dynamically split vertically and horizontally based on # of commands?

I'm curious to know if there's a way that tmux can dynamically split and adjust windows based on the number of commands you provide. Currently, this is the way I'm having to do something tmux ...
1
vote
0answers
243 views

tmux in zsh with vi mode, toggle cursor shape between normal and insert mode

(note: I wrote this question on stackoverflow, but got flagged as offtopic, so I'm re-writing it here) Here's what I want: Consistent behavior (as much as possible) between Vim, MacVim, zsh with ...