Questions tagged [tmux]

tmux is a terminal multiplexer: it enables a number of terminals (or windows), each running a separate program, to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

How can I synchronize the clipboard of terminal applications on a server without X?

On machines with X server, I've used the selection clipboard to synchronize copy/paste across GUI and terminal programs. Now I have a server without X where I'd like to synchronize copy/paste across ...
0
votes
1answer
21 views

tmux set-option -g prefix ½

This works for me: unbind C-b set-option -g prefix C-g bind-key C-g send-prefix but this does not: unbind C-b set-option -g prefix ½ bind-key ½ send-prefix How can I use the ½ key as prefix? $ ...
0
votes
1answer
27 views

Resizing pane in tmux not working with hotkeys, Arch?

My normal commands to move divider between panes is not working in tmux anymore. I switched from a Debian system to an Arch system. Why would Arch be different? The terminal from within tmux is "...
0
votes
1answer
11 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 ...
0
votes
1answer
14 views

How to autoimatically restart tmux nested sessions when back online?

I usually open a local tmux session that connects to multiple remote tmux sessions over ssh. These lab machines run continuous regressions. When the laptop goes to sleep overnight the pipes are broken ...
0
votes
1answer
26 views

Tmux always shows hostname instead of application running

A weird thing is happening. I have been trying to debug it for 2 days with no luck. Nothing relevant around forums as well. I have just set up my wife's machine because I need to work remotely. I ...
0
votes
1answer
12 views

Trying to use Rundeck with tmux or screen for using ssh-agent

I spend some time for setting up Rundeck tool - seems to be very usefull to use it as web interface to my shell scripts over few different servers. The thing is - you cannot simply use commands like ...
0
votes
1answer
13 views

Switching user inside tmux session: Cannot attach to other tmux server

I have this scenario on a server userA (uid 1000) logs in over SSH and starts a tmux server and some sessions userB (uid 1001) logs in over SSH and runs su userA to become userA inside of a tmux ...
0
votes
1answer
34 views

Clearing tmux terminal throws error: “'tmux-256color': unknown terminal type.”

Originally, I was trying to determine why some directories show up differently colored than others when using the ls command. While playing around with this. I have now encountered the problem of not ...
1
vote
0answers
36 views

Weird '?' characters all over inside vim editor in tmux session

So I am excited to use WSL feature of Windows 10 and I choose Ubuntu distribution. I installed vim version 8.0 and tmux version 2.6. However to my frustration, when I use vim inside tmux session, all ...
0
votes
0answers
14 views

Unable to switch between active windows in the switch session option of tmux

I think till sometime last year in the show sessions screen(CTRL B + S) I could click on a window of a session to switch to that window of that session. But now when I do that, it just takes me back ...
1
vote
1answer
29 views

How to get rid of the annoying characters in `tmux` panes and menus

I noticed that in several places in the tmux panes and menus, there are chartacters being displayed in the boundaries. Example 1: Example 2: How do I get rid of these characters and make them solid ...
0
votes
1answer
14 views

Changing Tmux copy-mode idle time

When in copy mode, in a terminal that automatically updates/re-renders (for example during a tail -f read), tmux automatically scrolls to the bottom of the terminal when new text is rendered. This ...
1
vote
1answer
12 views

How to make tmux active window more distinguishable?

I use tmux as a terminal with tabs. I usually have several windows opened. The problem is it's hard to distinguish which window I'm current on. How to configure tmux so that I can distinguish the ...
0
votes
1answer
44 views

Why is $PATH different in terminal emulator and inside tmux?

I use lxterminal and this is my $PATH output in lxterminal, $ echo $PATH /home/bkc/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games However, inside tmux, some of the ...
0
votes
0answers
16 views

TMUX - how to get my default status-bar / theme back?

I have been using tmux since one month now and I love it. However, per enthusiasm I tried to add some coloring/theming to my setup. Thus, I begin to install some theme-pack from GitHub and when I ...
1
vote
0answers
30 views

Copy text from remote tmux to local x clipboard

I ssh into my VPS and run tmux. I can copy/paste from the remote to local, and local to remote - using the mouse and shift. But I don't know how to copy large quantities of text. If I were working ...
0
votes
2answers
20 views

tmux segfaults on send-key after upgrading to 2.9a

I just upgraded an Ubuntu Server from 18.10 to 19.04 and then to 19.10. I think that this upgrade also upgraded tmux to a newer version. Since then my tmux scripts, which build some dashboards, are ...
0
votes
0answers
17 views

Assigning multiple ttys to different outputs

I'd like to make different displays display different ttys. For example: Display 1: /dev/tty1 | Display 2: /dev/tty2 I think I saw an answer that referred to tmux to solve this, but I cannot find ...
0
votes
0answers
22 views

With tmux mouse mode, when selecting text on the left pane, it causes gibberish text to be pasted into right vertical pane

I am using tmux (version 2.3) and I have only one option in my .tmux.conf file: set -g mouse on I then follow the following steps to reproduce: 1) open up tmux 2) split into two vertical panes 3) ...
0
votes
0answers
17 views

How to use tmux -CC with EternalTerminal like one does with ssh and tmux in Iterm2?

With Iterm2 you can do ssh -t "tmux -CC" and get an intergrated tmux session. New tabs in tmux open like you are in iterm2 on the local machine etc. How to get this working with EternalTerminal https:...
1
vote
1answer
16 views

How to keep heading tab when copy-paste in tmux

Follow below tips Copy text from one tmux pane to another (using vim) Seems all the heading tab will be replaced by space during copy-paste, I want to know is any tips to keep all the heading tab.
0
votes
0answers
20 views

Spawn new tmux window in the same directory while running a script

I use pane_current_path for new tmux panes and windows: bind - split-window -c "#{pane_current_path}" It works well, until I have a script running. pane_current_path gets set to $PWD of the subshell....
0
votes
1answer
34 views

How to unbind Ctrl+LeftClick in tmux?

KiTTY (the Windows-based PuTTY clone, not the other terminal emulator) has an option that underscores URLs in terminal output and, when Ctrl+LeftClick'd, opens them in the host browser. This works ...
0
votes
1answer
22 views

Only show tmux’ status bar after prefix key has been sent?

I’d like to see the status bar only after the prefix key has been sent. I’d like the bar to disappear again as soon as I’ve sent the intended command. I’d imagine it to work like this: press C-b (...
0
votes
1answer
77 views

Why are many of my tmux setup commands giving errors?

Getting loads of invalid option errors: For example .tmux.conf:36: invalid option: window-status-fg
0
votes
1answer
18 views

can tmux watch a particular pane for keys pressed? (to then issue `send-keys`)

I want to have a pane with asciinema "video" (literally it's animated plain text) playing while in another pane the user can be doing miscellaneous stuff (typing commands, writing scripts, or whatever)...
0
votes
1answer
35 views

tmux not splitting panes with desired percentage size

I am trying to create a script that launches tmux with a specific pane layout and size. I am following the tutorial in the following link: https://leanpub.com/the-tao-of-tmux/read#pane-resizing ...
0
votes
1answer
21 views

How to kill window from a different tmux session?

Is there a way to find and kill a tmux window from a different tmux session? Or do I need to attach to the other session and then find the window to kill? How do I do this with cmd line? tmux kill-...
0
votes
2answers
58 views

tmux kill-window doesn't kill child processes

If I do ctrl-c and ctrl-d to kill procs in panes and then exit from tmux, then all the child processes will die. But if I do this: ctrl+b followed by shift+% then select Y to kill the window, then ...
0
votes
1answer
18 views

How to create new pane and run command in that pane using TMUX

I have this which is pretty close: tmux new -d -s "$session_uuid" tmux send-keys -t "${session_uuid}.0" "tsc -w" ENTER tmux send-keys -t "${session_uuid}.0" "nodemon" ENTER tmux attach -t "$...
1
vote
1answer
100 views

How is default-terminal compared to tmux terminal-overrides

In my tmux config I have the following: set-option -g default-terminal "screen-256color" set-option -ga terminal-overrides ',*-256color*:Tc' which means that if I run tmux info | grep Tc to check ...
1
vote
1answer
28 views

Does `tmux` support any help documentation through command-mode like `vim`s `:help`?

Does tmux support any help documentation through command-mode (C-b :) like vim's :help? I often want to display help documentation for a particular tmux command, say kill-window, including at least ...
0
votes
1answer
36 views

How to switch panes in tmux and then begin typing immediately

I can successfully switch panes in tmux with the following command: Ctrl+bleft arrow (or any other direction) However, because I am impatient, I usually want to start typing in the new pane ...
0
votes
2answers
35 views

How to replace program running in graphical terminal with another program?

Lets say I have top or some ncurses program running in a graphical terminal, and from outside this terminal I'd like to execute a command, that would replace top with another program of my choosing. ...
0
votes
1answer
25 views

Yank trimmed string in tmux copy mode

I am trying to yank string without trailing and heading spaces using this keybinding: bind-key -T copy-mode-vi z send-keys -X \ copy-pipe 'sed "s/^[[:blank:]]\+//;s/[[:blank:]]\+$//" | xsel -ib' ...
1
vote
1answer
51 views

Tmux, disable buffer clear functionality

Is there any possibility to tell Tmux screen to ignore \033[3J and not erase the scrollback? Some commands (react-dev-utils/clearConsole) use \033[3J carelessly and I would like to avoid getting my ...
1
vote
1answer
66 views

How do I get rid of boxed '?' symbols that appear after every character in tmux?

When I run tmux, every character has a boxed '?' next to it. The boxed '?' symbols also appear after every character I type when I am within vim when I am in tmux. I have been doing research online ...
1
vote
1answer
34 views

Speed of scroll by mousedrag in tmux

I have gathered a quite nice .tmux.conf with mouse selection going to clipboard and everything. But one thing is left to be optimized. When I MouseDrag1Pane (I assume) to the border of a pane, in copy-...
0
votes
0answers
42 views

tmux can't find TTY when run within read loop

I am trying to run tmux, from a sourced script (i.e., my .bashrc), within a while read loop. However, in doing this, tmux is unable to find the TTY and gives the following error: open terminal failed:...
0
votes
1answer
61 views

Tmux environment varibles inherit from other session, not from current shell

When working on multiple projects, I usually create a new conda environment to work with for each project. For example, I use the following commands to create "projectA" environment: conda create -...
1
vote
0answers
42 views

Clear TOP_SECRET_KEY out of bash commands history

Working by SSH on remote Ubuntu 18.04 in tmux session with bash I ran command like TOP_SECRET_KEY=XXXXX app. Now the top secret key appears in my screen and I guess in ~/.bash_history and maybe ...
0
votes
0answers
56 views

Very high cpu usage in vim

I recently upgraded to Debian 10. I normally have a few dozen instances of vim running in different tmux windows. Now, when trying to do this in Debian 10, when restoring my session in tmux, I see ...
0
votes
1answer
28 views

Showing process arguments in tmux

I recently upgraded to Debian 10, which has tmux version 2.8-3. I copied over my old tmux conf file. For unnamed windows, the behavior was to show the process name with arguments, ie "vim foo.txt". ...
1
vote
2answers
96 views

Set tmux pane title to user-defined if exists, else current working file or directory

As of tmux 2.6, tmux now allows per-pane titles. They can be enabled via tmux set -g pane-border-status top. This is very convenient when running 10+ panes per window. I also set my title format as ...
2
votes
1answer
47 views

Tmux color palette is not the same as the terminal emulator's

I am running the following: Ubuntu 18.04 Gnome Terminal Tmux 2.6 Vim 8.0.1453 When running the following snippet, awk 'BEGIN{ s="/\\/\\/\\/\\/\\"; s=s s s s s s s s; for (colnum = 0; colnum<77; ...
1
vote
2answers
50 views

Replace clipboard content instead of appending when copying from tmux

When I copy from tmux, selections are appended to the system clipboard rather than replacing its existing content. I see this behavior both with mouse drag and release, and using the keyboard to copy ...
0
votes
1answer
29 views

Detect resize event in tmux

I have a tmux set-up where my top pane is always 2 rows big. Unfortunately every time the terminal gets resized, the proportions are completely reset and the top pane takes up much more space. I ...
0
votes
1answer
66 views

$SHELL in tmux is different than $SHELL in the shell that I launched it from

Been wrestling with this for a few hours and it’s driving me crazy. When I SSH into my machine at home, my default shell is zsh. I can confirm this with echo $SHELL, which outputs /usr/bin/zsh When I ...
0
votes
0answers
16 views

Why my scroll wheel in middle of mouse can't work?

tmux -V tmux 2.3 Open an vim in tmux,edit a long text. I find that my mouse cursor can't be move by left-click nor middle wheel in mouse,i scroll the wheel with my finger,the cursor can't move. I ...

1
2 3 4 5
20