Installing DWM on Arch Linux the proper Arch Way

Поделиться
HTML-код
  • Опубликовано: 21 сен 2024
  • Mastodon: distrotoot.com...
    In this video, we learn about how to properly install software from source code on Arch Linux, specifically Suckless programs such as DWM (the Dynamic Window Manager) or ST (Simple Terminal), which you need to configure from the source code.
    #dwm #linux #archlinux
    Timestamps:
    01:41 Angenda
    02:14 Install video drivers and Xorg
    06:40 Suckless vs Arch Linux best practices
    10:45 Git overview
    12:26 PKGBUILD overview
    16:02 Installing ST and DWM
    43:40 Start the GUI with XINIT
    Sources:
    wiki.archlinux...
    wiki.archlinux...
    wiki.archlinux...
    wiki.archlinux...
    wiki.archlinux...

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

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

    Thank you! Great tutorial.

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

    Just lovely! Thank you for this

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

      You're welcome!
      I'm happy I could help!

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

    This is the coolest suckless video I've ever seen!
    While I've always liked their philosophy, I didn't understand how to manage their packages in Arch. Today I did the installation according to your instructions and everything worked out!
    The question remains - how to now CORRECTLY modify DWM, ST and how to update it CORRECTLY .. 🤔
    Thanks a lot for that video! It is unique!

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

      well, you'll have to follow when the software updates and point your sources to the updated version and rebuild the package, and deal with any conflicts that come from patches (there is an other video on this channel about patching DWM when using this same method).

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

      @@NiceMicroTV Thank you for your reply! It remains unclear why we took part of the PKGBUILD text from St and inserted it into PKGBUILD, which belongs to the DWM ?? 🤔

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

      @@pseglav I forgot to say that you can also always just use git to pull the newest version of the PKGBUILD from the AUR and then merge the changes in that you made.
      For your second question: we copy that part because the ST and DWM are configured in a very similar way using config.h, and you also have a sample config that you can use as a reference. This way both programs are packaged the same way with respect to their configurations.

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

    Nice tip is to hit ctrl-w and ctrl-w to switch between vim windows

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

    Awesome! Thank you for this tutorial.

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

      Thanks for watching. If you hang around, there will be follow up videos on the topic some time in the future for more advanced configuration.

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

    Thanks keep it up

  • @lordgoatsnek3169
    @lordgoatsnek3169 2 года назад +1

    Thank you for your wonderful videos and channel.
    Taking a chance to post here, hopefully you'll be able to answer. I've followed along with your video and gained a lot of understanding which I didn't have before, though I'm still learning.
    My issues is that, when running the 'makepkg -sif --clean' for dwm, I'm getting an error: Integrity checks (sha256) differ in size from the source array.
    If you or anyone in the comments can provide some tips, it'd greatly be appreciated.

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

      Hi!
      I'm happy you found my work helpful.
      On your issue, it seems to me that in your PKGBUILD file you don't have the sha256 keys for every file you have in your source array. I.e., if you have two files in your sources, you have to have two entries for the integrity checks. If you're planning to ignore integrity checks, you should have the respective part of the PKGBUILD as follows:
      source=(file1
      file2)
      sha256sums=('SKIP'
      'SKIP')

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

      @@NiceMicroTV Hello, I have definitely found your work helpful. You explain things in a wonderful way. Thank you for taking the time to get back to me on this matter. I will apply this fix then!

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

    yay keeps overwriting my dwm install with a newer AUR version. How do i tell pacman to knock it off? How do I handle updates now? Thanks

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

    hi ive gotten to the 19 min mark and when i went to ls -la a lot of different files showed up and i was js wondering if i did something wrong and how i could undo it

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

    I wanted to switch to dwm from bspwm, I'm gonna try it now

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

      I've never used a window manager before, so I've been putting this off for a while, but it's an interesting learning experience.

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

      @@NiceMicroTV totally can't agree more it teaches us about git , good software practices etc . Thnx for making such informative video

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

      Thanks for the kind words! In my experience, the best learning experience comes from trying to do something that's a bit complicated, and breaking it down to smaller pieces that we can understand.

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

    Though I use it as my primary terminal emulator, my one annoyance with 'st' is that it does not let you scroll up/down with a stock config. I know the Suckless website says the feature is out of scope and points to a few extensions (or diffs or whatever they are called). Maybe I will attempt to get that working, but I've gotten away with minimal customization so far.

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

      I am not a regular ST user, I use URXVT on my machine at the moment, but I will try to make it a little more nicely behaved in my VM before I install it for real. For that, the scrolling will have to be solved for me, too, so I'll look into it for sure.

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

    Hi Nice Micro. Do you consider make some video explaining the installation of pipewire for music producction, or better audio management? It would be awesome!!

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

      Nice idea.
      I'm not too experienced in the Linux audio world yet, if I do learn enough, I'll surely make something about it, as it is a very popular topic nowadays.

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

    I just do suckless way to install all suckless softwares. Just download those stables and unpack them. Then patch, configure and do make clean install. That is much more straight and controlable, and elegant.

    • @NiceMicroTV
      @NiceMicroTV  2 года назад +1

      I'd argue with it being "elegant". In Arch Linux, best practice dictates to only put stuff in certain parts of the root filesystem by pacman, which is great at keeping track of things. Unless I install something into my home folder, I want it to be installed using the package manager.

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

    🤔🖖