Skip to main content

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.

1 vote
1 answer
191 views

Is there a way to customize the keys in tmux's "choose mode"?

From tmux's manual - Choose mode, which allows an item to be chosen from a list. This may be a client, a session or window or pane, or a buffer. This mode is entered ...
Jethro Cao's user avatar
1 vote
1 answer
266 views

tmux behave differently between the command lines and equivalent config file (.tmux.conf)

tmux behave differently between the command lines and equivalent config file (.tmux.conf) command line: bash$ tmux new \; split-window -h \; config file (.tmux.conf), (and then, in the command line, ...
Robin Hsu's user avatar
2 votes
1 answer
318 views

Does tmux run-shell support interactive shell?

I know tmux run-shell can execute shell: $ tmux run-shell "echo start; echo \${var}end" start end But what if I want my shell could work interactively or read some user input, $ tmux run-...
Qiu Yangfan's user avatar
1 vote
1 answer
59 views

How to stop background jobs in subshell with infinite loop?

In my tmux session over SSH, I ran: ( \ ( while true; do echo subsubshell1 && sleep 5; done ) & \ ( while true; do echo subsubshell2 && sleep 10; done ) & \ wait; \ ) ...
wjwrpoyob's user avatar
  • 438
0 votes
0 answers
122 views

Cannot copy text from tmux integrated terminal in update 1.82.2

I solved this issue of copying text from tmux window inside Visual Studio Code's integrated terminal by holding Option key but with the latest upgrade to 1.82.2 I am not able to copy the text from ...
romanzdk's user avatar
  • 101
1 vote
1 answer
1k views

Colors different when running nvim through tmux using alacritty config

Background: I'm just setting up an install of Arcolinux. I have a keyboard shortcut SUPER+Enter to launch alacritty. What I want is to have alacritty automatically create and start in a new tmux ...
SwiftD's user avatar
  • 171
1 vote
1 answer
174 views

Unable to display conda environment in status bar

I am a newbie of Tmux and I am now configuring the status bar in Tmux. I want my tmux status bar can show the current Conda environment like Powerlevel10K. I tried set -g status-right "conda: #{...
Ricky Pang's user avatar
0 votes
1 answer
48 views

Keep Last Login Message on Tmux

all I am new to use Tmux and Alacritty as my main terminal emulator in my MacBook. In my Alacritty.config file, I set shell to be shell: program: /opt/homebrew/bin/tmux args: - new-session -...
Ricky Pang's user avatar
0 votes
1 answer
323 views

Modify tmux run-shell PATH

I am creating a few scripts that I'm saving at $HOME/.local/bin; path which is added to the PATH in $HOME/.zshrc. If I execute them through the terminal, all is good. However, when I do tmux run-shell ...
H. Sánchez's user avatar
0 votes
1 answer
167 views

can I configure tmux with a single key shortcut for ":kill-session"?

I'm using tmux in an application (I have a script that automatically loads scripts in each split) and I'm wondering if there's a way to configure a single shortcut like ctrl-q (I realize that ctrl-c ...
MisdeBug's user avatar
0 votes
1 answer
57 views

Cannot restart tmux session - Cannot unlink tmux socket file [duplicate]

I am using tmux to create a shared session in /tmp called tekkit. All works fine, with one major exception. When the tmux session is closed, the /tmp/tekkit socket file remains in place. This is a big ...
Kuba0040's user avatar
1 vote
1 answer
90 views

tmux: combining xterm title & tmux provided title

I have a trap on DEBUG signal in bash, to update title in Xterm __title() { COMMAND="$BASH_COMMAND" case "$COMMAND" in history* | autojump*) COMMAND=&...
andreoss's user avatar
  • 120
0 votes
2 answers
160 views

How to add a New Window button to status bar in tmux?

I would like to add a button to the status bar/line in tmux, which will create a new window on mouse click (provided that the mouse mode is on). How can I do it?
niutech's user avatar
  • 398
1 vote
1 answer
124 views

Running tmux at startup on a different console (monitor)

Aloha ! I have a headless server connected to a monitor. The server has no graphical environment installed, nor has any keyboard or mice attached to it. I am able to login via SSH. I would like to ...
HerrCrazi's user avatar
0 votes
0 answers
37 views

Linux Mint 20.2 unable to configure tmux with color terminal

I am having a problem configuring tmux to display a color prompt. By default I am using: Gnome-terminal 3.36.2 tmux 3.0a This is my ~/.tmux.conf set -g default-terminal "screen-256color" set ...
D-Dᴙum's user avatar
  • 197

15 30 50 per page
1 2 3
4
5
91