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.
5
votes
1answer
145 views
Tmux current pane border not obvious
I'm struggling to tell which pane is the current one in tmux if there are only two. The border only seems to highlight the adjoining edge which makes it impossible to tell. Here's a Gif to highlight ...
1
vote
1answer
40 views
how to show different status when shell idle in tmux
I'm running multiple screen by tmux.
I wish tmux could show 'red' color status if one window stop send out any text for some seconds. Is there that function?
3
votes
2answers
289 views
Tmux notify when someone write me on IRSSI
I'm successfully using IRSSI inside Tmux to manage my chats. I've also tried the great tmux-powerline, which seems really full-featured.
Now, I'm wondering if there is a method to make Tmux notify me ...
1
vote
1answer
118 views
In tmux, arrow and ctrl+arrow both result in the same code
Ubuntu 12.10, TERM is set to screen-256color in putty and tmux.conf, confirmed when I export both in and out of a tmux session.
If I run cat > /dev/null and then press <down> then ...
1
vote
1answer
60 views
Vim on screen, without looking
I'm trying to do the following:
Start a new screen session
Start vim on it.
Feed commands to it.
Check the output
as a means of testing vim. I can do this, but the catch is that I want it to be ...
1
vote
2answers
90 views
Does tmux “sort” the PATH variable?
I have a reproducible problem:
set up my PATH in Bash .profile
start tmux by tmux, tmux attach or any variant
echo $PATH and see it with the same components but in different order
How to stop ...
2
votes
0answers
69 views
tmux - how-to enable automatic switching from 80 to 132 columns and back
Currently in our terminal based accounting system, clients mostly use putty (0.61) and when a report is viewed in the terminal, an escape code is issued that kicks the screen from 80 to 132 columns if ...
1
vote
0answers
33 views
Set tmux title to path
I'm currently setting tmux to update the window title to the name of the currently running command by doing the following:
set-option -g set-titles on
set-option -g set-titles-string '#S:#I.#P #W' # ...
0
votes
0answers
125 views
Copy text from remote via iTerm2 with Tmux to OS X clipboard
I'd tried using iTerm2 beta Build 1.0.0.20120724 and using bind C-y run-shell "reattach-to-user-namespace -l zsh -c 'tmux show-buffer | pbcopy'" in .tmux.conf but none works.
The solutions I found ...
0
votes
1answer
109 views
Weird distance between margin and cursor (iTerm2 + tmux)
I'm running iTerm 2 on 10.8 and I've installed zsh with oh-my-zsh and tmux (both from homebrew). When running zsh in iTerm it's all good, however, as soon as I run tmux, there is this weird distance ...
0
votes
1answer
59 views
Tmux: start copy mode and selection at the same time
I just started using tmux and trying to get a few bindings to work the same as on screen. One of the binding that I used very often on screen was to start copy mode and selection at the same time, as ...
1
vote
1answer
315 views
tmux: occasionally CTRL+B <arrow key> prints character code ([A, [B, [C, or [D) instead of switching panes
When I try to switch panes in tmux with ctrl+b , tmux sporadically prints the corresponding character code [A, [B, [C, or [D instead of switch panes.
I can do this repeatedly, exactly the same way, ...
3
votes
1answer
73 views
No-socket alternative to tmux or screen
My university gives each student a directory on their AFS which is accessible via SSH. There is a (light) CLI-driven piece of software that I would like to run continuously from the university.
I ...
0
votes
1answer
82 views
tmux configuration conditional to OS
There's some lines of my tmux.conf which I'd like executed only if my OS is Mac. However, I'd like to use my tmux.conf on multiple different OS's. How can I make a command conditional to the OS on ...
1
vote
0answers
36 views
tmux mouse select and scroll at the same time?
When in copy mode in tmux, using the mouse is there a way to select text, and scroll the window up at the same time? When selecting text the buffer does not scroll up when I reach the top boundary.
I ...
0
votes
1answer
52 views
Text no longer shows after killing program, using tmux
I'm running a Minecraft server and whenever I "sh rtoolkit.sh" to start the server, everything works fine however once I stop the server and return to the command line ready to enter a command, text I ...
1
vote
1answer
217 views
Is it possible to search tmux scrollback history?
I'm starting to use tmux, and I already love it. But if I could search through scrollback history it would be even better (e.g. like in iTerm2). Is there a way to do it as of now?
0
votes
0answers
137 views
Tmux visual artifacts, strange character map
It’s running a java program outputting console log.
Config file
# visuals
set -g status-bg black
set -g status-fg white
set -g status-left '#S (#[fg=green]#(whoami)@#(hostname)#[fg=white])'
set -g ...
2
votes
1answer
276 views
Correct way to get emacs 16 color support inside tmux?
I'm trying to get a custom color-theme (solarized) setup for my emacs that utilizes a 16 color palette, which I've already set up for my terminal (gnome-terminal).
When running emacs from a normal ...
0
votes
1answer
98 views
Setting caps lock key to CTRL but still function as caps lock if I press for long enough in Mac OS X
If possible I would like something similar to this: http://apple.stackexchange.com/a/4815/31313
Basically a simple script that detects when I'm in tmux, if I am change the CAPS lock key to be a CTRL ...
0
votes
1answer
60 views
Irssi in tmux - Messages overwritten
I'm trying to run Irssi in tmux, and I've been coming across something strange. Whenever a new message is received, it overwrites the last message. For example, say the following chat log is in my ...
3
votes
1answer
41 views
Is there a way to disable closing panes in Tmux?
I am using tmuxinator. Here is my project file.
project_name: Network
project_root: ~/Code/Network
tabs:
- editor: vim
- worker:
layout: ...
2
votes
1answer
94 views
Can tmux and a SSH-client on Windows be more integrated?
I am using tmux on my Debian server and PuTTY on Windows. This works as expected, but sometimes I wish, to have a more Windows like feeling when working via SSH, eg. have separate windows for the ...
2
votes
1answer
47 views
'subl -w' doesn't ever un-block when running under tmux on OS X
On my mac, I have $EDITOR set to 'subl -w'.
If I run my shell session under tmux, it opens the editor fine, but the command on the terminal never exits. However, this works fine on a terminal by ...
2
votes
1answer
141 views
Binding tmux command key to ctrl-\ on mac
I'd like to use ctrl-\ as the command key for tmux.
Ctrl-a and ctrl-b conflict with bash and emacs bindings.
set-option -g prefix C-\
When I start a tmux session, I get:
/Users/justin/.tmux.conf: ...
3
votes
0answers
51 views
iTerm 2 running tmux session causes “startup disk almost full” randomly
Anytime I run a tmux session, disk space will randomly begin filling up and the computer will slow down, then everything goes back to normal. This happens periodically. I am using iTerm 2.
Does ...
2
votes
1answer
136 views
tmux: trying to bind utf8 key
I'm using tmux 1.6 with konsole on Fedora 17 i686.
I have an azerty keyboard (with accentued chars), and I want ton bind 'ù' key.
I made the following ~/.tmux.conf:
setw -g utf8 on
bind-key ù ...
1
vote
1answer
193 views
Force update for tmux status bar
I'd like to have the current time in my tmux status line. I got as far as:
$ tmux set status-right '"#22T" %H:%M:%S %d-%b-%y'
This does alter the time in the status line to include seconds. ...
0
votes
1answer
40 views
How do I undo a rebind in tmux?
In other words, how do get back a default behavior?
I used this config (from the book tmux - Productive Mouse-Free Development):
# Maximize and restore a pane
unbind Up
bind Up new-window -d -n tmp ...
1
vote
2answers
236 views
Which is the correct way to config the $TERM and tmux?
I am using gnome-terminal with bash.
When I set xterm-256color for $TERM and in .tmux.conf most of the things work but when I try to change the colorscheme of vim the things mess up.
When I set ...
0
votes
1answer
65 views
Tmux: Automatically run a shell command whenever I switch to that pane?
I would like to have a tmux pane where everytime I switch to it runs a command like git diff so that everytime I switch to it I see a new version of the output. Can this be done?
0
votes
2answers
98 views
Should I invest in learning tmux if I solo code or is it mainly useful for pair programmers? [closed]
Just what the main question says. I'm mainly a solo programmer. Tmux looks interesting but I want to ask the seasoned veterans.. is tmux an every day tool? Or is it just for when you need to pair ...
0
votes
1answer
92 views
tmux — any way to enable scrolling, but not selection?
I like that when mode-mouse is on in tmux, I can scroll through the buffer, but I don't like that I can't copy stuff to my OS clipboard by selecting it (as when tmux is disabled). Question: Is there ...
0
votes
1answer
75 views
tmux combine multiple commands to one vi-copy command or tmux command to yank a line
In tmux, i know we can chain multiple commands to a key by using \; See Here
But in vi mode, i want one single key press to go to the beginning of the current line, begin-selection, go to end-of-line, ...
1
vote
1answer
308 views
Home and End keys in Emacs don't work when run from Tmux
When I run Emacs from Tmux, the Home and End keys do not work (Home key runs the Search command as if C-s was pressed). The problem started when I added this in my ~/.bashrc file:
TERM="xterm"
export ...
2
votes
1answer
129 views
Is it possible to automatically attach to a tmux session using Chrome's Secure Shell extension?
Using Secure Shell in Chrome, can you automatically attach to a tmux session when SSH-ing to a server? If so, how do you do that?
0
votes
0answers
119 views
How to pass the “F keys” and key combinations to the active byobu session when its inside another byobu?
When I run byobu on a local computer, ssh to a remote computer from that byobu session, and then run byobu on the remote computer too, the key combinations or their function key equivalents are always ...
2
votes
1answer
53 views
Keep tmux title from `fg` to original jobname
I'm using Eevee's .zshrc/.tmux.conf.
When I'm running a vim session, and I do Ctrl+z and then ⚘ fg, then it changes my tmux pane title to fg. I'd rather it change back to vim whatever.txt, or ...
3
votes
1answer
52 views
Two rows of windows in tmux
I tend to have several windows open in tmux at once. I also automatically name them according to which task I'm working on. As such, I am running out of room for the labels of my tmux windows. Is ...
3
votes
3answers
679 views
How to convert 2 horizontal panes to vertical panes in tmux?
After doing join-pane on 2 windows, you have 2 horizontal panes. How do I rearrange the panes to be vertical panes instead?
1
vote
0answers
55 views
tmux link-window to remote window
In a server, there's a persistent tmux session, with several windows running 24/7.
At my local computer, I run several tmux sessions, one at a time, depending on the type of work.
I wonder if it's ...
2
votes
1answer
605 views
run or send a command to a tmux pane in a running tmux session
I want to write a shell script which will attach to a named tmux session, select a window (or pane) in that session and run a command in that selected window (or pane).
How do I do this from a bash ...
0
votes
1answer
176 views
Tmux forgets the directory where the session was created
When I create multiple sessions in tmux, the current directory for every new window in subsequent sessions is set as the current directory for the first one.
For example:
-> cd /home/one ...
2
votes
1answer
157 views
How to display escaped characters in tmux status bar
i am running tmux from a tty on an embedded linux device. (NOT a terminal emulator) because the screen is rather small, i want to add some "icons" to the tmux status bar. to achieve this, i have ...
0
votes
1answer
103 views
tmux copy mode freezes on a vagrant virtual machine session
I use vagrant for having my development environment on Mac OSX and I use ubuntu within virtual machine for doing the development. I use tmux for multiple session, it works great on Mac OS iterm, but ...
3
votes
1answer
135 views
Tmux select-layout returns with “Can't set layout”
I'm on Mac OS X Lion, and I've installed tmux through brew.
I set up a simple window, with a vertical split, and a horizontal split in the right pane for a total of three windows. I also made the ...
1
vote
1answer
235 views
tmux, how to prevent broken pipe?
I'm new to ssh and tmux. I want to run a rake task on a remote server via ssh but I want to shutdown my computer and want the task continue running on the server.
So I discovered tmux with seems to ...
4
votes
4answers
302 views
tmux equivalent of “screen -R”?
The tmux attach command acts more like a combination of screen -r and screen -x -- first it trys to attach to the most recently detached session, and then if none is available it will attach to a ...
4
votes
2answers
409 views
tmux / vim split panes
I am borrowing this screenshot from another question:
The terminal background seems to leak through into vim left of the dividing border. This is most noticeable near Top.
Can anyone tell me ...
2
votes
1answer
124 views
Is it possible to have zsh+keychain+tmux not ask for keys?
I'm using tmux and zsh, and I've recently been learning about ssh-agent and keychain. From the manpage for zsh, it says that it will source .zlogin only if the shell is, well, a login shell.
...
