Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
29 views

Tmux in bash script executing too fast

I am trying to write a bash script that performs the following actions: open 8 tmux terminals each of the terminals connects in ssh to a remote server start a script X on 3 server, and when it's done ...
0
votes
0answers
7 views

Tmux bindings with j and k broken

Mac High Sierra, Tmux 2.7. End goal: Make Ctrl+j and Ctrl+k move between tmux panes. Weird behavior: Failures bind-key -T root C-j select-pane -t :.+1 bind-key -T ...
0
votes
0answers
11 views

Tmux resize-pane with client-detached hook not working

I'm currently trying to set the client-detached hook to automatically resize the pane when I detach from tmux on a secondary client with different dimensions. For example, if I am attached at my pc, ...
0
votes
1answer
17 views

Can't start Minecraft server in tmux with systemctl

I'm trying to automate my Minecraft server because having to manually wrangle tmux sessions gets really old after a while. Here's the systemd service file I wrote to help me with that: [Unit] ...
0
votes
0answers
18 views

Why does tmux require setting 256 color mode manually?

I just logged-in to a machine and realized that the colors changed inside tmux. It seems like even with TERM=xterm-256color and tput colors ⇒ 256 tmux switches to TERM=screen and tput colors ⇒ 8. ...
1
vote
1answer
21 views

Change the color of tmux pane indicators shown when using “display-pane”

When issuing a command like the following bind Left select-pane -L \; display-pane tmux will display numbers on every pane. The number shown on the active pane will have a different color than the ...
0
votes
0answers
17 views

What are the Byobu keybindings for “Super/Command”, “Home/End”, “PageUp/PageDown” and other keys?

I have read through the byobu sites and edited my /usr/share/byobu/keybindings/f-keys.tmux I wish to emulate iTerm2 on Mac by using CMD-D to split panes horizontally. What is the key-code for CMD in ...
0
votes
0answers
9 views

tmux session appears twice with different names

I've run into an odd situation with tmux just now, and I'm not sure if it's a bug, or (more likely) something that I did by accident: I have two sessions: foo-0 foo-1 Attaching to them with tmux ...
0
votes
0answers
31 views

tmux prevents bash from seeing ctrl commands

in my .bashrc, I have bind -r '\C-s' stty -ixon #bind C-s to go backword (puns) - moves cursor to previous [:space:] on cmd line set -o ignoreeof bind '"\C-s": shell-backward-word' #bind C-d to go ...
0
votes
0answers
12 views

tmux command works on CentOS/Ubuntu, fails on Mac

My .tmux.conf worked on CentOS 7 with tmux 2.6 and Ubuntu 16 with tmux 1.8, but won't work on OSX High Sierra with tmux 2.7. Here's the command I'm trying: run-shell "tmux setenv -g TMUX_VERSION $(...
1
vote
1answer
31 views

Keep tmux title, bash title and terminal/iTerm window title in sync

Something similar was asked here but I wasn't able to resolve the issue for me tmux: # use titles set-option -g set-titles on set-option -g set-titles-string '#T' # add custom term set -g default-...
0
votes
2answers
40 views

How to install softwares for all users?

I am running an Ubuntu 18.04 server among a small group. How can I install some common software that all users can use at the same time? On my own laptop, I can just use apt-get. However, it has a ...
0
votes
1answer
27 views

`byoby` exits randomly on autocomplete

For the first time I am having issues with byobu existing randomly on autocomplete (when I push Tab). I can't reproduce it constantly, but it seems to happen totally randomly. Where can I find the ...
0
votes
1answer
28 views

How to fully rename tmux window

I have such tmux config related to the window naming set -g window-status-format '#[fg=colour235,bg=colour252,bold] #I #(pwd="#{pane_current_path}"; echo ${pwd####*/}) #W ' set -g window-status-...
0
votes
1answer
25 views

Can a process that was started in a tmux session fall asleep?

Can a process that was started in a tmux session fall asleep? If yes, what is the cause(s), how to prevent it? Example reason for the question: I started a process on a server yesterday (training ...

15 30 50 per page