All Questions
40
questions
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 ...
0
votes
2
answers
1k
views
Ubuntu creating tmux session from shell results in "Error connecting to tmux"
I have a server running in EC2 and every time I need to deploy a new version of my app I run the following script:
#Kills tmux and kills <my-app> process
pkill -f tmux
pkill ./my-app
#Removes ...
0
votes
1
answer
512
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/....
1
vote
0
answers
642
views
Ubuntu: vim gruvbox looks like completely different in tmux
I am a beginner of using tmux and am trying to get vim and tmux working together properly. I am using Ubuntu 20.04 LTS, vim 8.1.3741, tmux 3.0a.
All was well until I entered vim inside of a tmux ...
9
votes
1
answer
24k
views
How to get the full console log of my tmux session on Linux?
I have a Linux VM on Google Cloud and it has a tmux session which is running a .py file and I am trying to get the console log, but I can't scroll up or anything.
Any idea?
3
votes
3
answers
2k
views
Tmux doesn't read `~/.config/tmux/tmux.conf` by default, so where?
As title. I always do things on macOS, but now I have to learn some Virtual Machine and have installed Ubuntu 20.04. On macOS I put all dotfiles inside the folder ~/.config/. I did the same on Ubuntu, ...
-2
votes
1
answer
68
views
When I launch tmux in the terminal it shows this irritating gray bar. Is there way to remove it?
This gray bar says "amarbrkic@prometheus: ~80x24".
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 ...
4
votes
2
answers
7k
views
How to prevent processes from being killed when I log out of GNOME?
So far I was used to be able to run tmux via SSH and if I disconnected, the tmux session would still be running when I connected back.
So I assumed that the same could be done by starting a tmux ...
11
votes
3
answers
6k
views
Copy text from remote tmux to local x clipboard
I ssh into my VPS and run tmux. I can copy/paste from the remote to local, and local to remote - using the mouse and shift.
But I don't know how to copy large quantities of text.
If I were working ...
0
votes
2
answers
498
views
tmux segfaults on send-key after upgrading to 2.9a
I just upgraded an Ubuntu Server from 18.10 to 19.04 and then to 19.10. I think that this upgrade also upgraded tmux to a newer version.
Since then my tmux scripts, which build some dashboards, are ...
2
votes
2
answers
3k
views
How to switch panes in tmux and then begin typing immediately
I can successfully switch panes in tmux with the following command:
Ctrl+bleft arrow (or any other direction)
However, because I am impatient, I usually want to start typing in the new pane ...
1
vote
1
answer
303
views
How do I get rid of boxed '?' symbols that appear after every character in tmux?
When I run tmux, every character has a boxed '?' next to it. The boxed '?' symbols also appear after every character I type when I am within vim when I am in tmux. I have been doing research online ...
5
votes
1
answer
7k
views
Run tmux on ssh login
I want tmux to start on ssh login.
The typical advice is to add this to ~/.bashrc:
if [ -z "$TMUX" ] && [ -n "$SSH_TTY" ] && [[ $- =~ i ]]; then
tmux attach-session -t mysession 2&...
0
votes
1
answer
254
views
Tmux not setting $HOME
I noticed a difference in tmux behavior switching from Debian to Ubuntu.
Expected / old behavior set the $HOME (and all kind of related settings) according to the user starting the tmux instance:
$ ...