Skip to main content

All Questions

Tagged with
5 votes
1 answer
2k views

How to send a command to tmux-session of remote-device (using ssh)

On my vanila Arch Linux system, I can send to local tmux-session (session main) using: $ tmux send -t main.0 'echo asdf' ENTER I can also send commands to a remote machine using ssh: (just for the ...
Garid Z.'s user avatar
  • 552
1 vote
1 answer
1k views

Change key bindings in tmux copy mode

I want to change the key binding in tmux copy mode. This is my tmux config: set-window-option -g mode-keys vi So I use the vi keybindings for copy mode. But since I use the colemak keyboard layout ...
lukaskitsche's user avatar
1 vote
2 answers
244 views

cycle tmux windows of the same name

this question (to my knowledge) has not been asked before, yet would benefit anyone that uses tmux! I tried searching github too for plugins etc, but no luck yet. What I'd like to achieve: Cycle ...
5c0tt_b0t's user avatar
1 vote
1 answer
1k views

How can I make tmux use "C-b C-b C-b" to get into the 3rd nested tmux session?

In tmux I get into the 2nd nested session by using C-b C-b (Ctrl+b twice). But if I have a 3rd nested session, I can't use C-b C-b C-b to get to the 3rd nested session. Somehow if I spam C-b, ...
A nerd 2093271's user avatar
0 votes
2 answers
8k views

tmux: How to always resize all windows to maximum available size?

I am running tmux 3.0a, and when I connect with a smaller resolution terminal, also the bigger terminal gets resized to the smaller. This is well known (although I don't understand why they made this ...
dreamflasher's user avatar
1 vote
1 answer
227 views

"ps -fC tmux" command does not show tmux process

I am running a tmux server. When I checked the process, I can see the tmux process: # ps -ef | grep tmux | grep -v grep root 4129 1424 0 17:47 pts/0 00:00:00 tmux root 4131 ...
Kenny K.'s user avatar
2 votes
1 answer
2k views

Tmux: automatically run commands in the event of creating new pane or window

I have fixed a, b, c sessions - their name won't be changed and already auto created when I start tmux. I'd like to auto run a command in the event of creating new pane or new window in a session ...
raring-coffee20's user avatar
1 vote
1 answer
1k views

Ubuntu 18 Tmux 2.6-3 copy paste functionality with xclip non functional

I recently did a fresh Ubuntu 18 install and copied over my home directory from my previous Ubuntu 16 setup. However this seems to have broken the copy paste functionality I had previously with xclip (...
Shardj's user avatar
  • 140
2 votes
0 answers
915 views

tmux random characters appearing in terminal [closed]

I'm experiencing a strange problem with tmux appearing whenever I enter copy mode and I have multiple panes. Basically, after I select the text, when I press Enter (vi-mode) or Alt-w (emacs-mode) a ...
tigerjack's user avatar
  • 381
2 votes
2 answers
10k views

How to prevent the terminal from closing when the program it was started with ends? [duplicate]

If I start a terminal (any terminal, for example urxvt) like urxvt -e sleep 5, then a new terminal is launched but after 5 seconds the terminal closes, because the sleep program has ended. How can I ...
user779159's user avatar
1 vote
1 answer
97 views

Best practice for using files from github projects

I'm using the tmuxinator ruby gem which I installed via gem install tmuxinator,as per the projects github installation instructions. tmuxinator link As part of their installation instructions they ...
Jordan's user avatar
  • 243
31 votes
2 answers
28k views

Set the active tmux tab color

Is it possible to change the background of the active (current) tmux tab? I'm using tmux 1.9 on Ubuntu 15.04. $ tmux -V tmux 1.9 I tried to do: set-option -g pane-active-border-fg red But the ...
Ionică Bizău's user avatar
8 votes
2 answers
2k views

Why does tmux fail to "scroll" when entering a command that exceeds one line? (OSX Terminal.app)

When I use tmux and enter a command that exceeds the line, it fails to redraw the previous line. It simply clears the current line and I can't see what I just wrote. It does only redraw the first line....
groxxda's user avatar
  • 1,028
2 votes
1 answer
1k views

Byobu - send command to byobu tmux session from commandline (or bash/sh)

I run a script which I would like to print the status to a byobu tmux session. So for example print backup finished \n. Is it possible to do this with the name of the byobu tmux window, which you can ...
user2693017's user avatar
6 votes
1 answer
4k views

Tmux hidden input at command line

I've just started using tmux recently, and have run into this problem a few times. Whatever I type on the command line, is hidden from view until I press enter and it is executed. I don't know how I ...
kevins's user avatar
  • 163

15 30 50 per page