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!

КОМЕНТАРІ • 121

  • @UltraZelda64
    @UltraZelda64 3 місяці тому +8

    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.

    • @paultapping9510
      @paultapping9510 3 місяці тому +3

      '& detach' is such an underrated command. It's kind of crazy to me how few beginners guides mention it.

    • @paddor
      @paddor 3 місяці тому

      You should check out mosh.

    • @koolboihd8420
      @koolboihd8420 27 днів тому

      So true. A real godsend for people stuck in ssh. Surprised this use case wasn’t more prominent in the vid

    • @ChananOren
      @ChananOren 14 днів тому

      @@paultapping9510 '& detach'? Are you sure you don't mean '& disown'? (btw, if you are using ZSH you can use '&!' which is shorthand for '& disown')

  • @israelssantanna
    @israelssantanna 3 місяці тому +14

    Zellij + Helix + Lazygit has been my main set of tools since vscode stopped working some time ago. I'm not going back!

    • @leandroperalta
      @leandroperalta 3 місяці тому

      Same but with GitUI! I'll check out Lazygit.

  • @tetsuo3k
    @tetsuo3k 3 місяці тому +1

    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.

  • @jetjoshi
    @jetjoshi 3 місяці тому +1

    How do you get the random ascii art for each new terminal session? Looks amazing

  • @younesrabhi5298
    @younesrabhi5298 3 місяці тому +8

    greatings from Morocco

    • @gordslater
      @gordslater 3 місяці тому +1

      marhaban aleykum wa baraka yak

    • @younesrabhi5298
      @younesrabhi5298 3 місяці тому +1

      Wa hasssaaaan 😂

    • @FEITAN7X
      @FEITAN7X 3 місяці тому +1

      @@younesrabhi5298 hhhh bro hrab leya

    • @younesrabhi5298
      @younesrabhi5298 3 місяці тому

      @@FEITAN7X mgharba fin mabchiti tatl9ahoum mkhaznin 🤣🤣

    • @FEITAN7X
      @FEITAN7X 3 місяці тому +1

      @@younesrabhi5298 maimkench asat hrab leya hhhh , btw ila kenti khedam b linux chmen distro 3andek !

  • @DV-ml4fm
    @DV-ml4fm 3 місяці тому +2

    Good to know. But I'm using tmux. I don't want to remember more keybinding from another tiling terminal.

    • @wjorgegoszcz7220
      @wjorgegoszcz7220 3 місяці тому

      you can also use tmux keybinds or any other you want

  • @PompaTG
    @PompaTG 3 місяці тому +3

    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.

    • @eivindsulen8516
      @eivindsulen8516 Місяць тому

      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

  • @AhsanHabib-mj5ym
    @AhsanHabib-mj5ym 3 місяці тому +14

    Zellij is a great program but for a lot of devs it contradicts with a lot of pre-exsisting keybindings ....

    • @wjorgegoszcz7220
      @wjorgegoszcz7220 3 місяці тому +3

      use tmux keybindings, or remap whatever you need

    • @kilrain_dev
      @kilrain_dev 3 місяці тому +1

      DOT DOT DOT DOT

    • @VallThyo
      @VallThyo 3 місяці тому

      You can change those

    • @brachysm
      @brachysm 3 місяці тому

      Yeah, I jump back to iTerm2 because of this problem😢(I’ve tried a few rebind solutions, but not ideal.

    • @vincentnthomas1
      @vincentnthomas1 Місяць тому

      You can lock bindings with ctrl G

  • @summerishere2868
    @summerishere2868 3 місяці тому

    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!

  • @naranyala_dev
    @naranyala_dev 3 місяці тому

    like the floating one, stacked visual are great

  • @sergiuoanes4635
    @sergiuoanes4635 3 місяці тому +1

    if I wouldn't use a tiling window manager, Zelllij would be my first option.

  • @FoxSeba
    @FoxSeba 18 днів тому

    Your wallpaper looks very similar to Shadow of the erdtree

  • @MagnumOpus-w2j
    @MagnumOpus-w2j 3 місяці тому

    Hello! Can you please do guide how to install Alacritty? Its really problem for me.

  • @riufq
    @riufq 3 місяці тому

    Can you make a video, what's the difference between zellij and hyprland?
    Btw im newbie

  • @anasouardini
    @anasouardini 3 місяці тому +1

    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.

    • @_lessthanzero_
      @_lessthanzero_ 3 місяці тому

      True, terminal multiplexer are not thst useful when you are using a tilling window manager

    • @Eldarlll
      @Eldarlll 2 місяці тому

      Because session management, pair programming with terminal text editors, environment independence.

    • @anasouardini
      @anasouardini 2 місяці тому

      @@Eldarlll Only the last one is considerable, in my honest opinion.

    • @anasouardini
      @anasouardini 2 місяці тому

      @@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.

  • @tonywise198
    @tonywise198 3 місяці тому

    Neat. Gotta get this.

  • @CaribouDataScience
    @CaribouDataScience 3 місяці тому +1

    DT you wild and crazy you! You can do samething with KDEs Konsole!!

  • @prashlovessamosa
    @prashlovessamosa 3 місяці тому

    great thanks for sharing

  • @darklightnessful
    @darklightnessful 3 місяці тому

    Zellij is a north african art not Moroccan in particular. You can find it in Algeria Tunisia and Indalusia. It means only Mosaic.

  • @007arek
    @007arek 3 місяці тому

    I'm good with bspwm and wezterm.

  • @michgingras
    @michgingras 3 місяці тому

    takes one pane in the arse !

  • @mzakyr342
    @mzakyr342 3 місяці тому +1

    tiling shell manager

    • @FrankHarwald
      @FrankHarwald 3 місяці тому

      tiling terminal manager

    • @mzakyr342
      @mzakyr342 3 місяці тому

      @@FrankHarwald tiling *virtual terminal manager

  • @nvmidiae
    @nvmidiae 3 місяці тому +1

    zellij is an ALGERIAN name

  • @MerkDolf
    @MerkDolf 3 місяці тому

    🎉 😄 👍 👌

  • @diver2048
    @diver2048 3 місяці тому +1

    Zellij is good)

  • @jaimesanchez37
    @jaimesanchez37 3 місяці тому

    Saludos amigo acá new Jersey

  • @darklightnessful
    @darklightnessful 3 місяці тому

    Ze'lliiiiiiij 🇩🇿🇩🇿🇩🇿🇩🇿🇩🇿

  • @elalemanpaisa
    @elalemanpaisa 3 місяці тому

    Dont see anything you can't do with it you cant in tmux

  • @user-kn4wt
    @user-kn4wt 3 місяці тому

    this is not for power users. tmux is for power users

  • @michaelcook5585
    @michaelcook5585 3 місяці тому

    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.

  • @usr808
    @usr808 3 місяці тому +10

    Another reason to stay in my terminal, thanks DT!!

  • @jozsefk9
    @jozsefk9 3 місяці тому +8

    Since I discovered Zellij I use it all the time. With Alacritty it's a dream. And with my own, custom made layouts. Perfect!

    • @cybernit3
      @cybernit3 3 місяці тому +1

      You like it better than TMUX? I might try it out.

    • @jozsefk9
      @jozsefk9 3 місяці тому

      @@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.

  • @ianpan0102
    @ianpan0102 3 місяці тому +4

    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.

  • @S_dinxsh_
    @S_dinxsh_ 3 місяці тому +4

    DT try foot terminal emulator

  • @zenitsu2989
    @zenitsu2989 3 місяці тому +4

    Love you, DT! I've been following you since I started using Linux two years ago.

  • @_lessthanzero_
    @_lessthanzero_ 3 місяці тому +9

    You got me into linux, tilling window manager, neovim and so many other things. Always grateful for that dt.

  • @tnttale6637
    @tnttale6637 3 місяці тому +3

    Thanks Distro Tube. Your videos are very good

  • @gordslater
    @gordslater 3 місяці тому +2

    "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 :)

  • @TheNoirKamui
    @TheNoirKamui 3 місяці тому +2

    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.

    • @wjorgegoszcz7220
      @wjorgegoszcz7220 3 місяці тому +1

      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)

    • @TheNoirKamui
      @TheNoirKamui 3 місяці тому

      @@wjorgegoszcz7220 write F2 with an upper letter ;)

  • @locatemarbles
    @locatemarbles 3 місяці тому +1

    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?

    • @paddor
      @paddor 3 місяці тому

      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.

  • @locatemarbles
    @locatemarbles 3 місяці тому +1

    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.

  • @catwhisperer911
    @catwhisperer911 3 місяці тому +1

    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.

  • @FrankHarwald
    @FrankHarwald 3 місяці тому +1

    Zell + ij
    Zelle: German word for cell
    ij being common names for coordinate indice variables (often used in math, specifically linear algebra).

  • @matematleta492
    @matematleta492 3 місяці тому +12

    Tmux is still King IMHO.

  • @rubix4716
    @rubix4716 3 місяці тому +2

    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.

    • @subhajitmishra007
      @subhajitmishra007 3 місяці тому +4

      Qtile

    • @donaldwilliams6821
      @donaldwilliams6821 3 місяці тому +2

      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. ;)

  • @SAlmanKhanDev
    @SAlmanKhanDev 3 місяці тому +1

    DT never gets tired of selling emacs :D

  • @mohamedphotography7478
    @mohamedphotography7478 2 місяці тому

    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

  • @littlepeon
    @littlepeon 3 місяці тому

    Nope! I already mix up tmux/screen hotkeys.... I don't need another set of hotkey to forget.

  • @FoxSeba
    @FoxSeba 18 днів тому

    Imagine this in Ghostty terminal with shaders😫 can’t wait for that to be released

  • @groovemanG
    @groovemanG 2 місяці тому

    Great channel, thanks for this content. I'm wondering how do you get those images when you open a shell?

  • @hamchron
    @hamchron Місяць тому

    Zellij is still missing a bunch of features. It is great to see people improving the tools though.

  • @SalahElmousa
    @SalahElmousa 3 місяці тому

    can someone help how to open configure zellij in arco
    linux

  • @RukshanVidurangaPerera
    @RukshanVidurangaPerera 3 місяці тому

    Looks similar to kitty terminal

  • @getpoked101
    @getpoked101 3 місяці тому

    Any issues with emacs and key binds?

  • @Malik-dec87
    @Malik-dec87 3 місяці тому +2

    Hey DT, thanx for the video.
    BTW zellij is an Algerian word not morrocan, a sort of colored mosaic architectural mode. Cheers

    • @fouadzouraibi5407
      @fouadzouraibi5407 3 місяці тому

      🤣🤣🤣🤣🤣🤣🤣 You guys won't stop stealing Moroccan heritage xd.

  • @neelsb7889
    @neelsb7889 3 місяці тому +1

    Can Zellij do session management (as tmux can) to keep processes (e.g. a game server) running, if/when your ssh connection ends?

    • @wjorgegoszcz7220
      @wjorgegoszcz7220 3 місяці тому +1

      yes it can, and that is as default. no plugins needed

    • @neelsb7889
      @neelsb7889 3 місяці тому

      @@wjorgegoszcz7220 Thanks for your reply.

    • @neelsb7889
      @neelsb7889 3 місяці тому

      @@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?

  • @ortep7372
    @ortep7372 3 місяці тому

    Zellij seems really cool for using android with a terminal emulator. Will give it a try! Thanks DT for the cool video!

  • @j.ysr0
    @j.ysr0 3 місяці тому

    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

  • @muddyexport5639
    @muddyexport5639 3 місяці тому

    This is the resson I keep coming back to your page. Thank you! Good info.

  • @jx8148
    @jx8148 3 місяці тому

    These videos are great!

  • @SunsetNova
    @SunsetNova 3 місяці тому +1

    Zellij refers to Moroccan style mosaic tiles. Pronounced zil-eej

    • @nvmidiae
      @nvmidiae 3 місяці тому +2

      its algerian style

    • @SunsetNova
      @SunsetNova 3 місяці тому

      @@nvmidiae 😂😂😂

    • @fouadzouraibi5407
      @fouadzouraibi5407 3 місяці тому

      @@nvmidiae 🤣🤣🤣🤣🤣🤣🤣

    • @fouadzouraibi5407
      @fouadzouraibi5407 3 місяці тому

      @@nvmidiae it a tiling window manager relax xd. kerghouli.

    • @nvmidiae
      @nvmidiae 3 місяці тому +1

      @@fouadzouraibi5407 thank you for telling me son of bousbir ...senegali ,,3ayachi khkhkh protectorat francaise

  • @simonlauer9379
    @simonlauer9379 3 місяці тому

    I looks neat, but I still prefer tmux
    tmux and neovim work so well together

  • @adjusted-bunny
    @adjusted-bunny 3 місяці тому +1

    I love you DT! MAGA!

  • @Linx_info-po9fq
    @Linx_info-po9fq 3 місяці тому +1

    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 ❤ ❤

  • @James-l5s7k
    @James-l5s7k 3 місяці тому

    Looks pretty good, but I have konsole set up really nicely too, and windows terminal.

  • @SirJagerYT
    @SirJagerYT 3 місяці тому +1

    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.

    • @lobotomy-victim
      @lobotomy-victim 3 місяці тому +3

      that makes no sense whatsoever

    • @JamesMowery
      @JamesMowery 3 місяці тому +2

      Yeah this logic is ... not logical at all, lol.

    • @СергейГордиенко-п4д
      @СергейГордиенко-п4д 3 місяці тому +3

      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

  • @joe_rogan
    @joe_rogan 3 місяці тому +1

    written in rust, a big no no for sane people.