Turn Your Terminal Into A Tiling Window Manager With Zellij
Вставка
- Опубліковано 28 вер 2024
- Zellij is a really, neat terminal multiplexer that is both user-friendly and extremely customizable. It can turn your terminal into something similar to a tiling window manager.
REFERENCED:
► zellij.dev/
WANT TO SUPPORT THE CHANNEL?
💰 Patreon: / distrotube
💳 Paypal: www.youtube.co...
🛍️ Amazon: amzn.to/2RotFFi
👕 Teespring: teespring.com/...
DT ON THE WEB:
🕸️ Website: distrotube.com/
📁 GitLab: gitlab.com/dwt1
🗨️ Mastodon: fosstodon.org/...
👫 Reddit: / distrotube
📽️ LBRY/Odysee: odysee.com/@Di...
FREE AND OPEN SOURCE SOFTWARE THAT I USE:
🌐 Brave Browser - brave.com/dis872
📽️ Open Broadcaster Software: obsproject.com/
🎬 Kdenlive: kdenlive.org
🎨 GIMP: www.gimp.org/
💻 VirtualBox: www.virtualbox...
🗒️ Doom Emacs: github.com/hli...
Your support is very much appreciated. Thanks, guys!
The only reason I've ever needed a terminal multiplexer is to detach and reattach terminals, so I can SSH into something, run a command, detach, exit and be done while the other machine does its thing. If you SSH into a machine the client will eventually kick you off after some period of inactivity, and if you were running a command at that time... well, after disconnecting that command is stopped if it wasn't done running already.
By running through a multiplexer, at least your commands can continue running undisturbed, even if the connection gets closed unexpectedly or you shut down the physical machine you ran the SSH client from to begin with. The machine running the SSH server can continue to finish the job you started over the network.
SSH connections terminating unexpectedly can range from ann annoyance when you just want to keep htop running to monitor the server machine over time, to a major pain in the ass if you want to do a very large many-gigabyte file transfer/copy/backup, and not even halfway through without you knowing it fails because SSH decided it wanted to disconnect.
'& detach' is such an underrated command. It's kind of crazy to me how few beginners guides mention it.
You should check out mosh.
So true. A real godsend for people stuck in ssh. Surprised this use case wasn’t more prominent in the vid
@@paultapping9510 '& detach'? Are you sure you don't mean '& disown'? (btw, if you are using ZSH you can use '&!' which is shorthand for '& disown')
Zellij + Helix + Lazygit has been my main set of tools since vscode stopped working some time ago. I'm not going back!
Same but with GitUI! I'll check out Lazygit.
This feels like a very nice compromise between desktop environment and tiling window manager. 90% of what I want tiling for is terminal stuff anyway. Definitely a nice find.
Fedora users, it's on the COPR.
How do you get the random ascii art for each new terminal session? Looks amazing
greatings from Morocco
marhaban aleykum wa baraka yak
Wa hasssaaaan 😂
@@younesrabhi5298 hhhh bro hrab leya
@@FEITAN7X mgharba fin mabchiti tatl9ahoum mkhaznin 🤣🤣
@@younesrabhi5298 maimkench asat hrab leya hhhh , btw ila kenti khedam b linux chmen distro 3andek !
Good to know. But I'm using tmux. I don't want to remember more keybinding from another tiling terminal.
you can also use tmux keybinds or any other you want
Looks nice, but since I'm already using xmonad I don't see the need for a terminal multiplexer... I did use tmux back when I used plasma, but now I just open a new terminal window.
I also use a tiling window manager, but I like zellij because of session resurrection and zellij run. Zellij run lets you repeat a command by just pressing enter, which is really useful for certain tasks
Zellij is a great program but for a lot of devs it contradicts with a lot of pre-exsisting keybindings ....
use tmux keybindings, or remap whatever you need
DOT DOT DOT DOT
You can change those
Yeah, I jump back to iTerm2 because of this problem😢(I’ve tried a few rebind solutions, but not ideal.
You can lock bindings with ctrl G
Great program! The binary is quite big though... The killer feature for me is that it works in the TTY! I will add it to my toolbox. Thanks Dt!
like the floating one, stacked visual are great
if I wouldn't use a tiling window manager, Zelllij would be my first option.
Your wallpaper looks very similar to Shadow of the erdtree
Hello! Can you please do guide how to install Alacritty? Its really problem for me.
Can you make a video, what's the difference between zellij and hyprland?
Btw im newbie
I still wonder why people use those while they use a tiling WM. I thought of using Temux just in case I had to use something other than Linux someday, but since it's only made for terminal windows, it's not really worth it.
True, terminal multiplexer are not thst useful when you are using a tilling window manager
Because session management, pair programming with terminal text editors, environment independence.
@@Eldarlll Only the last one is considerable, in my honest opinion.
@@Eldarlll Imagine it has all capabilities of a WM.... I'd just take it with me to someone's Windows and feel right at home.
Neat. Gotta get this.
DT you wild and crazy you! You can do samething with KDEs Konsole!!
great thanks for sharing
Zellij is a north african art not Moroccan in particular. You can find it in Algeria Tunisia and Indalusia. It means only Mosaic.
I'm good with bspwm and wezterm.
takes one pane in the arse !
tiling shell manager
tiling terminal manager
@@FrankHarwald tiling *virtual terminal manager
zellij is an ALGERIAN name
Hahaha
🎉 😄 👍 👌
Zellij is good)
Saludos amigo acá new Jersey
Ze'lliiiiiiij 🇩🇿🇩🇿🇩🇿🇩🇿🇩🇿
Dont see anything you can't do with it you cant in tmux
irc one cat write wasi plugins for this. not sure if it is widely used tho
The only reason I love zellij is that it saves my sessions after reboot
this is not for power users. tmux is for power users
You are a retail worker, not a system administrator or developer. How are you in any way a power user? The only thing you have reason to use a computer for is to edit your videos.
Another reason to stay in my terminal, thanks DT!!
Since I discovered Zellij I use it all the time. With Alacritty it's a dream. And with my own, custom made layouts. Perfect!
You like it better than TMUX? I might try it out.
@@cybernit3 Didn't have a need for multiplexer before I started using Alacritty, so I started with Zellij. Haven't tried tmux yet. Zellij works great, I'm not thinking about trying others now.
Thanks for making the video DT. I've always had trouble working with tmux (bunch of unintuitive keybindings clashing with emacs etc). I installed Zellij this morning at work and by afternoon I'm already productive with it.
DT try foot terminal emulator
Love you, DT! I've been following you since I started using Linux two years ago.
You got me into linux, tilling window manager, neovim and so many other things. Always grateful for that dt.
Thanks Distro Tube. Your videos are very good
"Zelliiij" with stress on the long "iii" sound is more like the correct pronuncionation in Darija.
It's a transliteration so can be spelled many different ways in English too :)
I tried it recently seriously. And this is why I can't use it: The key re-mapping doesn't support shift! You can only use crtl and alt as modifiers...
And since I wanted to map a byobu style F-key layout... alt+Fkeys already has system functions... Having only one modifier is simply not enough. So... sadly sadly... I have to stick with tmux and its byobu keymap. Manipulating the terminal with Fkeys is the best solution I ever used. Otherwise you have to always either un/lock or prepend everything with another binding.
it support shift... you just do not to write it, try it, you can bind ctrl + y or ctrl + Y (uppercase letter works as shift)
@@wjorgegoszcz7220 write F2 with an upper letter ;)
Ok, but why not use tmux instead, which is the industry standard so to speak? From what I see zellij seems to be a bit easier for newbies?
Long term Tmux user here, all day every day. I switched from iTerm2 to Alacritty yesterday, which cut down CPU usage by like 80% when scrolling. Today, I gave Zellij a try and noticed even smoother scrolling, respectively text flying by, e.g. when a command prints a lot of output. In Tmux it’s chopped. Maybe that explains why Tmux’s CPU usage seems lower, but Zellij uses less RAM so far.
And sessions/resurrections are built in. I’m working on sane keybindings right now.
I love terminal multiplexers because they are environment agnostic. Gnome, Kde, Xfce, Cinnamon, Window Manager, or nothing at all and only console on the tty? As long as you have your multiplexer and your config you can call any environment your home. Additionally a multiplexer allows you to use the barebones non-bloated programs and applications, because it already offers the features those stripped down apps will be missing. It is no coincidence that the official st recommends using the terminal emulator with a multiplexer.
Zellij was just too good for me to ignore. It's easy layout configuration makes it a standout and its robust session resurrection and floating terminal windows makes it outstanding. I liked Tmux but I absolutely love Zellij. It's a great piece of kit for those of us who live in the terminal.
Zell + ij
Zelle: German word for cell
ij being common names for coordinate indice variables (often used in math, specifically linear algebra).
Tmux is still King IMHO.
What window manager are you using in this video? Specifically, I'm wondering about that status bar at the very top of the screen, above the terminal.
Qtile
He has an Arch based ISO for his setup, or if you are runnng ARco they have a package to make it look like that. arcolinux-qtile-distrotube-git Something like that. ;)
DT never gets tired of selling emacs :D
I have an idea as a Moroccan and it spell zleeje and thank for your video but I have a question I want to use i3 windows manager for the first time but I don't have any idea can you give me direction to start using it
Nope! I already mix up tmux/screen hotkeys.... I don't need another set of hotkey to forget.
Imagine this in Ghostty terminal with shaders😫 can’t wait for that to be released
Great channel, thanks for this content. I'm wondering how do you get those images when you open a shell?
Zellij is still missing a bunch of features. It is great to see people improving the tools though.
can someone help how to open configure zellij in arco
linux
Looks similar to kitty terminal
Any issues with emacs and key binds?
Hey DT, thanx for the video.
BTW zellij is an Algerian word not morrocan, a sort of colored mosaic architectural mode. Cheers
🤣🤣🤣🤣🤣🤣🤣 You guys won't stop stealing Moroccan heritage xd.
Can Zellij do session management (as tmux can) to keep processes (e.g. a game server) running, if/when your ssh connection ends?
yes it can, and that is as default. no plugins needed
@@wjorgegoszcz7220 Thanks for your reply.
@@wjorgegoszcz7220 Can Zellij also attach to multiple sessions simultaneously - e.g. to have 2 or 3 game severs visible, running in different panes on the same screen and jump between them quickly by switching between the panes, to manage any one of them at any time? Or would I need to attach to each session in turn and then detach from it before attaching to one of the others?
Zellij seems really cool for using android with a terminal emulator. Will give it a try! Thanks DT for the cool video!
i gotta admit that dt use a really unique wallpapers. i hope someone or you dt could tell us about the source of these wallpapers
This is the resson I keep coming back to your page. Thank you! Good info.
These videos are great!
Zellij refers to Moroccan style mosaic tiles. Pronounced zil-eej
its algerian style
@@nvmidiae 😂😂😂
@@nvmidiae 🤣🤣🤣🤣🤣🤣🤣
@@nvmidiae it a tiling window manager relax xd. kerghouli.
@@fouadzouraibi5407 thank you for telling me son of bousbir ...senegali ,,3ayachi khkhkh protectorat francaise
I looks neat, but I still prefer tmux
tmux and neovim work so well together
there is also a nvim plugin for zellij navigation
I love tmux but I want my sessions to be saved after reboot. So I switch to zellij
I love you DT! MAGA!
Hey DT I am a follower from Morocco for a long time, I was surprised when I saw the title of the vidéo... I am proud of this one thanks ❤ ❤
Looks pretty good, but I have konsole set up really nicely too, and windows terminal.
Terminals will come and go, We have seen from xterm, kitty, alacritty, wezterm, zellij and so on. So i dont get attched to any terminals, Instead I use tools like tmux, zsh, starship etc... They will improve but hardly will replace.
that makes no sense whatsoever
Yeah this logic is ... not logical at all, lol.
Zellij is not a terminal. It is multiplexer and session manager. Just like tmux or Gnu screen
Moreover, nesting terminals is bad for latency. I still use tmux instead of wezterm tho 'cuz I'm lazy
written in rust, a big no no for sane people.
why