Skip to main content

Questions tagged [tmux]

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.

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

Specific Tmux sessions are disappearing

My work requires me to run processes for long amounts of time and therefore I usually use Tmux sessions to run things overnight. However, I'm noticing that sometimes when I log into the server the ...
Sean's user avatar
  • 113
0 votes
1 answer
25 views

How to quit Mosh inside Tmux inside Mosh

The inner Mosh says: mosh: Last contact 428:08:30 ago. [To quit: Ctrl-^ .] However, using that key combination will quit ...
Albert's user avatar
  • 6,681
0 votes
0 answers
14 views

Cannot create Neovim keybinding with special character "ö" in Tmux

I have a Swedish keyboard, and I want to bind <C-ö> to a special action in Neovim. This works perfect when I open Neovim outside of Tmux, but when I open it in Tmux, it doesn't do anything. It ...
Anton Ödman's user avatar
0 votes
0 answers
40 views

Tmux copy mode fails under WSL

When I enter copy mode, I press space to start copying but instead nothing is copied and the cursor jumps to the bottom of the screen as if I had pressed the page down key. No text is highlighted or ...
Mike McKay's user avatar
0 votes
0 answers
165 views

Why is Neovim, vim, lunarvim, every vim based terminal editor is very slow

First thing first, I am on ubuntu 23.10, with nvidia RTX 2060 core i5-8400 24 GB RAM and OS on SSD, using "oh my fish" as shell but tried on good old bash too. neovim config is done by ...
user204682's user avatar
2 votes
1 answer
95 views

tmux doesn't instantly update pane's title

I'd like to have tmux "instantly" update the pane's title to match what is currently being executed in the terminal. For an instance: If the pane contains the shell then its title should be ...
pic810's user avatar
  • 21
0 votes
1 answer
120 views

Shell prompt colored outside of tmux, but not in tmux; how can I get colored prompt in tmux?

I am a new user of tmux and wondering how I can highlight machine name and working directory? What I mean is below. In default Ubuntu terminal: While in tmux: I know this is a minor, but having ...
Darren Christopher's user avatar
1 vote
1 answer
224 views

TO close Tmux along with terminal (if terminal is closed)

I have configured my Tmux to open with i open terminal by modifying the .zshrc file. [[ -z "$TMUX" ]] && tmux -u It worked fine, now I want to close the tmux session when I close ...
shohel hossain's user avatar
0 votes
1 answer
123 views

Keep a Mac working on a terminal task

I would like to keep a process going on a Mac. I'm starting the process in a terminal (doesn't matter using TMUX or not), locking the screen and walking away. Several hours later I see the process ...
Back2Basics's user avatar
0 votes
0 answers
80 views

It seems like "-p" sizing longer works with tmux. Is there any workaround?

It seems like -p sizing longer works with tmux. Before a recent update, the script had 4 panes; now, only see 3 panes. This line seems to have stopped working: tmux split-window -p 27 The script use ...
Merlin's user avatar
  • 131
0 votes
0 answers
28 views

Tmux session disconnect does not preserve session content when reconnecting

I need to copy a 200gb+ file to multiple servers from one server. I have a sftp transfer running in multiple tmux sessions from the one server. When I press ctrl+b, d to exit the tmux instance and ...
user460178's user avatar
0 votes
0 answers
18 views

Change tmux copy mode search highlight color

I know mode-style changes copy mode selection color, but how do I change search result highlight color? Thanks!
dz902's user avatar
  • 101
0 votes
1 answer
122 views

tmux - How to change text color of current pane to yellow if pane is in copy-mode

In tmux 3.3a on Ubuntu 23.10 I would like to change text color yellow if current pane is in copy-mode (pressing prefix_key + PageUp) and when exiting copy-mode to get text back to grey. I tried: set-...
folow's user avatar
  • 101
0 votes
0 answers
148 views

Can I show multiple tmux sessions in one pane?

I have 5 node js scripts running, each in their own tmux session. I saw something completely unrelated a few days ago where someone was using tmux and they had like 6 different shells open on the same ...
chickenchaser4343's user avatar
3 votes
0 answers
206 views

Tmux window indicator rendering issue with FiraCode Nerd font in Windows Terminal

Description: I'm encountering a rendering issue with the tmux window indicator when using the catppuccin theme in combination with the FiraCode Nerd font on Windows Terminal within WSL. Specifically, ...
user avatar
0 votes
0 answers
10 views

Cannot bind S-PPage in tmux

I'm using MobaXTerm to connect to a remote server where I start tmux. I'm trying to bind S-PPage and S-NPage, but with no luck. I managed to create the binding with the PPage and the NPage (without ...
Poshi's user avatar
  • 131
3 votes
1 answer
192 views

How to start tmux as the default when terminals opened exclude the terminal in Dolphin

I want to set tmux as the default when open terminals (eg. Yakuake, Konsole), but exclude the terminal in the Dolphin file-manager. I put the following snippet in the ~/.zshrc if [[ -x "$(command ...
Pelican Cyber's user avatar
0 votes
0 answers
41 views

Command prompt is located in the wrong position on the screen

Multiple windows are opened in my tmux. In most windows, the command prompt is located at the bottom of the screen like this: However, in one window, the command prompt got fixed in the middle of the ...
cat's user avatar
  • 3
1 vote
1 answer
146 views

How do I create a pty without a shell?

Backstory: I have a CLI Python application. I want to be able to debug it without interfering with the CLI of the main application. The Python debugger allows you to specify an alternative stdin/...
FrederikVds's user avatar
0 votes
0 answers
66 views

How do scroll up with a number of lines at a time with tmux?

I have my tmux set up for scrolling using vim shortcuts. I can go up a page at a time. However, I am faced with a very long test failure log. I went up once with Ctrl+U multiple times and realized ...
heretoinfinity's user avatar
0 votes
1 answer
637 views

Resize Tmux status bar size

I'm trying to resize the status bar from tmux and I don't find anywhere where they show how to do it. My main problem is that it's too big for me and kinda distracting. tmux I want to be able to ...
trissaik's user avatar
0 votes
0 answers
83 views

Line wrap not working correctly in Tmux in Tmux in Mosh

I connect via Mosh on some server, and run Tmux there, which runs fine. From there, I sometimes connect via SSH to other servers, and I might run another Tmux inside there. For most other servers, ...
Albert's user avatar
  • 6,681
0 votes
1 answer
83 views

Byobu - modify/pass environment variable in existing session on reattach

I'm experimenting with waypipe recently. I'm creating remote window like this: waypipe -c lz4=9 ssh user@host foot On creating new foot window waypipe denpends on environment variable $...
Kuń's user avatar
  • 1
0 votes
1 answer
420 views

NeoVim sluggish with tmux

NeoVim use 0.5-1 sec to go from insert to normal mode IF in tmux, not otherwise. I use Alacritty with WSL (Debian), and have tested in the following ways. Tested if it was NeoVim plugins NeoVim ...
Lepherd's user avatar
  • 41
0 votes
0 answers
24 views

Remove sudo/doas from tmux pane name

So the situation, if I run for instance this command (doas is an alternative to sudo): doas emaint sync tmux changes the pane name to say doas, which albeit correct, is not really useful because the '...
pepoluan's user avatar
  • 1,280
1 vote
1 answer
209 views

How to keep mouse cursor hidden in neovim + tmux when switching to NeoVim?

I can't figure out what is causing this issue, and if it is the fault of NeoVIM or tmux (or both). Components: Manjaro Linux Konsole NeoVim Tmux Reproduce: Create multiple tabs/panes in Tmux (ctrl-...
Michael Butler's user avatar
0 votes
0 answers
60 views

duplicate pane to show history in tmux

Sometimes, the output of a command is very long and thin, and my screen is much wider than it is tall. Is there any way to make a new pane which is a copy the current one, but more scrolled up so that ...
guest4308's user avatar
  • 169
1 vote
1 answer
78 views

How to vertically mirror a layout in tmux? Or create a new layout?

When I have three panes, I can easily use this layout with C-b, M-4 ----------- | | 2 | | 1 |-----| | | 3 | ----------- I frequently would like to have this instead: ----------- | 2 ...
rodorgas's user avatar
  • 113
0 votes
0 answers
42 views

Tmux (?) or something (some other client?) adds `^@` or whitespace characters

I just wonder, sth adds ^@ or whitespace characters to my Tmux session. Tmux runs on another server, and I'm connected to it via Mosh. What could that be? In one pane, it is lots of of ^@, e.g. ^@^@^@^...
Albert's user avatar
  • 6,681
0 votes
1 answer
223 views

tmux: Chaining `send-key Enter` and `refresh -S` in key bind

I am trying to configure tmux such that it always refreshes the client (or the clients status bar) when the "enter"-key is pressed. I currently using bind -n enter send-key Enter; refresh -S ...
ginger314's user avatar
1 vote
1 answer
224 views

Why is this tmux option not persisting?

I would like to generate a bashrc configuration file each time I start a particular tmux session, and I want to use my user's default tmux configuration file ${XDG_CONFIG_HOME}/tmux/tmux.conf as well. ...
ardnew's user avatar
  • 260
0 votes
0 answers
67 views

Moving tmux panes emulating i3 movement

In i3 an individual pane (or window per i3 nomenclature) is focused via mod + j,k,l,; and moved via mod + Shift + j,k,l,; where mod is some modifier key. I have replicated the focus behaviour via ...
jjm99's user avatar
  • 1
0 votes
1 answer
90 views

Tmux conf returns error at start

I ssh to a remote server with TMUX. The .tmux.conf file is very simple: setw -g mode-keys vi set -g status-right '#(TZ=Asia/Kolkata" date +"%%Y-%%m-%%d %%H:%%M")' And the relevant ....
cat's user avatar
  • 3
2 votes
1 answer
295 views

Why does starting `tmux` on sway launch over `swaymsg` does make tmux inaccesible?

I want to start tmux server on sway startup. Therefore I created in sway.conf the following: exec ~/.config/sway/scripts/start-up.sh in which script I start tmux as such: #!/usr/bin/env bash # ...
Gabriel's user avatar
  • 131
0 votes
0 answers
77 views

Binding Shift+Arrow Key in tmux for use in virtual terminals (tty3-12) (works in X)

I've bound Shift+Up/Down/Left/Right to changing selected pane in tmux, but on running tmux in a virtual terminal like tty3, the binding does nothing (and pressing S-Up/S-Down just cycle the command ...
Vedaant Arya's user avatar
0 votes
1 answer
236 views

Synchronize and desync only some panes in tmux with one command

there are answers to parts of this question dotted around, but I can't figure out how to put them together. I want to, for example, synchronize panes 0, 1, 2, and 3, but not 4, 5, 6, and 7; and then ...
guest4308's user avatar
  • 169
0 votes
0 answers
97 views

Propagating zsh window title through tmux, then ssh, to terminal emulator/window manager

My zsh automatically sets my terminal emulator (kitty)'s window title to my current working directory, or whatever program is currently running within it. However, when I ssh to a remote host and run ...
kovas's user avatar
  • 1
0 votes
0 answers
80 views

tmux 1.8 + mobaxterm mouse-mode clicking refuses to work

Trying to get mouse-mode clicking panes to work in a tmux session on mobaxterm, but mouse-mode wont work. Scrolling works fine. I have confirmed mouse-mouse is on using show-options -gw This system is ...
Dave's user avatar
  • 168
0 votes
0 answers
91 views

tmux -CC crashes with “invalid option”

When I ssh to a remote Linux host and type "tmux -u -CC new -A -s main", an alert pops up on as says "Invalid options: @uservars". Below that: flags = 0; id = 1698437271; inList = ...
Lawrence I. Siden's user avatar
0 votes
1 answer
79 views

tmux no longer lists each session in a group (C-b s)

With "old" tmux, each session in a group was listed separately when you type Ctrl+B, s (or choose-tree -s)... (certainly 2.1 and 2.6, I don't know how recently this persists) For example, ...
Attie's user avatar
  • 20.2k
0 votes
0 answers
124 views

Setting Tmux prefix

I am trying to set the Tmux prefix as Space+Space key because CTRL+a and CTRL+Space is used by other applications in my computer. I tried set -g prefix Space-Space. That didnt work which is believe is ...
Harshavardhan Gowda's user avatar
0 votes
1 answer
598 views

urxvt prompt starts in the middle of screen and tmux shows gibberish when started from it

Lately I noticed that my terminal prompt on urxvt does not start on the first line when I open it, but on the middle of the screen. Also when later I execute tmux command to use tmux inside a urxvt ...
Kristi Begaj's user avatar
0 votes
0 answers
61 views

What is the difference between iTerm2 and xTerm keys?

Recently, I started to use Tmux, but I'm so curious why we should add this configuration at the beginning of .tmux.conf. set-window-option -g xterm-keys on What is the difference between xterm keys ...
polo xue's user avatar
0 votes
0 answers
58 views

Tmux does not respond to alt+click as Mac Terminal?

I am very used to using alt+click to move the cursor in Terminal on macOS. I recently switched from screen to tmux and this no longer works despite having mouse-mode set to on in my config (and it is ...
donkey's user avatar
  • 113
0 votes
0 answers
283 views

Making byobu's (using tmux) status bar multi-line results in "session" and the date/time disappearing

I added set-option -g status 2 set -g status-format[0] '#[align=left]#(byobu-status tmux_left)' set -g status-format[1] '#[align=right]#(byobu-status tmux_right)' to my profile.tmux file and now the &...
timramich's user avatar
0 votes
1 answer
210 views

Pass output of tmux command into later pane command

I'm trying to set up a keybind to toggle a top pane in the active window. The way I would like to do this is to: Check to see if a pane started with the top command exists in the current window If no ...
QtizedQ's user avatar
  • 103
0 votes
0 answers
143 views

tmux ctrl-b pauses application? how to scroll without pausing

I am running an application on Linux with tmux and notice that sometimes when I want to scroll the buffer, I pause the application. How can I scroll without pausing the application? I tried following ...
dunno's user avatar
  • 101
1 vote
0 answers
140 views

Tmux sending wrong keycodes for "ctrl + arrowkey" and "ctrl + shift + arrowkey"

The problem I upgraded to MacOS 13.5 today and immediately noticed this issue. Inside of tmux (running in iterm2) when I perform ctrl + arrow-key or ctrl + shift + arrow-key the wrong keycodes are ...
JDN's user avatar
  • 301
1 vote
1 answer
969 views

Tmux tile layout arranges 8 panes into 3x3 instead of 4x2

When I split the window into 8 panes in tmux and cycle to the tile layout, the panes are arranged in a 3x3 fasion, with the 8th pane taking up 2 tiled spaces: Is there a way to make it arrange 8 ...
OutwardThinking's user avatar
0 votes
2 answers
544 views

Tmux - How to increase timeout for chain commands and keystrokes in tmux

Description When used Ctrl + B Q . It will show you numbers and wait brief moment for further input (if any). I want to increase this time, timeout or something to 2s I guess it will also affect ...
Grzegorz Krug's user avatar

1
2 3 4 5
23