Tmux - A Terminal Multiplexer - Linux TUI CLI

preview_player
Показать описание


Name: tmux

DESCRIPTION tmux is a terminal multiplexer: it enables a number of terminals 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. When tmux is started it creates a new session with a single window and displays it on screen. A status line at the bottom of the screen shows information on the current session and is used to enter interactive commands.

prefix key:
Ctrl-b

to get a list of hotkeys:
Ctrl-b then hit ? key

or read the man page:
man tmux

Рекомендации по теме
Комментарии
Автор

ctrl+b is the prefix, so hit ctrl+b then let go then press c

gotbletu
Автор

i used arch like 2yrs ago, but archbang is alright also, saves me a bit of time

gotbletu
Автор

my bad i misread what u meant, for example i use the dash (- key) to split it in half in stead of double quotes, add in this code in your ~/.tmux.conf, bind - split-window -v

gotbletu
Автор

Right on. Yeah I am not really a big fan of archbang as a base. I tried gentoo recently and it is a pretty nice distro too if you have never tried that one. The problem I had with it though is that the packages are newer in arch (at least from what I saw and I was running gentoo testing). Eh, so I'll stay with arch for a while.

dodo
Автор

Now that is very very true for me too. I remember back in the old days trying to compile hydra on Ubuntu and wound up in dependency hell. Man what a nightmare that was. I was new so I was a super noob but still it shouldn't have been that bad.

dodo
Автор

yea u need to use ur ~/.tmux.conf file, then add something like set -g status-right "%a %D %R" use the "man date" to figure out how u like the time to be displayed

gotbletu
Автор

Hey, I am trying to build a REPL CLI using something like TMUX and Prompt_Toolkit. Have you had any experience with this? Would it work properly? I basically want multiple shells to share the same session. And be able to align things up nicely like TMUX allows. But each shell would need to have its own output screen and input line which PT does.

killgamede
Автор

Thanks thats pretty cool, can u make it scroll per pane tho? seems like it scrolls the whole terminal which doesnt seem useful

gotbletu
Автор

welcome back from the dead =D, whats the diff that byobu has?

gotbletu
Автор

yea is cool for people like us that knows a bit of what we are doing but i feel bad for the newer users that has to go along with the hype machine

gotbletu
Автор

Oh, I guess I didn't notice. Are you happy with the transition?

dodo
Автор

i am doing that, 80% of my videos are GUI, now i do terminal to balance it so it can be 50/50 loL

gotbletu
Автор

ur prefix key dont work? try closing other apps down or run it in the tty screen to be sure it aint a tmux issue

gotbletu
Автор

C+b x -- to kill pane, C+b & -- to kill window

gotbletu
Автор

I cant get these controls to work on Kubuntu *neither in Konsole nor in YaQuake). Even googling around, every site says the controls are supposed to be the same. =/

BrewerFR
Автор

Not me. I will feel sorry for us if they all come to arch hahaha. Don't get me wrong arch is my favorite binary distro for multiple reasons and I recommend it to people but my philosophy is: Bigger userbase == trouble. If every ubuntu user switched to arch today then I would be running gentoo tomorrow. I have my own paranoid reasoning behind this but it is mostly just gut feelings and critical thinking.

dodo
Автор

lols well some people tell me not to do terminal video.
other tells me not to do reviews.
the rest says not to do linux period.

Guess ill start working on my windows channel again :)

gotbletu
Автор

when i press ctrl + b and the prefix key "d" it actually works because it's like typing exit, however the others prefix keys does not work, I cant create a new windows with ctrl + b + c and i dont know what's the problem

neyson
Автор

never used screen, but i always hear they said tmux is better so i use this 1st

gotbletu
Автор

If I don't need to detach/attach sessions then can I just use a tiling window manager like i3 instead of tmux? Or does tmux give me something else? Thanks.

ashgupta
join shbcf.ru