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

Поділитися
Вставка
  • Опубліковано 4 лис 2024

КОМЕНТАРІ • 138

  • @Liam_Tomhet
    @Liam_Tomhet 11 місяців тому +47

    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.

  • @mtscott44
    @mtscott44 9 місяців тому +67

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

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

      Yeah, but it's a heck of a short one. ;P haha

  • @gonzalooviedo5435
    @gonzalooviedo5435 10 місяців тому +15

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

    • @DV-ml4fm
      @DV-ml4fm 5 місяців тому +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.

  • @dxmajrd
    @dxmajrd Рік тому +21

    to clone a repo directly into specific directory: git clone

    • @Polten
      @Polten 9 місяців тому +1

      Absolute god

  • @sero1947
    @sero1947 8 місяців тому +4

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

  • @dionnix
    @dionnix 7 місяців тому +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

  • @bittertruth6575
    @bittertruth6575 Рік тому +13

    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.

  • @estudiordl
    @estudiordl Рік тому +8

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

  • @kurushimee
    @kurushimee 8 місяців тому +2

    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.

  • @AKA_ADAM
    @AKA_ADAM 11 місяців тому +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".

  • @chad_13
    @chad_13 Рік тому +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.

  • @yahiaeldakhakhny5029
    @yahiaeldakhakhny5029 Рік тому +19

    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  Рік тому +10

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

  • @init_bobjames
    @init_bobjames 8 місяців тому +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 8 місяців тому +1

      Are using hyprland

    • @init_bobjames
      @init_bobjames 8 місяців тому

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

  • @mightymeatman2390
    @mightymeatman2390 Рік тому +12

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

    • @qimono76
      @qimono76 11 місяців тому +1

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

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

    as a proffessional C++ (and somtimes C) programmer, it amazes me that someone would learn C for dwm

  • @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!

  • @typicaltrekkie
    @typicaltrekkie 10 місяців тому +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

  • @blzrL
    @blzrL 6 місяців тому +3

    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 6 місяців тому

      haiii haiii hello hiiii heeyy hellooo hiiii helllooo haiiii

  • @savu5472
    @savu5472 7 місяців тому

    "there is no nothing" absolutely beautiful

  • @sethm7761
    @sethm7761 Рік тому +1

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

  • @TheKing29102
    @TheKing29102 6 місяців тому

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

  • @bdnugget
    @bdnugget Рік тому +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! :)

  • @navi93243
    @navi93243 11 місяців тому

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

  • @2u263
    @2u263 Рік тому +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.

  • @pranava1899
    @pranava1899 10 місяців тому +21

    Dude setfont

  • @qsam14
    @qsam14 9 місяців тому +2

    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 9 місяців тому +4

      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 6 місяців тому

      @@shenlongslostballs6443 bro you are a life saver

  • @tuvietnam
    @tuvietnam Рік тому

    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!

  • @nubilate
    @nubilate Рік тому +1

    mashed uploading a nearly hour long video?? unheard of

  • @eritert
    @eritert 11 місяців тому

    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.

  • @azulthor2325
    @azulthor2325 4 місяці тому

    Nice work :) good video, pretty straight forward!

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

    Damn nice background, do you know where it's from?

  • @famaterial
    @famaterial Рік тому +1

    This is a gold mine. Thank you

  • @KrzysztofByczkowski89
    @KrzysztofByczkowski89 9 місяців тому +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  9 місяців тому +3

      I use thunar every now and then

  • @AbhijeethPEapen
    @AbhijeethPEapen 10 місяців тому

    This was super helpful. Thank you brother...

  • @catalystlover
    @catalystlover Рік тому

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

  •  Рік тому +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. 🙂

  • @UnknownPerson-c5e
    @UnknownPerson-c5e 9 місяців тому +1

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

  • @rehufgoerhwfr
    @rehufgoerhwfr Рік тому +1

    Thanks brother i learned so much ❤

  • @gxdraph
    @gxdraph 4 місяці тому +1

    1min in
    goddamn u that intro, subbed

  • @JosephHerreraLeon
    @JosephHerreraLeon 7 місяців тому

    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?

  • @Saturn-OS
    @Saturn-OS 10 місяців тому

    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.

  • @shavebunny
    @shavebunny Рік тому +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.

  • @MohammedAlhasni-er8yb
    @MohammedAlhasni-er8yb 4 місяці тому +2

    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 4 місяці тому +1

      You need to push the esc key then type :x

  • @BurninVinyl
    @BurninVinyl 9 місяців тому

    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 8 місяців тому +2

      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 8 місяців тому

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

  • @master-x7283
    @master-x7283 7 місяців тому

    Nice one, it is great for beginners.

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

    brilliant, thanks a ton :)

  • @ArundeepSingh-y9i
    @ArundeepSingh-y9i 2 місяці тому

    hi i just wanted to ask how you killed picom just before 49 min, as in if there is some sort of shortcut key

  • @Bhavnish-wk5nr
    @Bhavnish-wk5nr 2 місяці тому

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

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

    when i log off my pc doesnt go straight to tty

  • @jk-fy8on
    @jk-fy8on Рік тому

    Beautiful

  • @eugen5782
    @eugen5782 Рік тому +1

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

  • @CyberCode-s6j
    @CyberCode-s6j Місяць тому

    I followed your every steps but I am getting problems with that "vim .xinitrc" part, after login and logout, it still runs KDE Plasma and no signs of dwm. Please help🙏🙏

  • @DV-ml4fm
    @DV-ml4fm 5 місяців тому +1

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

  • @maximsenokosow1658
    @maximsenokosow1658 8 місяців тому

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

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

  • @sebnargeurbrok1374
    @sebnargeurbrok1374 Рік тому

    Amazing, thank you so much

  • @krutikabarad4241
    @krutikabarad4241 10 місяців тому

    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?

  • @Freddojonno45
    @Freddojonno45 2 місяці тому +1

    nooooooo it doesnt work i cant make it work :(((, im using arch linux with gnome and when im using vim .xinitrc cmd it gives me weird stuff and when i save vim file and restart my computer, he seems to ignore the execute cmd

  • @melanovapedia7924
    @melanovapedia7924 Рік тому +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.

  • @RoofusRoof19
    @RoofusRoof19 7 місяців тому

    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

  • @wz.790
    @wz.790 Рік тому

    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  Рік тому +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

    • @фанатКуплинова-ь1е
      @фанатКуплинова-ь1е Рік тому

      It's lighter and more customizable

  • @TopTierTales-ux4se
    @TopTierTales-ux4se Рік тому

    excellent, thanks you. ☺

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

    no comment for this tutorial

  • @alexconklin-rn4jd
    @alexconklin-rn4jd 7 місяців тому +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 ??

  • @orrslaw
    @orrslaw 9 місяців тому

    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.

  • @mage3690
    @mage3690 11 місяців тому

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

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

    How do you get internet causeni cant connect

  • @texhnolainserialize1122
    @texhnolainserialize1122 10 місяців тому

    Bro, is that Belgrade on your background???

  • @nightmarenova6748
    @nightmarenova6748 11 місяців тому

    I have only one thing to say : "Pain"

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

    31:28
    41:40 rice
    45:44

  • @nnnscorpionnn
    @nnnscorpionnn Рік тому

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

  • @nightcrawler2561
    @nightcrawler2561 10 місяців тому

    What command you used for screen size automation

  • @avalagum7957
    @avalagum7957 5 місяців тому

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

    • @DV-ml4fm
      @DV-ml4fm 5 місяців тому +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 5 місяців тому +1

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

    • @DV-ml4fm
      @DV-ml4fm 5 місяців тому +1

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

  • @jjmachan
    @jjmachan 4 місяці тому

    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  4 місяці тому +1

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

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

      @@MashedLinux hey bro i'm having some issues with the .xinitrc for some reason despite of following it properly i can't manage to get into dwm any ideas what i should do, cause i tried lookin at other vids and most of em are installing from tty

  • @akibahmed229
    @akibahmed229 Рік тому

    smooth

  • @siradjmounirlamri9663
    @siradjmounirlamri9663 11 місяців тому

    New subscriber

  • @ziixsyy_i
    @ziixsyy_i 11 місяців тому

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

  • @gameslp7583
    @gameslp7583 Рік тому

    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  Рік тому

      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)

  • @v1li
    @v1li Рік тому

    nice video bro

  • @gonzalooviedo5435
    @gonzalooviedo5435 10 місяців тому

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

  • @peterSobieraj
    @peterSobieraj 7 місяців тому

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

  • @davidsouzmr
    @davidsouzmr 6 місяців тому

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

    • @tristen_grant
      @tristen_grant 5 місяців тому

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

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

      Maybe look into the synaptics touchpad driver, I think it has gesture support that might be able to be exploited by dwm (or at least, more support than libinput).

  • @yanisfaye3518
    @yanisfaye3518 8 місяців тому

    blurring is not working

  • @nelfowz
    @nelfowz 8 місяців тому

    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

  • @s.spranavmurthi5153
    @s.spranavmurthi5153 3 місяці тому

    Good

  • @EXTRA---LARGE---FARVA
    @EXTRA---LARGE---FARVA 5 місяців тому

    13:09 xrandr -s 1920x1080 😉

  • @lashedup
    @lashedup 9 місяців тому

    eSSeNTiaaLLyy...

  • @StracheyWade-i4v
    @StracheyWade-i4v Місяць тому

    Thomas Michael Wilson James Thomas Steven

  • @Bekon241
    @Bekon241 11 місяців тому

    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 Рік тому

    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.

  • @EddieVirginia-f6s
    @EddieVirginia-f6s Місяць тому

    Allen William Anderson Sarah Garcia Nancy

  • @TobiasTernence-i3c
    @TobiasTernence-i3c Місяць тому

    Rodriguez Robert Lee Robert Robinson Donald

  • @TheresaWoods-n6v
    @TheresaWoods-n6v 2 місяці тому

    Clark Barbara Jackson Kenneth Martin Dorothy

  • @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 5 місяців тому

      Wdym?…

  • @darren537
    @darren537 Рік тому

    Dont say Emacs like that again😅

  • @motionthings
    @motionthings Рік тому

    sudo = Switch User do

  • @mrlemom2879
    @mrlemom2879 7 місяців тому +1

    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

  • @joemama7388
    @joemama7388 Рік тому

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

  • @Mast3rAssassin
    @Mast3rAssassin 8 місяців тому +1

    I don’t see .xinitrc