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 votes
1 answer
21 views

wezterm > tmux > nvim colors not forwarded through tmux correctly

I'm currently having the problem that the colors are not forwarded correctly from nvim through tmux to wezterm. I think tmux is to blame since the colors work like expected when I invoke nvim from ...
glades's user avatar
  • 99
1 vote
1 answer
50 views

Accidentally detached all tmux sessions but the processes are still running

I have no idea what happened here but i deleted /tmp/ and now all my tmux sessions are gone, but for some weird reason the processes that used to be attached to these sessions are still running in the ...
Alizer's user avatar
  • 11
0 votes
1 answer
22 views

Bind C-h in tmux copy mode

I'm trying to bind C-h to move to the window on the left. Here is my tmux.conf set -g default-terminal "xterm-256color" bind -n S-down new-window bind -n C-l next bind -n C-h prev bind q ...
ludog's user avatar
  • 17
1 vote
0 answers
45 views

SSHing into remote machine from terminal doesn't ask for password, but through VS Code integrated terminal, it does, Why?

I'm working on a project where I have to run a python script which will open a tmux session with multiple windows, in each one ssh into a different remote machine, and run another python script. I'm ...
a dude's user avatar
  • 11
0 votes
0 answers
26 views

Tmux copy-paste with mouse mode on while using the `less` command

Hopefully this is not already answered, given that there are 100s of question specifically about tmux copy-paste on mouse mode. I am specifically trying to copy text using mouse selection while using ...
Ayush Goel's user avatar
0 votes
0 answers
69 views

How to setup zsh with fzf history backsearch in tmux (I get zle errors)

I am using tmux with the zsh shell. I try to setup fzf, and I do it like this (inside my zshrc): eval "$(fzf --zsh)" This works, as long as I am not in tmux. I can use Ctrl-R and get the ...
Nathan's user avatar
  • 173
0 votes
1 answer
80 views

tmux scrolling enabling fails in msys2

I recently started using tmux (in addition to screen), both in a Linux environment and in msys2 (which is also new to me and for which I cannot install screen). Very similar to screen, starting tmux ...
Hauke Laging's user avatar
  • 90.4k
3 votes
1 answer
245 views

How to keep a script running persistently in background

Currently I launch my UDP BitTorrent tracker using the command ./target/release/aquatic_udp -c "aquatic-udp-config.toml" the app shuts down when I close the console. What is the preferred ...
skarz's user avatar
  • 131
0 votes
1 answer
99 views

get access to console of application that is auto started

I have my "c" application which uses a lot of printf to display the necessary information. Application has started automatically at boot time (using init.d or systemd). How I can access to ...
Андрей Тернити's user avatar
0 votes
0 answers
30 views

How to customize tmux list session color scheme? [duplicate]

Please, what are the options to customize tmux list session color scheme? ❯ tmux -V tmux next-3.5 tmux.conf ## COLORSCHEME: spoke (medium) set-option -g status "on" # default statusbar ...
Alexandre Cardoso's user avatar
0 votes
1 answer
19 views

Move/rebind tmux keybinding to a different key without spelling it out

There is a number of default keybindings in tmux that create menus of various sorts. Apparently, these keybindings open-code the entire menu they are displaying: bind-key -T prefix < ...
intelfx's user avatar
  • 5,466
0 votes
1 answer
34 views

What is the difference of passing an sleep command to tmux new-session -d and not passing anything?

I was playing with an script that sends text to a tmux stdin after this answer (https://unix.stackexchange.com/a/773049/189571 by @Kamil Maciorowski) and I was wrongly doing this tty=$(tmux new-...
Whimusical's user avatar
0 votes
1 answer
40 views

TERM ANSI escape sequences compatibility between xterm and screen although infocmp does not say so

I am making an script in zsh on mac that uses tmux and after the amazing https://unix.stackexchange.com/users/22565/st%c3%a9phane-chazelas answer, I found out that when I use tmux, it uses a different ...
Whimusical's user avatar
1 vote
3 answers
149 views

Redirecting stdout of a script as the stdin of another script/command running in a tmux session

I am adapting Marcus Müller’s answer to a question I asked last week — a script that redirects its stdout to a tmux session in order to render ANSI escape sequences, and then captures the pane render ...
Whimusical's user avatar
0 votes
1 answer
31 views

"tmx" (tmux) erroneously connects to existing session because of prefix matching

I used "tmx" to create a tmux session called "foos" and now I want to create a new session called "foo", where the latter is a prefix of the former. But tmux connects me ...
Mihai Danila's user avatar
0 votes
2 answers
25 views

systemd service terminates with error because the script (expectedly) returned

Searched extensively, many questions related but none that I found actually worked. So I have a shell script which I want to automate via a systemd service. The script: #!/usr/bin/env bash SESSION=&...
unsafe_where_true's user avatar
0 votes
1 answer
220 views

Is it possible to change the color of the tmux status bar in command mode?

When I type Prefix-: to start typing a command, tmux changes the color of the status bar to dark yellow. A similar effect happens if I push Prefix-, to change the name of a window. Is it possible to ...
merlin2011's user avatar
  • 3,985
0 votes
1 answer
57 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 ...
MathIsNice1729's user avatar
0 votes
0 answers
172 views

How do I fix Tmux status bar?

I tried a new theme plugin I found from gihub: tmux-tokyo-night. I didn't like it, so I removed the plugin (confirmed with my .tmux.conf file that it was removed) but the broken status bar won't go ...
lsh0723's user avatar
1 vote
0 answers
43 views

How to look up and switch to a pty or pid within tmux?

I have this shell script to figure out from a pid or a tty which tmux window that is: #!/bin/sh if [ -c "$1" ]; then tty="$1" else tty=/dev/$(ps -q "$1" -otty=) ...
sh1's user avatar
  • 111
0 votes
1 answer
36 views

How do I start tmux with N equally-sized, vertically-split panes given an arbitrary list of startup directories?

I want a shell script that will launch tmux with N equally-sized, vertically-split panes, each with its own starting directory, where N is determined by the number of starting directories specified. ...
David A. Pimentel's user avatar
0 votes
0 answers
29 views

Split a tmux window into panes, with one or more panes in a separate terminal window

I know that I can have two different views on the same session using commands described in this post. This is how that would look: monitorA monitorB ┌──────────────────...
chb's user avatar
  • 659
0 votes
0 answers
39 views

Using virtualenv with Tmux causes it to source additional packages

I previously was sourcing some setup files using my .bashrc file. I've since removed this because I found that it was being concatenated with any virtual environment setup on my PC. I would check this ...
nohacks's user avatar
0 votes
1 answer
278 views

Can I configure tmux to show seconds of current time upon Prefix t?

On Prefix t (by default Ctrl+b t), tmux displays the time, and it looks something like this: Is there any way to configure this, e.g. to show the seconds, too? I tried setting export LC_TIME="%H:...
Vince Varga's user avatar
0 votes
0 answers
517 views

How to enable <Ctrl+Backspace> with Tmux, Neovim and Alacritty to delete the previous word?

I use the alacritty terminal, and neovim editor with tmux. At first Ctrl+Backspace (for deleting a previous) wasn't working at all in the terminal. So added the following line to alacritty.yml: ...
an4s911's user avatar
  • 131
-2 votes
1 answer
64 views

Cannot create 2 columns with TMUX

This seems create a bunch of rows with a single column. I am trying to create 2 columns, and then all the rows needed. #!/usr/bin/env bash ( unset TMUX export session_uuid="$(uuidgen)" ...
Alexander Mills's user avatar
2 votes
0 answers
146 views

What causes tmux search to be case insensitive or casesensitive?

When I run a search in the copy paste mode of tmux sometimes it's case insensitive and other times it isn't. I think I know what I do, but I don't understand what causes the search to be case-...
leeand00's user avatar
  • 4,675
2 votes
1 answer
122 views

How to continue journal output to serial console after dev-mqueue.mount is started

So far I managed to get the kernel & systemd to output the first log messages from booting on the system’s serial port. Further, after the boot process is (nearly) completed, journald continues to ...
Felix Stupp's user avatar
0 votes
0 answers
32 views

Find which tmux session and pane runs a given process ID

Sometimes I'll find a process I started a long time ago from a shell but won't remember from which tmux session and pane I started it. How can I find out, given the process ID, from which session and ...
dazedviper's user avatar
0 votes
0 answers
89 views

tmux scrolling itself is fast, but after some weeks of running the tmux session, the start is slow

when i start scrolling back in tmux with CTRL+b+PgUp it first starts directly, but over time it starts really slow - some minutes untill the backscroll starts. When it is started, everything is ...
rubo77's user avatar
  • 29.4k

15 30 50 per page
1
2 3 4 5
46