Why I Don't Care About My (Linux) Window Manager!

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024

Комментарии • 61

  • @ApexFPS
    @ApexFPS 4 года назад +36

    This is the kind of intermediate level Linux content I’ve been looking for, loved your last kvm video too. Looking forward to more of your videos

  • @osxs333__7
    @osxs333__7 3 года назад +11

    The algorithm has blessed me, a software engineer that’s fluent with Linux 💯💯

  • @lorenzocabrini
    @lorenzocabrini 3 года назад +11

    My window manager principles are quite simple. The most important one is don't interfere with Emacs. I have a few other requirements as well. One thing I do is add cards to Anki. This usally involves adding images and/or audio files. Since the PyQt file selector is slow, this is really the only time I use a GUI file manager (pcmanfm). With i3, I tab together the Anki main window and the add card window on the left and pcmanfm to the right. Very fast and it doesn't increase my stress level at all.
    A while ago I discovered sway, which is a wayland compositor that behaves a lot like i3. In my experience, it's not as laggy as i3, so now I'm fully on sway. There was a time when I was a lot younger and had time to play around with window managers. My favorite was fvwm, but I also liked WindowMaker, blackbox and Enlightenment (yeah, the one the was the default Gnome window manager for a while) and later Openbox. Nowadays, I'm really comfortable with sway and don't see myself changing any time soon. It fits my workflow perfectly.

  • @unclefunctor8891
    @unclefunctor8891 4 года назад +4

    Your back, awesome! Jetbrains is like hotel California. Once you check out you can never leave LoL.

  • @engageintellect
    @engageintellect 3 года назад +5

    Thanks to this video I am now 100% in control of my window manager/s. This is perfect for scripting!

  • @nobloat5702
    @nobloat5702 Год назад

    This is some amazing content! I am glad to discover your channel. I am a TWM user but I love the idea behind your script and how it also doesn't unnecessarily complicates things

  • @patrickprucha5522
    @patrickprucha5522 8 месяцев назад

    Very Good Video and Very Good Prespective.
    Excellent Video! Very pertinent subject. I think we spend alot of time playing with our customizations, and less time on what we want to do. But heck, it's so fun :).
    I have a tendency to be of a similar type as yourself, with respect to not wasting time while doing a task. I definitely will review the video again to take notes on your lof script. I don't know, but if it was my tool, i would think it is very elegant. Elegant for me is clean, efficient, to the point, few lines.
    Cheers and many thanks!
    👍

  • @WK-47
    @WK-47 2 года назад +2

    Nice video. The philosophy of DEs/WMs is strangely interesting, maybe because it's through them we do most of our work. I've been using Cinnamon quite happily for 6 years but for performance reasons mainly have started considering an alternative to it and pure tiling WMs. Xfce with xbindkeys (and maybe rofi) might be just what I'm looking for. Thanks!

  • @AndrewErwin73
    @AndrewErwin73 4 года назад +4

    Notice how KDE, Gnome, and XCFE were NOT in the list of stacking window managers? Cuz they are not. There is a distinct difference between a desktop environment and a window manager.

  • @willernst
    @willernst 3 года назад

    Okay, I ended up watching this by accident when RUclips auto played it after a video ON a window manager and I almost backed out, but I’m glad it queued up! Great content , well-explained, well-paced, and well-produced. Some great ideas on here; now I’m off to explore the channel!

  • @tiberiusvetus9113
    @tiberiusvetus9113 3 года назад +1

    Nice simple workflow. One gap for me would be dealing with multiple browser instances, terminal instances.

    • @sukhmandersingh4306
      @sukhmandersingh4306 3 года назад

      @@joshrosso super + ` works on ubuntu i don't know about other distros. Super + tab works just like alt+tab.

  • @troytian9041
    @troytian9041 4 года назад +5

    Another nice one. Learned something new from it, thank you. 😜

  • @creativityhub1350
    @creativityhub1350 Год назад

    Amazing work! I am implementing this into my workflow immediately!

  • @wjcferguson
    @wjcferguson Год назад

    Launch-or-focus was built-in from day 1 in the Unity DE over a decade ago and it was immediately my workflow. It gave you Super+n, where n is the index of the app in the launch bar. First activity post-install was putting primary apps in those key first places, so then Super+1 summoned my editor, Super+2 browser, Super+3 terminal.... Unity was a great DE for keyboard drivability and low friction activity shifting.
    Using X Window Class is the classic way to identify the window, accepted by xdotool, avoiding the need to deal with titles.
    I agree with your fundamental point, and similarly I don't need much from a WM, but I definitely need it to do trivial tiling- managing windows side-by-side with the ability to easily adjust the divider.

  • @MrRenanwill
    @MrRenanwill 3 года назад +2

    I liked the concept! If was able to know that before, probably I was using xfce since then. Now I'm using Rofi to launch apps and some keybinds, but usually Rofi. I'm trying to satisfy myself with my last step. I fell like that I am almost in a perfect setup but for some reason I don't convince myself about that and I get myself on and on "fixing" things.

  • @codermonk7552
    @codermonk7552 3 года назад +4

    Thank you! This gave me great ideas :) I tried tiling wms too, but they get in my way instead of helping (I have the same priorities as you here pretty much).

    • @twb0109
      @twb0109 3 года назад

      New things will always get in your way though xd

  • @NrJuan
    @NrJuan 3 года назад +2

    I might have missed it but what happens if you have 2 firefox processes running and you then want to focus?

  • @zinahe
    @zinahe 3 года назад +1

    Thanks. That was enlightening. I like this kind of productivity-focused videos. How about some tips about vim/tmux ?

    • @zinahe
      @zinahe 3 года назад +1

      Oops! I just noticed you've already done a video on Vim. My bad :(

  • @tonythai5991
    @tonythai5991 2 года назад

    Wow, very efficient work flow. Thank you professor!

  • @bastonUK
    @bastonUK 4 года назад +3

    Great video. Have you considered doing a shell scripting tutorial series?

    • @bastonUK
      @bastonUK 4 года назад

      @@joshrosso There are not many tutorial series that go up in complexity while still demonstrating useful scripting. Do you have a way of supporting you like a patron or PayPal?

  • @FranciscoMarcosMilhomemAbreu
    @FranciscoMarcosMilhomemAbreu 2 года назад

    This will be useful for my adhd. Thank you very much!

  • @motif5775
    @motif5775 3 года назад

    Great video! Thanks for your perspective, learned alot.

  • @returned_to_monke8872
    @returned_to_monke8872 2 года назад

    I learned git, patch, & diff by patching dwm (a lot) & uploading it to my github. Nice experience I must say.

  • @thallium54
    @thallium54 3 года назад +1

    Your idea is really awesome but I found that xbindkeys doesn't respond instantly (at least slower than key bindings using my window manager).

    • @thallium54
      @thallium54 3 года назад

      @@joshrosso how could I check it?

  • @lydstyl
    @lydstyl 2 года назад

    Really good video thanks.

  • @jorgegarreton9460
    @jorgegarreton9460 2 года назад

    awesome ideas!

  • @ilyasabi8920
    @ilyasabi8920 3 года назад

    Smart very useful I will keep this in mind

  • @yiannisspanos694
    @yiannisspanos694 3 года назад

    The link for the blogpost is missing the docs/ part. It's broken.

  • @kickbuttowsk2i
    @kickbuttowsk2i 2 года назад

    enlightened

  • @yiannisspanos694
    @yiannisspanos694 3 года назад

    I've seen this video 2 times now and I think that once I get some free time, I might implement it.
    What happens if you launch multiple firefox windows? Can lof handle that?
    I often have pairs of workspaces to do different things. i.e. A pair of workspaces for coding, and another for attending class and keeping notes.
    I end up having multiple instances of the same program when I'm hoping from task to task.

    • @yiannisspanos694
      @yiannisspanos694 3 года назад

      @@joshrosso I understand. It's a great script nonetheless.

  • @eherrmann01
    @eherrmann01 3 года назад

    Very interesting, thank you.

  • @alejandromadail
    @alejandromadail 4 года назад

    Seriously man, great video!

  • @ahmadbaghereslami796
    @ahmadbaghereslami796 3 года назад

    Great video, thanks

  • @dlxpro9342
    @dlxpro9342 2 года назад

    Great video.

  • @alejandromadail
    @alejandromadail 4 года назад

    I cannot get this to work with dwm. wmctrl -R does not play well with dwm, not even wmctrl -a.
    I even patched it with focusonnetactive but no chance :(

    • @wiswis
      @wiswis 3 года назад

      that is because dwm is not an EWMH compliant Window Manager, I read somewhere there is a patch that adds it.
      wmctrl requires an EWMH compliant Window Manager.

    • @engageintellect
      @engageintellect 3 года назад

      I was able to get this method working in dwm, spectrwm and bspwm.
      Read the tail end of “man wmctrl” and you should be able to get it working. As Josh mentions in this video, wmctrl is very picky about the information you give it. (and the syntax). But it does work... the trick for me was putting a “sleep .1” command between launching programs and running wmctrl on them, without the short sleep before it wasn’t working.
      Hope this makes sense.

  • @vladtymoshchyk9249
    @vladtymoshchyk9249 3 года назад

    Super interesting

  • @noxx82
    @noxx82 10 месяцев назад

    3:15 🙂

  • @kuhluhOG
    @kuhluhOG Год назад

    14:58 As a tip if you don't want to need to append an ampersand here, you can change in your script
    $APP_NAME
    to
    nohup $APP_NAME &

  • @iAmTheWagon
    @iAmTheWagon 3 года назад

    This is really fkn cool

  • @mentalmarvin
    @mentalmarvin Год назад

    you kept moving and resizing your windows with the mouse

  • @ablanchi
    @ablanchi 3 года назад

    This is good if you never want to see more than 1 window at a time.
    However, as soon as you want to reference your browser and your editor at the same time, you need the mouse.

  • @WafflesOinc
    @WafflesOinc 3 года назад

    1:32 nice pun

  • @0xssff
    @0xssff 3 года назад

    just use dwm lol

  • @user-kw7qj2he5w
    @user-kw7qj2he5w 3 года назад +1

    this is real suckless mindset i think

  • @weedeater64
    @weedeater64 6 месяцев назад

    #!/bin/bash
    for i in $(wmctrl -lp | grep -i $1 | awk '{print $1}'); do wmctrl -iR $i; done