Leaving dwm for StumpWM

  Рет қаралды 17,940

Gavin Freeborn

Gavin Freeborn

2 жыл бұрын

This tutorial is focused on StumpWM a powerful window manager written
in Lisp. StumpWM and Ratpoison has gotten a bad wrap and I love it. So I am here to
set the record straight.
StumpWM Website:
stumpwm.github.io/
Wiki:
github.com/stumpwm/stumpwm/wiki
Manual
stumpwm.github.io/git/stumpwm-...
Mailing List:
lists.nongnu.org/mailman/list...
Additional Modules:
github.com/stumpwm/stumpwm-co...
My Config:
github.com/Gavinok/stump-conf
Let me know what you think and if there is anything specific you would like to learn about.
---------------► Wanna Support Me? ◀︎---------------
Github:
www.github.com/sponsors/gavinok
Patreon:
/ gavinfreeborn
---------------► Wanna Checkout My Dots? ◀︎---------------
Vimrc:
github.com/Gavinok/dotvim
Emacs Config:
github.com/Gavinok/emacs.d
---------------► Come Join The Community◀︎---------------
LBRY:
open.lbry.com/@GavinFreeborn:...
Matrix Space:
matrix.to/#/%23gavinfreeborn:...
Discord:
/ discord
00:00 Intro

Пікірлер: 85
@LabiaLicker
@LabiaLicker 6 ай бұрын
Wow being able to treat emacs/vim windows as first class tiles is brilliant. It always irked me that I'm running an application specific "wm" inside a real wm.
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Another Feature I didn't get to touch on was `stumpish` a commandline program that allows you to interact with stumpwm using the same commands available with `prefix ;`. This should give you a good starting point for those of you coming from bspwm. There are plenty of other features I didn't get to mention but but I figured those of you a little new to lisp would appreciate something a bit more familiar.
@zosthegoatherd
@zosthegoatherd 2 жыл бұрын
Nice! I just started playing around with StumpWM myself as I try and learn common Lisp.
@Timjstewart
@Timjstewart 2 жыл бұрын
StumpWM looked so interesting, I'm giving it a try. Thanks for the great demonstration Gavin!
@codebitcookie8053
@codebitcookie8053 2 жыл бұрын
Yay, you came to the Lisp and Emacs side! Thanks for this, liked and subbed. Love all of your vidoes, keep it up.
@TheLinuxCast
@TheLinuxCast 2 жыл бұрын
Oh, this looks great. Something to try out
@trejohnson7677
@trejohnson7677 2 жыл бұрын
StumpWM Master race.
@noogie13
@noogie13 Жыл бұрын
i’ve been using stumpwm for years, mostly for the insane hackability in CL. Such a fun WM!
@folksurvival
@folksurvival 2 жыл бұрын
Very underrated channel.
@copper4eva
@copper4eva 2 жыл бұрын
I love that you can stack windows on top of each other. I wish more tiling WM's had this feature. Like bspwm for example.
@001mhu
@001mhu 2 жыл бұрын
how do you stack with bspwm?
@copper4eva
@copper4eva 2 жыл бұрын
@@001mhu You can't. I was saying I wish bspwm had that feature.
@001mhu
@001mhu 2 жыл бұрын
@@copper4eva ah... haha yes. that was my bad :D
@exnihilonihilfit6316
@exnihilonihilfit6316 2 жыл бұрын
@@001mhu It's not 'your bad'. HE put it ambiguously.
@jeepsalt
@jeepsalt 8 ай бұрын
you can do it in dwm. You can pretty much do whatever you want in dwm
@hectorqlucero
@hectorqlucero 9 ай бұрын
Great videos, keep it up!!!
@DavidB-zh2yd
@DavidB-zh2yd 2 жыл бұрын
Your emacs xorg-window trick would be an awesome contrib module!
@FunkyDeleriousPriest
@FunkyDeleriousPriest 2 жыл бұрын
Default leader key is Ctrl+T? Finally! A WM optimized for my Dvorak Atreus!
@noblesavage149
@noblesavage149 2 жыл бұрын
Hey! I was thinking stumpwm when I try guix.... but more importantly I have that wallpaper!!! Gruvbox ftw ;)
@smiley19092
@smiley19092 2 жыл бұрын
I daily drive ratpoison and have never really bought into the hype of stumpwm but I'm going to try it now that I've seen this video
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Great to hear! Would love to hear your thoughts on how they compare.
@basscass710
@basscass710 2 жыл бұрын
Its time Gavin. Its time to move to GNU Guix.
@FunkyDeleriousPriest
@FunkyDeleriousPriest 2 жыл бұрын
I want to know what he thinks of it
@LabiaLicker
@LabiaLicker 6 ай бұрын
real chads use gentoo
@marcempunkt9737
@marcempunkt9737 2 жыл бұрын
I'm gonna wm-hop right now!!!
@pascal7947
@pascal7947 2 жыл бұрын
I used StumWM about a year ago. I was a bit annoyed when using Zoom, that it was pretty difficult to recover windows that Zoom "minimized". But I mainly switched away from it because I always get tearing on KZbin videos on X11 and wanted to give Wayland a try. StumpWM was very fun to use and I liked the manual tiling paradigm.
@kylestubblefield3404
@kylestubblefield3404 Жыл бұрын
I know this is a year late, but for the good of the group, picom is a compositor that works with any window manager including stump, and it will solve that screen tearing problem.
@pascal7947
@pascal7947 Жыл бұрын
@Kyle Stubblefield Thanks, good input. For me, I used picom back then and enabled vsync. Even after some tinkering with the picom config, I just couldn't get rid of the tearing :/ But I would assume, if it's set up properly, that tearing shouldn't be an issue.
@petewilliamspete001
@petewilliamspete001 6 ай бұрын
@@pascal7947 Even later, but for me the thing that did it for me was switching the backend from xrender to glx. xrender is the fall back software rendering backend (i.e. it doesn't use the GPU to draw things). Afik in general (with the exception of some Intel drivers and potentially the xr_glx_hybrid mode) xrender does not support vsync at all. So if you were using that backend enabling vsync in the config or CLI arguments, it would not work and still have the tearing problems (because the backend doesn't support it). Switching to the glx version uses OpenGL (i.e. proper GPU based rendering) and supports vsync with the caveat that it needs you to actually have graphics drivers installed (which is why xrender is still there as the default). tl;dr: Enabling vsync and setting the background to glx (which actually supports it) should solve the tearing problem (and in general be nicer as it is accelerated rather than software rendering).
@aryakiran256
@aryakiran256 2 жыл бұрын
I just switched to exwm yesterday and now this. Seems i need to do another wm hop this week lol
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Haha some people do seem pretty happy with exwm but I just didn't wanna get locked into emacs.
@guillermorojas2000
@guillermorojas2000 2 жыл бұрын
what a great decision
@artesalve3233
@artesalve3233 2 жыл бұрын
Hi Gavin, in your research of TWM have you find one that supports desktop zoom to mouse position like Xfce does when holding (alt or super)+scroll wheel?
@NoProSkills
@NoProSkills Жыл бұрын
afaik, there’s none that actually support that otb, but it could be possible using wayland (because x11 doesn’t like fractional scaling) and dwl (or whatever). You could create a keybinding in the config that runs a script that increases scaling on your desktop. I’m not sure how that would look because I’m not a shell scripter, but it might be worth looking into
@claudiusraphael9423
@claudiusraphael9423 2 жыл бұрын
Could touch/pen-events be bond and filtered synced to a specific frame? For example on a wacom pen-touch-screen, allowing binding touch-events to frames that make up a tool-palette and allow in a frame containg the actual drawing-canvas either pen or touch - to override/optimize/addon correct handling that is not given in an application (inkscape/gimp/blender/...)? Also: is the spacing/margin added by you - is it possible to define frames as linked snuggly to the edge?
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Can't speak on the 1st one but there is a module in the contrib repo. The second one you definitely can do that.
@copper4eva
@copper4eva 2 жыл бұрын
So I am very tempted to try out stumpwm after watching this video. But one issue I have is that I am using bspwm with kde right now. And I won't lie, having kde take care of all the BS like notifications and battery life warnings is really really nice. I hated having to configure all that while running a WM. I wonder how well stumpwm would work with kde. Or, if there are are other options than kde to run alongside a minimal wm.
@trejohnson7677
@trejohnson7677 2 жыл бұрын
Check out the Common Lisp Hyper Spec.
@slavkaeroxin9927
@slavkaeroxin9927 2 жыл бұрын
Hey, what is this lightning symbol you have on your PS1, and what's the font?
@PiotrKaznowski
@PiotrKaznowski 2 жыл бұрын
Hi, thanks for the vid! How did you install stumpwm? I tried via AUR (Arch) and by building from source, but there's no dynamic group feature available. I was able to find it in the source code, but stump just crashes when I load it from there and try to put a window on a newly created dynamic group like that...
@PiotrKaznowski
@PiotrKaznowski 2 жыл бұрын
Edit: It looks like there's a bug related to using external monitor or dual screen.
@transfer890
@transfer890 2 жыл бұрын
Hello Gavin, how did you get the emacs spits to be treated like x windows? Do you think this is possible with vim splits? Thanks for the video!
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
It requires client server support. For vim this is possible using --remote vim-jp.org/vimdoc-en/remote.html . For neovim there is github.com/mhinz/neovim-remote however it's isn't maintained but the devs do seem interested in adding native support for --remote and friends.
@transfer890
@transfer890 2 жыл бұрын
@@GavinFreeborn Thanks for your awnser!
@Mythologos
@Mythologos Жыл бұрын
I loved EXWM (I live inside Emacs) but I moved to Fedora and EXWM doesn't work well with it.
@BraxtonMeyer
@BraxtonMeyer 2 жыл бұрын
Pretty sure if you're not relying on Emacs , you're doing it wrong... but StumpWM is awesome from what i hear. and i understand the basic idea of not wanting to rely on one piece of software
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
I guess. I still use emacs for it but there is a difference. While common lisp is way better to to work with in emacs I at least can use vim.
@BraxtonMeyer
@BraxtonMeyer 2 жыл бұрын
@@GavinFreeborn yes that is fair my comment is a joke argument
@danplt
@danplt 2 жыл бұрын
- What program you use to show key presses? - What Video capture and editor program you use?
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Screenkey for the key presses, obs for recording, blender for video editing.
@KolobeTona
@KolobeTona 2 жыл бұрын
Hi Gavin, thanks for this, longtime StumpWM user always on the lookout for cool new bits to copy from other users' configs, but... your link to "your config" above only goes to your fork of StumpWM itself. Where's your config?
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
github.com/Gavinok/stump-conf
@KolobeTona
@KolobeTona 2 жыл бұрын
@@GavinFreeborn Thanks, you're a saint.
@Awwe12675
@Awwe12675 2 жыл бұрын
Bro I don’t spake English language but I want ask u I why if I open two terminal ok if I switch between them one terminal get little more light and another one is little dark Please answer me I have Bspwm will polybar on arch Linux How to fix that I need all terminal same light 💡
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Join the discord and send me a video I'll see if I can help
@0x007A
@0x007A 2 жыл бұрын
Gavin, Gavin, Gavin! Now you have introduced a dilemna into my window manager usage. The minimalism of DWM and C or the (cough, cough) bloat of StumpWM and Commmon LISP. < Grandpa Simpson waving his fist in the air > P.S. You'll have to pry vim from my cold, dead hands. ;-)
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
It really is a dilemma I gotta say. I had the same thought myself.
@GopinathSadasivam
@GopinathSadasivam 2 жыл бұрын
let me give a modest try to pry vim from your hand @Gregory... have you tried doom emacs and org-mode?
@LabiaLicker
@LabiaLicker 6 ай бұрын
As a longtime dwm user. The idea of being able to treat your wm as a living environment and enact changes on the fly, such as a bespoke layout to optimize a certain task is very appealing. And just isn't something you can do with dwm.
8 ай бұрын
I'm using frames instead of Emacs windows, using only one window per frame makes Emacs easier to use with any window manager,
@kendawg_mcawesome
@kendawg_mcawesome 2 жыл бұрын
Would love to use StumpWM, but I've had it totally lose the plot with layouts, and crash or seize up so many times. Will be interested to see how you go.
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Havent had that yet but I'll be sure to follow up on it. When where you last using it if you don't mind me asking.
@kendawg_mcawesome
@kendawg_mcawesome 2 жыл бұрын
@@GavinFreeborn About a year ago I'd say. At first I thought it didn't like my multi-monitor set-up, but I had it on an old laptop and it started freaking out on that pretty quickly too.
@sjatkins
@sjatkins Жыл бұрын
StumpWM was ok on my laptop but looked like hell on my large monitor.
@c1dk1n
@c1dk1n Жыл бұрын
It's sort of a shame that Guix is Guile and Stump is CL. This is not to sound ungrateful for *almost* having my whole system configured in a homogeneous way. Lisp is amazing for this in general. However, I still have to avoid confusing the subtle differences of elisp, CL and Guile to have the holistic setup I am looking for.
@logyross6883
@logyross6883 Жыл бұрын
Yeah would be pretty cool if someone made a window manager with Guile. Maybe even one written in C and extended with Guile just like emacs with C and elisp.
@eraisuithon9202
@eraisuithon9202 Жыл бұрын
@@logyross6883 You can basically achieve this with guile emacs + exwm
@trejohnson7677
@trejohnson7677 2 жыл бұрын
Get a sly repl goin mate,
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Probably will once I understand how quicklisp is supposed to work.
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Think I got it now
@trejohnson7677
@trejohnson7677 2 жыл бұрын
@@GavinFreeborn It’s crazy powerful, you just have to stick the hell with it. Currently working out some integrations with TMUX, so I can query session groups, various granularities of targets (down to the pane level) and integrating that into sshd/docker/kubernetes. You inspired me to overhaul!
@DiogoGDF
@DiogoGDF 2 жыл бұрын
F12
@SMOKE3104
@SMOKE3104 2 жыл бұрын
Stumpwm seems very interesting but, I'm more of a vim type person and hate using control.
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Good news you don't really have to. The prefix can be any key you like. if you wanted to you could even remove the use of a prefix keys all together
@LabiaLicker
@LabiaLicker 6 ай бұрын
@@GavinFreeborn Yeah I bit perplexed by the Ctrl Z bind. What do you just never suspend programs?
@florianfelix8295
@florianfelix8295 2 жыл бұрын
It’s sad that all those Lisp wms are all x based :/
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
There is a Wayland version bit it doesn't seem to be worked on very much.
@cprn.
@cprn. 2 жыл бұрын
I'm guessing you've been through `i3wm` already? Honestly, I never felt compelled to try any other. I must say "frames" seem annoying to me but I guess every asshole has an opinion.
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Indeed I have tried i3. Frames have their pros and cons. They strike a good middle ground for me
@cprn.
@cprn. 2 жыл бұрын
@@GavinFreeborn I mentioned it because you said in this video what you used before was sometimes unstable and `i3` has never crashed on me once over the 6 or 7 years I'm using it. There's only one thing I'm not happy with - it doesn't have "always on top". But some people are never satisfied. 😉
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
@@cprn. my I moved away from i3 about 3 years ago because I prefer a wm where I configure it in a programming language. I3 kinda had that but it was no where near the competition in that aspect. I'm a tinkerer/programmer at heart so this was pretty high priority. Dwm was stable but exwm is literally emacs hacked into being a window manager so I wasn't expecting a consistent experience.
@cprn.
@cprn. 2 жыл бұрын
@@GavinFreeborn Ah, yes, I agree `i3` config file isn't exactly a coder's dream - it's somewhat shell-like, somewhat JSON-like but mostly their own shenanigans. Had several caveats with it, I admit. To this day my terminal starts on wrong desktop but as I open it once per reboot (which happens about once a year) I guess I've learned to live with that. To each their own. 😆 Have fun with Stump.
@Tatar_Piano
@Tatar_Piano 2 жыл бұрын
Leaving for the sake of making a video? This new wheel is much more rounder?
@GavinFreeborn
@GavinFreeborn 2 жыл бұрын
Do you mean leaving dwm or ending the video earlier than I would like? I gave my reasoning for looking at something different but maybe you didn't see that.
TMUX grouped sessions are a gamechanger
21:14
Gavin Freeborn
Рет қаралды 14 М.
LEARN EMACS LISP - Mostly The Strange Parts
29:22
Gavin Freeborn
Рет қаралды 17 М.
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 32 МЛН
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 62 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 123 МЛН
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 28 МЛН
System Crafters Live! - Can StumpWM Replace EXWM?
2:02:24
System Crafters
Рет қаралды 8 М.
Suckless's dwm: So easy even a caveman could do it!
12:25
Luke Smith
Рет қаралды 282 М.
Tiling Window Managers suck. Here's why
10:35
Wolfgang's Channel
Рет қаралды 434 М.
My Tier List For Tiling Window Managers
26:28
DistroTube
Рет қаралды 148 М.
StumpWM - Overview Demo
23:33
James McCabe
Рет қаралды 12 М.
GNU is Bloated!
10:31
Luke Smith
Рет қаралды 131 М.
Linus Torvalds Guided Tour of His Home Office
4:25
Barbara
Рет қаралды 1,6 МЛН
Turn Emacs Into A Window Manager With EXWM
17:26
DistroTube
Рет қаралды 51 М.
The Rise & Fall of LISP - Too Good For The Rest Of the World
17:44
Gavin Freeborn
Рет қаралды 38 М.
Why Lisp Is One Of The Most Productive Programming Languages
12:14
Gavin Freeborn
Рет қаралды 41 М.
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 32 МЛН