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

1
vote
2answers
15 views

How to view logs online during heavy usage with screen, tmux or Byobu?

Normally I use tail -F, but on heavy usage it is getting irresponsible and unreadable. On ssh I also use buyobu to type password only once. But when any of screens become irresponsible then all ...
0
votes
0answers
18 views

Synchronize clipboard with ssh + tmux + vim + iterm2

I just want to make local copies from vim, and paste them on the remote vim, or vice versa. I know, there are dozens of posts, but I cannot make the clipboard sync on my configuration. I have tried ...
0
votes
0answers
16 views

Why are my TMUX session options (set-option blah) always being applied globally?

Terse How can I set a different status-bg color in two different TMUX sessions? Why are environment variables acting unexpectedly in .tmux.conf? Verbose Different colors for the status bar I have ...
0
votes
1answer
23 views

Ubuntu virtual terminal cursor style resetting

I am running Ubuntu 14.04 and using one of the virtual terminals (TTY[1-6], accessible via Ctrl-Alt-F[1-6]); I want to permanently change the appearance of my cursor from the apparent default, a ...
0
votes
0answers
2 views

tmux spawn new ssh session same machine as current session

If I have an active ssh session in tmux and want to run a long-running command that logs to stdout without backgrounding it. Right now I get another session by creating a new window and sshing into ...
0
votes
0answers
8 views

How does one set automatically that vi is the key bindings during copy mode in tmux?

I thought it would be as simple as putting: set-window-option mode-keys vi but its not. I get the error: /Users/my_useranme/.tmux.conf:19: can't establish current session ...
0
votes
0answers
6 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
1answer
7 views

bind tmux prefix key to option-a

I currently have my prefix key as set-option -g prefix C-a However, I want to change it from the C or control key to the option key which sits directly to the right of the control key. It's easier ...
0
votes
0answers
9 views

Fullscreen TMUX sessions selection

I've found TMUX's choose-tree command to be quite useful when navigating between sessions, but I dislike it only displaying inside of the current pane. I'd prefer it to overtake my entire screen. ...
0
votes
0answers
8 views

Unable to scroll a tmux pane terminal UP/DOWN with mouse scroll button in tmux [duplicate]

I set mode-mouse off since I wanted to copy a word by double clicking instead of using SHIFT and left click, but now I am unable to scroll up/down a particular terminal running in a pane/window using ...
-1
votes
1answer
11 views

tmux detach session remote

I run at first terminal tmux, then I run another terminal with tmux and attach to session which I run at first terminal. First is smaller than second and I can't go to it to do something. How to ...
0
votes
1answer
16 views

Moving from screen to tmux but having trouble in copying (double click doesnt work in tmux)

While in putty double clicking a word copies it to clipboard, I am unable to copy by doubling clicking when I am using tmux in putty. I am able to do it using SHIFT key, but I want to do it without ...
0
votes
0answers
18 views

How do I automatically ssh in tmux if I open a new pane or window from an ssh pane or window?

I'm a bit of a novice to the darker and way awesomer side tmux (as in I've been using it for a while, but really want to start customizing it and tailoring it to work well for me), and so there may be ...
0
votes
1answer
11 views

change shortcut for visual mode

I would like to change my .tmux.conf file to reflect the following change: Ctrl+b "[" -> toggles visual mode to Ctrl+b "v" is it possible? how?
0
votes
1answer
12 views

tmux change copy mode key maps

Is it possible to remap the controls in the copy mode of tmux? I want to remap a few keys in the vi layout of the copy mode. Yes, I've googled the problem. A lot. I haven't found a way to remap the ...
0
votes
0answers
20 views

Stuck in insert mode in tmux

I'm doing something accidentally that makes me stuck in insert mode while in tmux. I have no idea what I'm doing or how to set it back. Outside of tmux not a problem. Pressing the insert key does not ...
0
votes
1answer
4 views

Separate visual styling for sessions in tmux

I wanted to set my status bar to be green in one session of tmux and red in another, but when I change it in one via command mode, the color status bar in the other session changes as well. Is it ...
1
vote
0answers
19 views

tmux mouse passthrough mode?

How do you make mouse-wheel scrolling in tmux work with programs such as less and man? It will work properly with emacs and vi/vim in xterm mouse mode, but less doesn't. EDIT Is there a way to have ...
1
vote
1answer
18 views

Automatically kill tmux session on session end?

I have the following snippet in my .bashrc which starts tmux whenever I'm at the command line: # Start inside tmux if [[ $(command -v tmux) ]] && [[ -z $TMUX ]] && [[ $TERM != ...
0
votes
1answer
27 views

tmux: Configure center of status line

I am using tmux on different servers, and like to show the hostname of the current host in a prominent position in the top center. On the man page, I only found options to set the right- and ...
1
vote
0answers
12 views

Multi-page output :: text select with tmux over ssh

I have a local terminal within tmux. Now I connect to a remote server via SSH and run some command piped to less. With tmux I can easily select part or the entire screen, however I can not select text ...
0
votes
0answers
14 views

Save a command output to tmux buffer

Is there a way to place output of a command to tmux buffer. I know I can switch to copy mode, select and copy. However, I would prefer a command-line method. For example, I have a command find $PWD ...
0
votes
2answers
17 views

how to fix Tab key in iTerm2+tmux on OSX

when I want to press tab, I need press tab two times in tumx on OSX, how to fix it?
0
votes
1answer
7 views

Why is Escape key not working in tmux?

If I hit Escape to leave Alsamixer, or to enter vi-mode in zsh, nothing happens. How can I get Escape working in tmux?
1
vote
0answers
25 views

How to save multiple sessions in tmux?

I use tmux-plugins/tmux-resurrect to restore a tmux session. Albeit, I can only save one session. Is it possible to save multiple sessions in tmux with this plugin?
1
vote
0answers
16 views

Why Does tmux Append Dollar Signs to Truncated Lines When Scrolling?

I'm seeing some strange behavior out of tmux in Fedora 22. This behavior can be reproduced as follows: Print output that requires scrolling to view (I.E. printf "%0.shello" {1..10000}) Enter ...
0
votes
1answer
31 views

tmux exits with [exited] on Ubuntu 14.04

The machine is a VPS that I SSH into. The problem started when I installed Prezto tmux -v also exits with [exited] sudo tmux doesn't work either I don't have a .tmux.conf I seem to have a ...
1
vote
0answers
15 views

How to kill tmux session and move to another if there is session available?

By now, I have to use different command depend on how many sessions available. When there is only one session if I use command for the other, it would raise this output due to no session to move next. ...
0
votes
0answers
18 views

Remote tmux does not respond for 30-45 seconds after unlocking osx

I often attach to a tmux session on a remote machine, for the usual reasons (session life, reattaching across different networks). But sometimes, when I unlock my machine, this tmux session does not ...
0
votes
1answer
102 views

Tmux 1.8: How can I use scrolling and mouse-select-pane at the same time?

If I set mouse-select-pane, I am able to select pane with mouse, but I can no longer scroll with my mouse within program like less and man like before. How to solve this? I am using ubuntu
0
votes
0answers
16 views

How can I switch tmux windows from within a script?

In a script, I'd like to switch tmux windows and have everything after that point happen in the new window, until I switch again. For instance, I'd like (something like) this to work just as a naïve ...
0
votes
0answers
13 views

tmux: what is the mode I get periodically locked in when (attempting) pressing Ctrl-B Z

I am quite new to tmux (but familarized with the basics). Regularly, I end up in a mode, I do not understand, and I do not know how to leave anymore. This happens sometimes when having multiple panes ...
0
votes
0answers
8 views

After losing connection to ssh with tmux, random characters get sent with mouse `27M64;85;27M64;8`

If I lose my ssh connection, and I have tmux running on said ssh'd login terminal, then sometimes, I get a weird behavior when I return to my local shell. Mouse behavior sends weird sequences to my ...
0
votes
0answers
11 views

How can I get tmux to tell me its prefix (in a script)?

In a script I want to be able to display the currently configured tmux prefix to the user, but the closest thing I can find tmux send-prefix doesn't seem willing to give me a simple string I can ...
1
vote
1answer
52 views

Solarized in Konsole + tmux + vim

Solarized color scheme works fine when using Konsole + vim, but I can't figure out how to properly configure my computer for a Konsole + tmux +vim usage (please see screenshots on the links). Below, ...
0
votes
0answers
39 views

Tmux ssh to current server

I use tmux to keep multiple connections to different servers separate and organized. I find I often split windows if I need to keep an eye on more than one thing, but I always close the split, because ...
0
votes
0answers
32 views

Erroneous Space in Powerline Bash, in Tmux

When running powerline in bash, in tmux, I see an unnaturally large space after the prompt. I thought it might be a font issue, but the shell is handling the font ok, when not in tmux. Any tips on ...
0
votes
0answers
14 views

Bind rename tmux window to a key

I am able to change the window name with the set-option set-titles-string foo command, and I would like to bind it to a key. I have this line in my .tmux.conf: bind-key r command-prompt -p "Rename ...
0
votes
2answers
28 views

Tmux: bad key binding error

$ tmux source-file ~/.tmux.conf bad key: Tab-Space unknown key: Tab-Space What's up? I checked the man page. Tab and Space are valid. Why doesn't this combination work when C-b works?
1
vote
2answers
123 views

Starting gnome-terminal and automatically run specific process (roscore)

I'm typing $ roscore and It starts succesfuly. $ run_roscore.sh is succesfully too. run_roscore.sh: #!/bin/bash /opt/ros/indigo/bin/roscore exec $SHELL But I've adding shortcut to ...
0
votes
1answer
50 views

Make less use alternate screen, but only if entire file won't fit on one screen

I'd like less to quit immediately if the entire file can be displayed within one screen. For this, I'd use the -F option: -F or --quit-if-one-screen Causes less to automatically exit if the ...
1
vote
1answer
152 views

Key bindings broken in tmux 2.1

I have the following lines in my tmux.conf: bind C-n next-window bind C-p previous-window Then I have the following key mappings in ITerm2, which send send C-f C-p and C-f C-n to the terminal (my ...
0
votes
2answers
60 views

Pass mouse events through tmux

I have noticed that scrolling in tmux is a hazzle and was wondering if it was possible to have tmux pass them along to the application or terminal. I may be understanding things wrong here but I have ...
0
votes
0answers
17 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
25 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
1answer
31 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
17 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
35 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
34 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
0answers
114 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 ...