Skip to main content

All Questions

Tagged with
0 votes
0 answers
37 views

Linux Mint 20.2 unable to configure tmux with color terminal

I am having a problem configuring tmux to display a color prompt. By default I am using: Gnome-terminal 3.36.2 tmux 3.0a This is my ~/.tmux.conf set -g default-terminal "screen-256color" set ...
D-Dᴙum's user avatar
  • 197
0 votes
2 answers
321 views

How to replace program running in graphical terminal with another program?

Lets say I have top or some ncurses program running in a graphical terminal, and from outside this terminal I'd like to execute a command, that would replace top with another program of my choosing. ...
Alex Stragies's user avatar
3 votes
0 answers
1k views

Tmux color palette is not the same as the terminal emulator's

I am running the following: Ubuntu 18.04 Gnome Terminal Tmux 2.6 Vim 8.0.1453 When running the following snippet, awk 'BEGIN{ s="/\\/\\/\\/\\/\\"; s=s s s s s s s s; for (colnum = ...
root_'s user avatar
  • 31
0 votes
1 answer
1k views

Switch gnome-terminal with tmux - but completely

Ubuntu, xorg, i3. The goal is to have tmux as the default terminal. Easily achieved as the internet is full of great tips like [[ $TERM != "screen" ]] && exec tmux in your .bashrc. This ...
hrs's user avatar
  • 111
1 vote
0 answers
364 views

"gnome-terminal -e tmux ./" keeps opening terminals forever

I recently asked this question. I won't ever use the first method. gnome-terminal -e tmux ./ if I put that in .zshrc or .bashrc (both shells, same problem). If I use that, the terminal will keep ...
Lynob's user avatar
  • 4,264
2 votes
1 answer
5k views

Bash script to start tmux and issue commands

I want to use a nautilus script to open a (gnome-) terminal with a tmux session (or start one) at a specific location and then execute some commands in this terminal (e.g. nvim $file). I've ...
mike's user avatar
  • 271
2 votes
1 answer
374 views

Automatically kill tmux session

I use tmux, and everytime i open a terminal it create a new session and don't destroy the old one... I have set the destroy-unattaced to on but at the tmux ls they are still here Is it possible that ...
Falcort's user avatar
  • 21
2 votes
2 answers
10k views

How to prevent the terminal from closing when the program it was started with ends? [duplicate]

If I start a terminal (any terminal, for example urxvt) like urxvt -e sleep 5, then a new terminal is launched but after 5 seconds the terminal closes, because the sleep program has ended. How can I ...
user779159's user avatar
2 votes
1 answer
536 views

Running shell commands from inside tmux is causing Gnome terminal to break <prefix> key [duplicate]

I am running tmux inside gnome terminal and have been trying to use a binding to copy the contents of tmux's paste buffer to my Linux X clipboard. A lot of places on the internet recommend this: bind ...
the_velour_fog's user avatar
3 votes
2 answers
2k views

How to run multiple programs in one single terminal window?

I would like to write a script that runs multiple programs/commands 'program1', 'program2', 'program3'... in a mosaic of terminal in one single window using gnome-terminal and also using tmux (I mean ...
Laurent Mesguen's user avatar
4 votes
1 answer
2k views

Different vim colors and styles in Tmux and Gnome

I am using tmux, and recently found out that the same vim colorshemes inside and outside of tmux have different colors Left is tmux in gnome-terminal, right is plain gnome-terminal, gnome-terminal ...
Lapshin Dmitry's user avatar
2 votes
0 answers
241 views

Remapping Caps Lock to ctrl+b [duplicate]

I recently moved to Linux from OSx and in there I had mapped Caps lock to Ctrl+b. This was mostly done because of tmux. How can I do this in Ubuntu 14? There is a very comprehensive answer here how ...
user1047833's user avatar
12 votes
2 answers
5k views

What is the gnome-terminal ANSI escape sequence for "CTRL + arrow/s"?

I am trying to configure my bash ~/.inputrc to these settings (Note: ←, → mean the left and right arrow keys) Ctrl + ← - should jump back a word Ctrl + → - should jump forward a word Currently I ...
the_velour_fog's user avatar
6 votes
6 answers
13k views

VIM solarized color scheme looks wrong when using tmux

I am trying to use the solarized color scheme in VIM using gnome terminal (Ubuntu). When I run vim without tmux, it looks great, see below: If I add the following commands to my .bashrc # tmux ...
user1135541's user avatar
4 votes
3 answers
6k views

Why pressing Ctrl-h in xterm + tmux sends "^?"?

xterm: $ echo $TERM xterm-256color $ stty -a speed 38400 baud; rows 52; columns 91; line = 0; intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = ...
x-yuri's user avatar
  • 3,453

15 30 50 per page