COMPLETE Beginners guide to Suckless (Dwm, Dmenu, ST)

Поделиться
HTML-код
  • Опубликовано: 14 июл 2024
  • Get your dream Linux setup: calendly.com/mashedlinux
    suckless repo: github.com/Edesem/Suckless
    Install: 00:00
    Patching: 11:07
    Ricing: 33:05
    Wallpapers: 41:11
    Opacity and blurred terminals: 42:46
    Statusbar: 48:12
  • НаукаНаука

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

  • @mtscott44
    @mtscott44 6 месяцев назад +37

    "So without any intro, let's get into it"...proceeds with intro.

  • @Liam_Tomhet
    @Liam_Tomhet 7 месяцев назад +31

    Only half way into this. My dude this is one of the best install guides I've ever watched. Very clear informative - indepth & helpful especially troubleshooting when a patch didn't install. It really gives a real world situation to noobies when things never run smoothly.

  • @gonzalooviedo5435
    @gonzalooviedo5435 7 месяцев назад +8

    I use dwm for a long period. This kind of videos are a big win win for everyone, thanks!

    • @DV-ml4fm
      @DV-ml4fm Месяц назад +1

      I use both i3 and dwm. Dwm took me a while to configure it right. I got the media keys for volume working in dwm just like in i3. The gaps is much easier to setup in dwm than i3. Anyways, I like both of them and use either one depending on which one to use today.

  • @bittertruth6575
    @bittertruth6575 10 месяцев назад +12

    An awesome tutorial. Thank you so much. I've bookmarked it for future reference since you covered so much. I'm currently on awesomewm and also had a play with openbox but I was always afraid of dwm and all thing suckless tbh. This video shows that it's not nothing to be scared of and more tedious (with all the compiling) than anything else.

  • @chad_13
    @chad_13 11 месяцев назад +3

    Thanks Mashed for teaching how to do it, one of the best tutorials I have ever seen & explaining each & every detail, tools, like git was fabulous.

  • @sethm7761
    @sethm7761 10 месяцев назад +1

    Great video and thank you for taking the time to record it. I found it educational and efficient!

  • @estudiordl
    @estudiordl 10 месяцев назад +7

    Wow, thanks man. I use I3 but wanted to try dwm, but the config/source/programming keeps me out, but this tutorial was spot on the basics and simple af. Love it. 😊

  • @sero1947
    @sero1947 5 месяцев назад +3

    I am a full time i3wm user, and probably will never switch, BUT, this is a great guide. I have always looked for a dwm tutorial but havent found one that was good, this is def the best I have seen so far. Good job. 👍

  • @AKA_ADAM
    @AKA_ADAM 7 месяцев назад +1

    Amazing tutorial, thank you!
    At first I was having issues with "sudo make" returning errors. To fix this, first I created git repos for each (st, dwm, dmenu) to manage version control. This made it possible to roll back a change if needed. Then, I made sure to enter "sudo cp config.def.h config.h" after patching and before "sudo make".

  • @dionnix
    @dionnix 3 месяца назад +1

    Great guide, even as a newer user (but I know a lot of the backend), very informative and makes me understand everything that's happening, and not just what to do. Especially when it fails on me or I have to rewrite

  • @dxmajrd
    @dxmajrd 9 месяцев назад +13

    to clone a repo directly into specific directory: git clone

    • @Polten
      @Polten 5 месяцев назад

      Absolute god

  • @machorius
    @machorius Год назад +10

    This is amazing, I am super thankful for you making this video. I've been ripping my roots trying to figure out some things when it came to ricing. Thank you so much!

  • @navi93243
    @navi93243 7 месяцев назад

    This is really nice tutorial. Last months I am really interested in free software and this guide helped a lot

  • @mightymeatman2390
    @mightymeatman2390 11 месяцев назад +12

    awesome tutorial! really rate the patient explanations of everything that you do, makes this process way more approachable to new people!

    • @qimono76
      @qimono76 8 месяцев назад +1

      I feel the same. The most detailed and beginner-friendly explanations in the FOSS. Thanks 🙏

  • @TheKing29102
    @TheKing29102 2 месяца назад

    I'm just starting out on arch and you are a beast. Thanks for all the help, love all your videos. ~ A fellow Australian

  • @azulthor2325
    @azulthor2325 Месяц назад

    Nice work :) good video, pretty straight forward!

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

    This was super helpful. Thank you brother...

  • @rehufgoerhwfr
    @rehufgoerhwfr 9 месяцев назад +1

    Thanks brother i learned so much ❤

  • @savu5472
    @savu5472 3 месяца назад

    "there is no nothing" absolutely beautiful

  • @famaterial
    @famaterial Год назад +1

    This is a gold mine. Thank you

  • @yahiaeldakhakhny5029
    @yahiaeldakhakhny5029 11 месяцев назад +18

    Great video man, I learned a lot.
    I would recommend that you use git instead of backing up your files before every patch tho , especially since your dwm directory is already a git repository you can do pretty cool stuff that way.
    for example you can have different versions of dwm with different patches and switch between them if you use git branches.
    But really the main advantage is that you can take snapshots of your dwm config and if anything goes wrong you can just go back to a previous version.

    • @MashedLinux
      @MashedLinux  11 месяцев назад +10

      Bro actually that is way smarter then what I was doing, and less confusing. Thanks for that!

  • @catalystlover
    @catalystlover 11 месяцев назад

    really great video for someone wanting to whet their appetite using suckless software! nice video!

  • @kurushimee
    @kurushimee 5 месяцев назад

    I've recently tried out dwm just by chance, from following a guide on how to rice a minimal arch linux setup with dwm as the example. And oh man, using it is the single best experience I've had using my PC. I love the simplicity, minimalism of it, and it's just so damn fast. My PC isn't weak at all, but dwm still felt magnitudes faster (effectively - instant to react to my input) than anything else.

  • @bdnugget
    @bdnugget 9 месяцев назад +1

    Awesome vid! I just ran an auto rice script once and then had no clue how to use it lmao. Now I finally know what I'm doing, thanks! :)

  • @typicaltrekkie
    @typicaltrekkie 6 месяцев назад +1

    I'm 5 months late but for anyone that's still using this tutorial as a way of getting started on using dwm, when adding patches, It might be better to use "patch < *patch name*" instead of "patch -i *patch name*" as I just could not compile dwm using the uselessgaps patch. But it was fixed once I used "patch

  • @master-x7283
    @master-x7283 3 месяца назад

    Nice one, it is great for beginners.

  • @init_bobjames
    @init_bobjames 4 месяца назад +1

    First time Arch user today. Your tutorial helped immensely. Watched all. Liked the video and subscribed. Well done and thank you. Bob.

    • @hafssabenhammou713
      @hafssabenhammou713 4 месяца назад +1

      Are using hyprland

    • @init_bobjames
      @init_bobjames 4 месяца назад

      idk, whats that? I'm using the suckless things@@hafssabenhammou713

  • @an6san
    @an6san 9 месяцев назад

    Thanks a lot. Very helpful.

  • @pranava1899
    @pranava1899 6 месяцев назад +11

    Dude setfont

  • @blzrL
    @blzrL 2 месяца назад +2

    NOTE: use sudoedit
    And if you wanna use a custom editor like the almighty neovim
    Then set an alias for sudoedit='EDITOR=nvim sudoedit'
    This will create a swap file which when saved will overwrite the main file, which is a lot safer and best practice for your system generally

    • @melongd2435
      @melongd2435 2 месяца назад

      haiii haiii hello hiiii heeyy hellooo hiiii helllooo haiiii

  • @2u263
    @2u263 9 месяцев назад +2

    Excellent tutorial, with 1 issue font size of your terminal too tiny for reading even at full 27" screen, stilled earned you a subscriber.

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

    I'll grab my old MacBook 2015 and install arch rn and come back to this tutorial 😅

  • @Karivelia
    @Karivelia Год назад +2

    Hey man thanks for the great video, will you also do a video about dmenu? Would love to see it!

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

    Amazing, thank you so much

  • @TopTierTales-ux4se
    @TopTierTales-ux4se 8 месяцев назад

    excellent, thanks you. ☺

  • @gxdraph
    @gxdraph 7 дней назад

    1min in
    goddamn u that intro, subbed

  • @nubilate
    @nubilate Год назад +1

    mashed uploading a nearly hour long video?? unheard of

  • @jk-fy8on
    @jk-fy8on 9 месяцев назад

    Beautiful

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

    HI @Mashed can you please explain how you get the windows to open in the small panels.
    I have all the suckless stuff but mine always open in full size.
    Are you ever going to do a video on how to configure Dwm ?

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

    nice video bro

  • @shavebunny
    @shavebunny 8 месяцев назад +1

    I have a problem zooming in and out the size of fonts on terminal, the size of text in terminal to be precise. I use an Acer Nitro 5 as my main machine, ABNT-2 keyboard layout. CTRL plus plus and minus minus simply doesnt work on ST. Ive tried to set the default keyboard to mine in the xinitrc file but it nothing happens, the problem continues. Any tips? I'm a complete noob when it comes to window managers lmao. And yes, I'm tryna use suckless tools through Virtual machines, not bare metal.
    PS: Every tutorial Ive seen, people seem to be using variants and made up dotfiles from other people. Not the regular version of suckless tools from the site, so they dont seem to have this problem. I just wanted to install the basic one from the site and customize everything myself.

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

    hey I have tried couple of times, that I when I restart the font settings in st, and wallpaper goes back to being normal, when i type "pkill dwm" and use 'startx' to restart again, what am I doing wrong?

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

    Hi, is there anyway to get all of this with some commands or downloading some stuff because its really hard

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

    I've been using dwm for a couple years now and have never patched it, guess I didn't have a need to. Recently my whole dwm would crash because I commented out one block in dwmblocks, which was maddening to figure out and still doesn't make sense to me. I gave up at one point because I needed to work and installed aweseomewm. One thing I liked from awesomewm was that it uses config files and uses the defaults if there is an error in your custom config, and shows you the error message - very nice experience. but I hated trying to customize in lua. Eventually I realized why dwm was crashing so went back to it. It's just so simple, and I don't mind that it's a bit brittle, as i keep it in vcs.

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

    What command you used for screen size automation

  • @orrslaw
    @orrslaw 5 месяцев назад

    I get A File to Patch prompt and don't know what to do from there. Can't keep to find anything on it online thats in a language I understand.

  • @NotEnough585
    @NotEnough585 7 месяцев назад

    hallo im confuse in 43:27 where the location xdg file is,because i cant see it🙏🏻

  • @user-lm8sc2zl4m
    @user-lm8sc2zl4m 5 месяцев назад +1

    Can't you make script that change wallpaper and automatic make theme from that wallpaper and apply to whole system?

  • @alexconklin-rn4jd
    @alexconklin-rn4jd 3 месяца назад +1

    hi im pretty new, when i tried to use the make clean install command i got this error- "drw.c:5:10: fatal error: X11/Xlib.h: No such file or directory
    5 | #include " anyone know what package im missing or how to fix this ??

  • @JosephHerreraLeon
    @JosephHerreraLeon 3 месяца назад

    Thanks for the guide! It had everything I needed to start. I have one question, how can you open programs like how you open firefox?

  • @KrzysztofByczkowski89
    @KrzysztofByczkowski89 6 месяцев назад +1

    What file manager do you recommend to use with dwm? I would love to use dwm, but I don't know any file manager that suits this workflow

    • @MashedLinux
      @MashedLinux  6 месяцев назад +2

      I use thunar every now and then

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

    smooth

  • @siradjmounirlamri9663
    @siradjmounirlamri9663 7 месяцев назад

    New subscriber

  • @DV-ml4fm
    @DV-ml4fm Месяц назад +1

    I use both i3 and dwm because I'm a linux geek.

  •  Год назад +2

    Hey there. Will you make a video how to make a script to automate installing apps, icons and services, so one doesn't have to do it manually everytime? It's a big pain. 🙂

  • @RoofusRoof19
    @RoofusRoof19 3 месяца назад

    I'm trying to "sudo make clean install" but it keeps saying i don't have some random dependancy or smth. they all start with X

  • @jjmachan
    @jjmachan 27 дней назад

    hey @mashed do you still offer your ricing service? the link seems to have died. Would really love your expertise for my new setup

    • @MashedLinux
      @MashedLinux  26 дней назад

      Put it on pause for now, might turn it back on in the future

  • @eugen5782
    @eugen5782 8 месяцев назад +1

    I ask myself, why do they use git and distribute patches as raw files on their website?

  • @davidsouzmr
    @davidsouzmr 2 месяца назад

    can you change between those different desktop using gestures on trackpad?

    • @tristen_grant
      @tristen_grant Месяц назад

      I doubt DWM has that features. Most tiling window managers are keyboard focused.

  • @MohammedAlhasni-er8yb
    @MohammedAlhasni-er8yb 22 дня назад

    8:03
    What key did you hit after typing "exec dwm " I tried Enter, but it just made a new line, exiting the terminal did not save it aswell

    • @chalfrey8924
      @chalfrey8924 21 день назад +1

      You need to push the esc key then type :x

  • @nnnscorpionnn
    @nnnscorpionnn 9 месяцев назад

    Isn't the dmenu already comes with dwm? I mean I installed dwm with apt install and dmenu was already there.

  • @Saturn-OS
    @Saturn-OS 6 месяцев назад

    Doesn't seem that bad but the patches thing might mess me up a lot. Kind of a hard choice if I want to try out Dwm or hyperland.

  • @maximsenokosow1658
    @maximsenokosow1658 4 месяца назад

    Yeah, make install is VERY simple, when you are on plasma having all deps needed for dwm installed...)

  • @qsam14
    @qsam14 5 месяцев назад +1

    I tried to follow your video, but it got a bit messy when figuring out xinitrc. Apparently my arch install did not have xinitrc so I had to install the service and then I modified the file following the Arch documentation and your video.. when I went back to the login dm, I did not see dwm displayed there..
    it's all good though. I want to learn Python for Cybersecurity and Cloud so Qtile seems like a good option for me at the moment since it uses Python.

    • @shenlongslostballs6443
      @shenlongslostballs6443 5 месяцев назад +2

      just include exec dwm to the .xinitrc (it can be an empty file that u created but it has to be in your home directory ) then go to your .bash_profile and at the end just write startx and u r done
      incase it doesnt work try installing xorg libraries first altho if u used arch install script it should have been installed
      also remove any display manager before hand as it may or may not showup in the session login

    • @fksoup
      @fksoup 2 месяца назад

      @@shenlongslostballs6443 bro you are a life saver

  • @gameslp7583
    @gameslp7583 9 месяцев назад

    cool... So I followed your guide to install arch linux and I have no idea in what video, when, where and how you did it with this "tty" thing where you log in in the console or whatever and this file you changed...

    • @MashedLinux
      @MashedLinux  9 месяцев назад

      you can also the exact same thing in a terminal, its the same thing. If you want to go into tty you can press something like ctrl + alt + f2 (or some other f key from f1-12)

  • @nelfowz
    @nelfowz 4 месяца назад

    hey mashed how do i save my rice to github so if i for some reason deleted my system i could get my rice back easily

  • @nightmarenova6748
    @nightmarenova6748 7 месяцев назад

    I have only one thing to say : "Pain"

  • @avalagum7957
    @avalagum7957 Месяц назад

    How to put a clock, icons for wifi, bluetooth, volume, cpu/memory usage, network speed ... on the top bar?

    • @DV-ml4fm
      @DV-ml4fm Месяц назад +1

      Dwm doesn't support icon widgets like full fledged desktop managers do. Dwm uses scripts that show the output on the status bar. Dwm support icons symbols from font-awesome and need fonts. However, i3 can support icon widgets like clipboard, volume, etc.

    • @avalagum7957
      @avalagum7957 Месяц назад +1

      @@DV-ml4fm if it can show characters in FontAwesome and nerd fonts, then that's all I need.

    • @DV-ml4fm
      @DV-ml4fm Месяц назад +1

      @avalagum7957 Same here. I have both font types. For the status bar, I use slstatus.

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

    It's an interesting idea. I'm using right now Larbs btw. However nowadays for something like some applications that have gui interfaces for example a browser, IMHO it's a waste of brain memory to remember how the program is called from the terminal or the right combination of keys only for it or the manual mounting of usb.

    • @davidr2421
      @davidr2421 4 месяца назад +1

      What I do is just make a script called "browser" that opens whatever browser I want. Then I don't have to remember what my browser is called. Same for "terminal", "filemanager", etc

    • @BurninVinyl
      @BurninVinyl 4 месяца назад

      @@davidr2421 Is not more simple to just uninstall the ones you are not using? I understand that associating the word browser for example to brave or firefox is much better than to remember the software's name.

  • @wz.790
    @wz.790 11 месяцев назад

    Hello, I liked your explanation, thank you, but I would like to understand something correct. I liked the look, but what is the purpose of it exactly? What is the difference between it, win kde or gnome? I'm not talking about the difference between window manager and disktop envierment. And I'm thinking about changing, but I don't understand what's better ? and why sorry for my long comment and thanks again

    • @MashedLinux
      @MashedLinux  11 месяцев назад +5

      Well you might like the look better but the idea is that you can interact with your computer using almost the keyboard exclusively, no need for a mouse. Makes you faster and therefore a bit more productive

    • @user-nz4un6se7y
      @user-nz4un6se7y 8 месяцев назад

      It's lighter and more customizable

  • @texhnolainserialize1122
    @texhnolainserialize1122 7 месяцев назад

    Bro, is that Belgrade on your background???

  • @EXTRA---LARGE---FARVA
    @EXTRA---LARGE---FARVA Месяц назад

    13:09 xrandr -s 1920x1080 😉

  • @yanisfaye3518
    @yanisfaye3518 4 месяца назад

    blurring is not working

  • @melanovapedia7924
    @melanovapedia7924 11 месяцев назад +1

    1:10 - 30 hahaha KEKW, dope. Thank btw.
    edit: if possible in the near future, plz make font more big, its too small to see and read, thanks.

  • @gonzalooviedo5435
    @gonzalooviedo5435 7 месяцев назад

    This video should be perfect with git init and manipulate the files with git

  • @peterSobieraj
    @peterSobieraj 3 месяца назад

    I don't see a reason one would want config.h owned by root.
    Why ?

  • @mage3690
    @mage3690 7 месяцев назад

    If "sudo ( ( apt | yum | zypper ) install ) | pacman -s ) git -y" doesn't work, I have several questions. Like "why are you on BSD" or "WTF underground distro are you using, and how TF are those guys managing to run an entire package manager without using one of those big four?"

  • @lashedup
    @lashedup 5 месяцев назад

    eSSeNTiaaLLyy...

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

    how do you have dwm, arch linux and neovim installed at the same time?? ive been trying to find a tutorial for an all in one because im fairly new to ricing and i want to move on to neovim. could you give me any tips? id really appreciate it!

    • @qaq_tw5200
      @qaq_tw5200 Год назад +4

      pacman -S dwm archlinux neovim --at_the_same_time

    • @messycode7738
      @messycode7738 Месяц назад

      Wdym?…

  • @Bekon241
    @Bekon241 7 месяцев назад

    Wen someone tell about dwm and still use ugly KDE or GNOME deskotp... Anyway nice tutorial cheers from Poland Mash :) What is good in that all dwm, standard config + some patch and change colors for me is more then i need, i rly love DOS looks or windows 98 UI then i want only nice looking terminal not need shadows blur or other shit, must work without glitches and faster then light :) Thats why after bay my next laptop debian stable with mate or dwm will be best for me :D I rly hate gnom Unity last time also is bad becouse window controls is code to left side pernamently and i not like fapple clone os same win 11 ugly hybrid gnome and osX then after win 10 end support i delete it and never back to windows again, becouse i hate 11 and i never install this trash. Debian 12 dont use .xinitrc then you can do all this steps using *sudo apt install dwm* logout change wm and login again done :D instalation is 10 sec download and install compile :D

  • @antadhg
    @antadhg 11 месяцев назад

    good video but i would argument you are probably too accomodating to newbies. if you don't understand the basics of the terminal or know what package manager your using you probably shouldn't be using dwm in the first place.

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

    Dont say Emacs like that again😅

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

    sudo = Switch User do

  • @mrlemom2879
    @mrlemom2879 3 месяца назад

    Hello mashed! I am very new here. I try to following you step by step but after I am write vim .xinitrc and reboot pc but it still show kde environment. If you need more details

  • @Mast3rAssassin
    @Mast3rAssassin 5 месяцев назад +1

    I don’t see .xinitrc

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

    I personally just use phyOs/pdwm. Takes the fun of ricing away, but hey, its great.