Questions tagged [terminal-multiplexer]
A terminal multiplexer is a software application that can be used to multiplex several virtual consoles, allowing a user to access multiple separate terminal sessions inside a single terminal window or remote terminal session. It is useful for dealing with multiple programs from a command line interface, and for separating programs from the Unix shell that started the program.
54 questions
2
votes
1
answer
97
views
SSH multiplexing + control master when network connection changes
I have a computer server and a laptop guest, both running Ubuntu.
I set SSH multiplexing and control master in the laptop's .ssh/config like the following:
Host servername
User username
Port 22
...
0
votes
1
answer
479
views
Open a new window in tmux only if no window is opened in the given path, otherwise attach to it
Currently I have my terminal (alacritty) run tmux new -A -s 0 at start to start a new session 0, or attach to it if it already exists. One problem is, I sometimes use open in directory from file ...
1
vote
2
answers
860
views
Does any terminal multiplexer (screen, tmux, zellij) support job suspension (Ctrl-Z) in Bash?
As far as I've seen, pressing Ctrl-Z on any terminal multiplexer, or trying to start them in the background, does nothing or crashes.
I know that, in a sense, terminal multiplexers are a "...
1
vote
0
answers
1k
views
tmux 1 session accessed by multiple terminals, each with a different visual state
I use a tiling window manager and someimtes have 6 or 7 shells open at once. Locally, I use tmux purely as a multiplexer because my preferred terminal does not have one (which I like). I would like ...
1
vote
1
answer
1k
views
How do I get a tmux session's base directory?
I have been using tmux for a few months, and there is one thing that always bothered me: when I type cd into my shell, I get moved into my home directory (this is the standard behavior of cd, so ...
1
vote
1
answer
1k
views
Execute command when creating new screen session
With the screen command, the -X option allows you to execute a command in the specified screen session, but when you try to use it when creating a new screen, e.g:
screen -dmS -S downloader -X "...
8
votes
1
answer
4k
views
What are the advantages of hardware-accelerated terminal emulators?
What distinguishes kitty from the vast majority of terminal emulators?
It offers GPU-acceleration combined with a wide feature set. It’s
targeted at power keyboard users. It’s billed as a modern, ...
0
votes
1
answer
5k
views
How to execute a command in tmux and detach using a single line command?
How can I get tmux to execute a command and then detach (That is, automatically in a single line without further input beyond initially starting the session)?
I don't know to write sophisticated ...
0
votes
1
answer
152
views
Are there tools that I can use to obtain a snapshot of terminal or pty state? [duplicate]
Please stop marking this question as a duplicate, it's not a duplicate. Thanks. Consider the sequence of a, followed by \x1b[D ("cursor back"), followed by b. This would produce an output of ...
0
votes
1
answer
796
views
:How to change `Prefix :` (command prompt) to `Prefix ;` in tmux?
I tried to change from prefix - : to prefix - ; in tmux and it doesn't seem to work.
Edit 1:
Explanation
For a tmux prompt you hit, prefix then : (i.e shift + ;).
I want to change it to , prefix then ...
0
votes
0
answers
149
views
duplicated history entries at the same timestamp
For some time I had an issue with my history using GNU bash (version 4 and 5) where commands appeared in duplicates. I assumed this was due to the fact that in my .bashrc I had the following line:
...
1
vote
1
answer
1k
views
tmux copy is slow on macOS
I am having this issue for about 2 years now (since I started to use tmux in Summer 2018) and I have not found a solution to this problem. Any help is greatly appreciated!
The copy functionality of ...
0
votes
1
answer
846
views
How to stop terminal from getting mouse click input?
I was just reading this forum where I found a curious terminal control escape sequence: "\033[?1000h". Naturally, I've tried it to see what could happens. In accordance with the inspiring comment, my ...
1
vote
1
answer
5k
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 "$...
3
votes
1
answer
570
views
File/foler permissions & plex
I have an Intel NUC running Kubuntu (based on Ubuntu 18.04.3 LTS \n \l) & Plex server, headless. I used various guidance to set this up. The normal user account to the machine is 'exharris', and ...