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,379 questions
0 votes
0 answers
49 views
bashrc not sourced when running "bash -l", on just one raspberry pi trixie system
Description I have two Raspberry Pi OS 13 (Trixie) systems with identical Bash versions and identical /bin/bash binaries (verified with md5sum). On one system, running bash -l sources ~/.bashrc as ...
2 votes
1 answer
59 views
Make tmux echo bells in the current window and also print a message for bells in other windows
I am using tmux 3.4 on Ubuntu noble 24.04.3. I would like tmux to handle bells as follows: If a bell occurs in the current window, echo it and don't do anything else. If a bell occurs in a window ...
4 votes
1 answer
216 views
Tmux: How can I set my prefix to be a key sequence instead of a modifier key combination?
I'd like to be able to set my tmux prefix to be a double-press of a letter key (k, maybe), rather than a ctrl+something key combination. Related to this question, I guess, but I'm looking for "kk&...
1 vote
1 answer
83 views
How to run tmux session under network namespace
If there are no sessions (eg tmux a returns "no sessions") a call to start tmux under a namespace (eg sudo ip netns exec ns1 tmux new -s test) will have the shells within (even newly spawned ...
0 votes
1 answer
79 views
Tmux root bind-key won't move up
I am using tmux 3.4 on elementaryOS with the built-in terminal. I have a root keybinding for Meta-Arrow to move between panes, but the one for pane up is not working. When I view the keybinds: # ... ...
0 votes
1 answer
103 views
nix command not found in tmux panes and windows
I use nix and home manager, zsh and tmux. My problem is that in tmux splits the nix command does not exist. I tried setting default shell in tmux to /bin/zsh -l sourcing files etc, I notice the PATH ...
2 votes
1 answer
149 views
Tmux pane with long-running session using wrong character set?
Today I connected to a long-running process in tmux over ssh for work, to find that the pane the process was running in seems to have started using the wrong character encoding for its output, leading ...
0 votes
2 answers
77 views
Starting tmux from outside home directory does not source .bash_improvements
I'm running Ubuntu server (version 24.04.2 LTS). I'm quite happy with it. Sometimes I need longrunning processes, therefore I start them in a tmux session. But I have a small issue when I run tmux. In ...
1 vote
1 answer
175 views
Cannot use ctrl + p / n to view previous / next history when using tmux
I am using kitty + zsh + tmux on MacOS. Without tmux, I can just use Ctrl + p or Ctrl + n to scroll through the zsh history. However, when I have tmux running and without any configuration done, ...
0 votes
0 answers
53 views
can't navigate to previous command when a console app is daemonized with tmux and systemd
I recently moved from running minecraft bedrock server inside PM2 to systemd. If I put the executable inside ExecStart normally, I can't enter commands to the mcbe console. When I search for solution, ...
0 votes
0 answers
94 views
How do I move tmux command prompt `:` to the center of the message line?
As title. In short, I would like to have : shown in the middle of the message line when I press the default keybind <prefix>: for opening the command prompt. I have tried my best finding the ...
1 vote
1 answer
166 views
SSH freezes on login after server banner
Trying to login to my local server with user1, the shell freezes after the login banner: Linux server 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 The programs included ...
1 vote
1 answer
159 views
tmux: show status bar of each session when choosing
In tmux, the command to select a session opens a chooser like this (not sure from the man page exactly what to call it): (0) + controller 1 windows (1) + model: 2 windows (2) + view: 4 windows (...
-1 votes
1 answer
85 views
tmux quoting problem within display-menu
This command works as expected if I run it in the tmux command line: list-panes -a -F "pane ID: #{p3:pane_id} TTY: #{p11:pane_tty}" Output: pane ID: %1 TTY: /dev/pts/35 pane ID: %2 TTY:...
2 votes
1 answer
77 views
tmux - when splitting, changes simlinked path to unsimlinked path
I have the following binding to allow me to do a vertical split in tmux bind v split-window -h -c "#{pane_current_path}" This lets me open a new split, and it defaults to the same folder as ...