All Questions
Tagged with tmux command-line
20
questions
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 (...
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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 ...