Skip to main content

All Questions

Tagged with
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
1 answer
841 views

How can I get a custom tmux.conf file to work with tmux 3.3a? `-f` flag not working as expected

I have tmux and wanted to set some custom configurations, but I cannot find a default tmux.conf file. tmux -V tmux 3.3a According to the manpage: -f file Specify an alternative ...
Stonecraft's user avatar
4 votes
1 answer
2k views

How do you uninstall a package that you manually cloned from git

I want to uninstall tmux on my machine. My tmux version is: tmux next-3.4 and which tmux gives me: /usr/local/bin/tmux I tried to uninstall it with sudo yum remove tmux, and I get: Updating ...
Dhanvin Kodiatar's user avatar
1 vote
2 answers
1k views

tmux binding a key to bash command refuses to work

I want to be able to respawn all panes in my current window that are NOT in tree-mode. I made this script and it works: for i in $(tmux list-panes -F "#{line} #{pane_id} #{pane_mode} #{...
Dave's user avatar
  • 621
0 votes
1 answer
126 views

How to trigger two commands when pressing a key bind

So I wanted to pass the text stored in my buffer through a socket to other machine, for that I manage to get a socket done, I just need to fire up the following command when in copy-mode-vi bind -T ...
freddie_ventura's user avatar
2 votes
1 answer
3k views

tmux up arrow not working properly

System: ubuntu 20.04 Linux 5.13.0-39-generic tmux 3.0a Problem: While using tmux, any directly attached ssh session from my host I establish, I can no longer use the up arrow, it is not recgonized ...
Dave's user avatar
  • 621
3 votes
1 answer
398 views

tmux configuration: command output substitution doesn't

I am trying to make parts of my .tmux.conf file conditional depending on the kind of system I'm on. For a start, I want one part to only be processed on MacOS. The man page says that I can use the #(...
q.undertow's user avatar
0 votes
1 answer
511 views

What permissions are needed on the tmux.conf file

I have my dotfiles on GitHub. My tmux.conf sits in ~/code/.dotfiles/.config/tmux/tmux.conf. In my ~/.config I have an alias, like so: lrwxrwxrwx 42 j j 2 Feb 11:00 tmux -> /home/j/code/....
J86's user avatar
  • 393
0 votes
0 answers
405 views

Tmux maps 2 Different Keys as the Same One Even If Unbound

I just configured my key bind for the previous-window command in Tmux to Ctrl-[. When I did this, I noticed that my Escape assumed the same behavior as Ctrl-[ command. In other words, the Escape key ...
FedeCuci's user avatar
0 votes
1 answer
3k views

.tmux.conf not working

I have recently installed Tmux and I cannot get anything I put in .tmux.conf to work. I have the file in my home directory, with a call to it in .bash_profile (it would not even read it otherwise). ...
Gizmoz's user avatar
  • 23
3 votes
2 answers
389 views

How to configure GNU screen or tmux to reattach to the previous session without using command line arguments?

By launching GNU screen or tmux as the initial default shell (set with chsh, for instance), passing arguments seems not to be supported, such as "-d RR" for screen and "attach" for tmux. chsh's ...
Pedro Palhoto's user avatar
2 votes
1 answer
137 views

Does tmux support session initialization?

Tmux supports creating sessions, and with the -A flag attaching to session if they already exist rather than creating them. But, if they don't exist and tmux has to create them, what's the best way to ...
Evan Carroll's user avatar
  • 31.8k
2 votes
1 answer
938 views

Change tmux status bar if process is running

I was wondering if it's possible to change text in the tmux status bar (or BASH shell prompt as an alternative) if a specific process is running. I would specifically like an indicator to appear if ...
oneonetwo's user avatar
11 votes
4 answers
3k views

How to get TMux to only show windows when using choose-tree?

I recently installed the latest version of TMux and when I tried to switch between my windows (control-a w, or choose-tree) I was greeted with 3 entries instead of 2. Instead of only showing my ...
ShelLuser's user avatar
  • 144
1 vote
3 answers
6k views

what does set -g means in config files?

In one of my config [~/.tmux.conf] there is a line : set -g default-terminal "screen-256color" set -s escape-time 10 I think it sets global variables of my system. But I am not sure.. I searched for ...
alamin's user avatar
  • 425

15 30 50 per page