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

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

КОМЕНТАРІ • 155

  • @mtscott44
    @mtscott44 8 місяців тому +63

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

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

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

  • @Liam_Tomhet
    @Liam_Tomhet 9 місяців тому +45

    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.

  • @pranava1899
    @pranava1899 9 місяців тому +20

    Dude setfont

  • @dxmajrd
    @dxmajrd 11 місяців тому +18

    to clone a repo directly into specific directory: git clone

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

      Absolute god

  • @gonzalooviedo5435
    @gonzalooviedo5435 9 місяців тому +14

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

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

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

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

  • @MohammedAlhasni-er8yb
    @MohammedAlhasni-er8yb 3 місяці тому +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 3 місяці тому +1

      You need to push the esc key then type :x

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

      @@shenlongslostballs6443 bro you are a life saver

  • @Freddojonno45
    @Freddojonno45 Місяць тому +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

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

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

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

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

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

      haiii haiii hello hiiii heeyy hellooo hiiii helllooo haiiii

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

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

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

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

  • @CyberCode-s6j
    @CyberCode-s6j 3 дні тому

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

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

  • @Karivelia
    @Karivelia Рік тому +2

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

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

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

      I use thunar every now and then

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

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

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

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

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

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

    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

  • @InaJackson-zm3fb
    @InaJackson-zm3fb 15 днів тому

    Hernandez Edward Harris Timothy Rodriguez Dorothy

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

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

  • @eugen5782
    @eugen5782 10 місяців тому +1

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

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

  • @HdunshTshsnna
    @HdunshTshsnna 21 день тому

    Lopez Robert Anderson Charles Rodriguez Ruth

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

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

  • @AudreyDay-k5x
    @AudreyDay-k5x 15 днів тому

    Jackson Deborah White David Taylor Sarah

  • @krystalrodgers-uq6hd
    @krystalrodgers-uq6hd 12 днів тому

    Davis Frank Martin Timothy Lopez Patricia

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

  • @JemiAktar-t2m
    @JemiAktar-t2m 19 днів тому

    Johnson Laura Williams Larry Perez Michelle

  • @HansenMatt-s7z
    @HansenMatt-s7z 18 днів тому

    Taylor Kevin Clark Jose Lewis Cynthia

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

    Clark Barbara Jackson Kenneth Martin Dorothy

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

  • @StracheyWade-i4v
    @StracheyWade-i4v 20 днів тому

    Thomas Michael Wilson James Thomas Steven

  • @bdnugget
    @bdnugget 11 місяців тому +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! :)

  • @RevaHayes-s9m
    @RevaHayes-s9m 8 днів тому

    Walker Larry Taylor Mark Robinson Ronald

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

    1min in
    goddamn u that intro, subbed

  • @GibsonGlenn-c8j
    @GibsonGlenn-c8j 26 днів тому

    Hall Linda Thomas Sarah Lopez Edward

  • @EddieVirginia-f6s
    @EddieVirginia-f6s 21 день тому

    Allen William Anderson Sarah Garcia Nancy

  • @TobiasTernence-i3c
    @TobiasTernence-i3c 22 дні тому

    Rodriguez Robert Lee Robert Robinson Donald

  • @Jaraakter-e1y
    @Jaraakter-e1y 14 днів тому

    Davis Eric Martinez Jessica Johnson Daniel

  • @brandonforster3228
    @brandonforster3228 12 днів тому

    Jones Thomas Davis Lisa Robinson Barbara

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

    mashed uploading a nearly hour long video?? unheard of

  • @DannisAmisse-m1p
    @DannisAmisse-m1p 22 дні тому

    Gonzalez Jose Wilson Brian Allen Michael

  • @charliefabersa4343
    @charliefabersa4343 16 днів тому

    Clark Robert Garcia Mary Harris Charles

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

    Lee Anthony Thompson Kenneth Smith Betty

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

    when i log off my pc doesnt go straight to tty

  • @SusanFreeborn
    @SusanFreeborn 22 дні тому

    Garcia Kenneth Lee Jose Perez Nancy

  • @An_ave
    @An_ave 17 днів тому

    How do you get internet causeni cant connect

  • @oliviawhitefera9237
    @oliviawhitefera9237 17 днів тому

    Lee Frank Williams Sarah Lee Michelle

  • @LannieWyman
    @LannieWyman 19 днів тому

    Lee George Hall Timothy Lee Maria

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

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

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

    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

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

    brilliant, thanks a ton :)

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

    Thanks brother i learned so much ❤

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

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

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

    no comment for this tutorial

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

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

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

      Are using hyprland

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

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

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

    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

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

    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.

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

    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?

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

    13:09 xrandr -s 1920x1080 😉

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

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

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

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

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

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

    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.

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

    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.

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

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

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

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

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

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

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

    31:28
    41:40 rice
    45:44

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

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

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

    Nice work :) good video, pretty straight forward!

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

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

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

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

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

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

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

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

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

    This is a gold mine. Thank you

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

    Bro, is that Belgrade on your background???

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

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

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

    What command you used for screen size automation

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

    Good

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

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

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

    "there is no nothing" absolutely 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 ?

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

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

    This was super helpful. Thank you brother...

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

    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

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

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

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

    I have only one thing to say : "Pain"

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

    Nice one, it is great for beginners.

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

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

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

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

    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?

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

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

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

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

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