It would've been so helpful for me, lol, but I did it, even got Steam + Proton working. Don't know about Wine, though. In about February, I'll make an actual tutorial for the one or two people who have no sanity. Luke is mostly a Gentoo guy who doesn't really have a reason to follow {,B}LFS. I tried Gentoo and didn't like it, so that's why I decided to do LFS cuz yes
If you need to edit the sudoers file, you really should use visudo instead of just editing it with vim. Experienced users aren't likely to make mistakes when editing it, but if beginners see this and start changing it with a text editor, they could do some real damage to their system and be unable to fix it.
@@ro1y if you mean as an alternative to sudo that's a really _really_ bad idea because some commands cause irreversable damage when you run them as (EDIT: root // was sudo)
Hey! Great video! I am not sure if is something on my local, but sometimes it is a bit hard to see the prompt where you are typing, it is like bellow the recording area.
I know it's kinda late...but maybe for future people, if you have the "windows" key onyour keyboard use that. Win+enter it opens the terminal and the other stuff. It's kinda like the crtl...and I don't know why 💩
why is everyone using -mg and use wheel as the user group? would it be more "meaningful" in some way to use -mU instead as that creates the same group name as the username?
OMG Thank you so much. I'm currently compiling the Kernel, I had some initial problems because I typoed when setting up cflags and typed "march" instead of -march... but I updated GCC and figured it out so now i'm running a newer version of the C compiler and its setup properly.
Eye 🍬. Thanks mate. Thank for choosing dwm! Thanks for explaining the requirements prior dwm. By the way, one request, it's so hard to watch some of your videos because you always type at the end. Can you clear your screen more often and refrain from typing at the bottom edge?
Thanks Kenny. I hoped for a little more setup to se if you are using polkit agent for your gui apps and if you are using gvfs for pcmanfm. I hope to see that in future. I like using ly window manager. It is a minimal tui manager that can run both xinitrc and desktop files if you have them. Enabling service would be enough in case of this video
A bit late on the party, but ive seen in the man page that it is not safe to edit /etc/sudoers without using the visudo command. Do you have any insight?
On some distros, sudo is the only method of accessing root. Any syntax error whatsoever in /etc/sudoers will cause sudo to cease to function. This can cause damage to your system if you have no other way to access root. On distros like Arch you're relatively fine as you can always just 'su root' and edit that way
oh no, I just followed your tutorial on how to install arch, and went ahead and installed kde plasma by myself, and now I see your video about setting up a GUI.
Ahh! I installed Arch in a virtual machine following your guide, but after trying to install XFCE now I can't even boot into Arch. I get to grub fine, but after starting, it just fails, and hangs on a black screen after loading the kernel.
@@balala7567 Yeah, my memory is a little fuzzy, but it wasn't even able to get to a TTY. I've still stuck with Arch all this time though. My favorite distro. Debian is a second
Great tutorial if you know what you're doing but for newcomers to Linux, you've frightened the life out of them and sent them scurrying back to Windows.
There needs to be an explanation on 1: how to exit vim 2: what keyboard shortcuts you are using 3: how to add lines as you dont explain it this whole assumed knowledge crap with linux is what drives everyone away
To execute commands while in vim (including quitting vim, writing and quitting or just writing) you have to press " : " To insert text you use shift + I To exit the insert text tool you just press Esc
To exit vim just use " q " to quit; to just write use "w"; to write and quit use "wq"; there may be times when you may need to use an exclamation point to use these commands. To exit vim, saving the changes just like he does multiple times in this video you just need to "wq!"
despite cloning the github pages and following how to install it, i cannot open up a terminal or quit out of startx, it doesnt even show the numbers at the top like in this video, any reason why?
depends on your wm/de, he is using dwm in the video and dwm uses st by default so if your terminal doesn't launch I'd try to change the default terminal in the dwm config file to something you have already installed
Not having a dm is cool, but how would I switch between multiple graphical environments? I’m still learning window managers, and I’m excited to try using dwm full time next, but I’m keeping xfce as a backup for now. The only way I know how to switch between Xfce and i3 (what I’ve been using full time recently) is via the lightdm slick greeter (apparently the stock GTK greeter doesn’t allow you to select different graphical sessions). If I can, I would like to eliminate my dm and greeter all together. In my opinion they serve little purpose on a machine with a single user. Login can be done without them, and there’s no point in ricing or customizing them because they serve a single function and are never seen again after login. The only purpose they serve is selecting what kind of graphical session I want to launch. If there’s another way, then I can eliminate lightdm altogether and just login at the text prompt.
i´m having a problem were once the installation is finnished the "man" comand can´t set the locale even tho i set it up just like in the install guide anyone knows how to solve it?
This really isn't helpful for a newbie... you skim over a lot of things and just mention to learn from other sources or divert to other equally vague videos. No hate but that confuses a newbie even more, plus... even though we use your custom dwm here, there is literally a unusable brick left at the end of the video that any newbie won't be able to wrap their head around. The UI is just horrendous and you don't guide on how to actually make it usable. The previous part of this was far more helpful as at the end the viewer had a working arch installation as a root user. Here, you literally have a GUI brick, no idea on how to use it and looks crap. Came as a surprise to me cause I actually enjoy this channel, found you from your Intel management engine video.
You can check this video. It really easy. Only sway package. And xorg-server-xwayland package if you want to run x11 application (install and everything auto work). No more screen tearing th-cam.com/video/hRIGYUWQfYU/w-d-xo.html
@Shrug To be honest, I do as I say, I follow what I preach. Except when arch , the little b*tch, whines about it on using makepkg. Then, for those 30 seconds, I make a non-root user and use su to become it. Once done, I delete this user. If it were not for this, I would have deleted the su binary.
2:05 "...effectively making them all an administrator. At least, if they have the root password." This statement tells me two things about you. First, you have the habit of using the same password for root and your user. Second, you don't understand sudo. Using the same password for root and any user is a security risk. If anybody can crack one, they have the other. But, it's your system. I don't care. However, for the second part, especially if you're going to teach this stuff, you need to teach it right. Sudo does not require the root password. If it did, it would be unnecessary. If a user has the root password, they wouldn't require sudo perform admin tasks. Also, adding every user, on a multi-user system, to wheel or giving sudo access to all users is incredibly risky. It allows all users, on the system, enough access to completely screw the system. It should be reserved only to those who can be trusted properly maintain the system and not use their elevated privileges to access the private data of the other users on the system. So, only the primary admin, on any system, should have the root password and only those tasked with system maintenance should be part of the wheel group or be granted sudo privileges. Also, once the system is up and running, there is no excuse for using the root account. 2:57 "visudo" does a sanity check on your syntax for your edits to the sudoers file. Don't just open /etc/sudoers in an editor and go to town. You can use whatever editor you wish. But, you should use "EDITOR=nameyoureditor visudo" to edit the file.
No one is forcing you to use DWM, the point of suckless philosophy is to make software that is complete opposite of modern crapware... The point of editing source is so you get familiar with the software itself, which gives you more control over your privacy and lets you know what you actually are running on your own system. Another reason is, if you are so much as an arch "elite" (which, lets be honest, most normies often download arch for) then editing a source file shouldn't be a problem. Lastly, from your ignorant yet arrogant position... entire Gentoo is "bad software".
@@zeveroarerules you clearly never used a suckless utility before, and no in this case it's not bad engineering, settings occur in a header file not in the c files, it's not recommended for new users but it is very good and straightforward, sure you recompile to apply settings, but that takes only 1 second or less
Linux from Scratch tutorial next?
One day
It would've been so helpful for me, lol, but I did it, even got Steam + Proton working. Don't know about Wine, though. In about February, I'll make an actual tutorial for the one or two people who have no sanity. Luke is mostly a Gentoo guy who doesn't really have a reason to follow {,B}LFS. I tried Gentoo and didn't like it, so that's why I decided to do LFS cuz yes
If you need to edit the sudoers file, you really should use visudo instead of just editing it with vim. Experienced users aren't likely to make mistakes when editing it, but if beginners see this and start changing it with a text editor, they could do some real damage to their system and be unable to fix it.
EDITOR=nano visudo
Password
@@ro1y if you mean as an alternative to sudo that's a really _really_ bad idea because some commands cause irreversable damage when you run them as (EDIT: root // was sudo)
Honestly beginners should break and take on complex tasks. It helps in the learning process
@@lotekchapra As long as they're motivated enough to keep going after that ;)
@@floouk visudo does the same thing if you already have vim installed
For the login manager, you might like ly, its in the aur. Its extremely minimal and i personaly love it !
I'll keep that in mind if I ever decide to do something other than startx. Is there any particular reason you prefer ly to doing that?
Thank you for this!
That was very pleasant after light, cheers!
@@MentalOutlaw
Lightweight
No configchange to change wm
Has a cool "doomfire" animation option for nerd cred
Did I mention that it's lightweight
@@MentalOutlaw agree
Hey! Great video!
I am not sure if is something on my local, but sometimes it is a bit hard to see the prompt where you are typing, it is like bellow the recording area.
Jhon Rocha Yes, it is somewhat hard to see
Ich really enjoy your videos.
are you German
Are you german?
Bist du Deutscher?
Ich bin Österreicher
Meinten Sie I really enjoy your videos
Ok this is great and all but HOW THE HELL DID YOU EXIT DWM at 15:02 ? This shit is harder than exiting vim for the first time
Shift+Mod+q
😂😂😂
I know it's kinda late...but maybe for future people, if you have the "windows" key onyour keyboard use that. Win+enter it opens the terminal and the other stuff. It's kinda like the crtl...and I don't know why 💩
why is everyone using -mg and use wheel as the user group? would it be more "meaningful" in some way to use -mU instead as that creates the same group name as the username?
Again, awesome tutorial. Made made the daunting task of installing arch very simple and easy.
i wouldn't call that an awesome tutorial, it's more of a dwm tutorial ;)
@@ddman7867 damn, guess I'm gonna have to look around for an i3 tutorial noe
Because it is
OMG Thank you so much. I'm currently compiling the Kernel, I had some initial problems because I typoed when setting up cflags and typed "march" instead of -march... but I updated GCC and figured it out so now i'm running a newer version of the C compiler and its setup properly.
Arch, gentoo, void
*BEDROCK SOUNDS INTENSIFY*
@18:23 use ctrl+alt+F2 to switch to different tty
you are a savior
Which clipboard manager do you use? It's the first time I use a wm without a d.e. and nobody talks about clipboard managers. Which one do you suggest?
Xclip
Eye 🍬. Thanks mate. Thank for choosing dwm! Thanks for explaining the requirements prior dwm. By the way, one request, it's so hard to watch some of your videos because you always type at the end. Can you clear your screen more often and refrain from typing at the bottom edge?
Thanks Kenny. I hoped for a little more setup to se if you are using polkit agent for your gui apps and if you are using gvfs for pcmanfm. I hope to see that in future. I like using ly window manager. It is a minimal tui manager that can run both xinitrc and desktop files if you have them. Enabling service would be enough in case of this video
I've seen something like this before. References to Luke Smith are everywhere!
This is pretty cool, should be perfect for old machines and SBCs
A bit late on the party, but ive seen in the man page that it is not safe to edit /etc/sudoers without using the visudo command. Do you have any insight?
Permissions on it don’t matter if you’re root but visudo checks for typos before applying it so that your system doesn’t stop functioning
On some distros, sudo is the only method of accessing root. Any syntax error whatsoever in /etc/sudoers will cause sudo to cease to function. This can cause damage to your system if you have no other way to access root. On distros like Arch you're relatively fine as you can always just 'su root' and edit that way
When I do install arch I'm going to make comic sans one of my fonts even if I never use it for anything.
19:36 : Login Screen will be on tty7.
ctrl+alt+F7 for me.
ctrl+alt+F2 for me
What were the final amount of packages
oh no, I just followed your tutorial on how to install arch, and went ahead and installed kde plasma by myself, and now I see your video about setting up a GUI.
Ahh! I installed Arch in a virtual machine following your guide, but after trying to install XFCE now I can't even boot into Arch. I get to grub fine, but after starting, it just fails, and hangs on a black screen after loading the kernel.
I know im super late, but in that scenario you can try switching tty by doing Ctrl + Alt + F(tty #).
@@balala7567 Yeah, my memory is a little fuzzy, but it wasn't even able to get to a TTY. I've still stuck with Arch all this time though. My favorite distro. Debian is a second
Great tutorial if you know what you're doing but for newcomers to Linux, you've frightened the life out of them and sent them scurrying back to Windows.
Actually the other way around, big thanks!
actually very much so the other way around.
not really
newcomers to linux probably shouldn't be using arch or gentoo anyway
Newcomer to linux here, this video is actually what got me interested lol
There needs to be an explanation on
1: how to exit vim
2: what keyboard shortcuts you are using
3: how to add lines as you dont explain it
this whole assumed knowledge crap with linux is what drives everyone away
agreed
You're right
To execute commands while in vim (including quitting vim, writing and quitting or just writing) you have to press " : "
To insert text you use shift + I
To exit the insert text tool you just press Esc
To exit vim just use " q " to quit; to just write use "w"; to write and quit use "wq";
there may be times when you may need to use an exclamation point to use these commands.
To exit vim, saving the changes just like he does multiple times in this video you just need to "wq!"
This is on arch Linux. Not for beginners and you should know how to use vim before considering arch or just use something like nano
Just curious if you have had a look at the current version of Wayland yet and how it's coming along if you have?
Thanks for updating your repo. I got good builds. Thanks for the great videos!
3:26 sudo without pass
18:12 xsessions
the problem is that there is no greeter sudo pacman -S lightdm-gtk-greeter
Yep your right, I had this problem and installing a greeter does solve the lightdm issue.
That comment about tty… had no idea, thanks for that
my screen is stuck on failed to start light display manager
despite cloning the github pages and following how to install it, i cannot open up a terminal or quit out of startx, it doesnt even show the numbers at the top like in this video, any reason why?
Same, did you find a solution?????
@@dark_red_blood i’m guessing the github repository is outdated or glitched
@@liketocodev can't be, i also heard it's a driver problem
How the hell did you start the terminal at 15:03? If I press Alt+Shift+Enter... it doesn't do anything for me
depends on your wm/de, he is using dwm in the video and dwm uses st by default so if your terminal doesn't launch I'd try to change the default terminal in the dwm config file to something you have already installed
He’s probably got urxvt in his config whereas dwm’s default is st which you probably didn’t install
Why xorg wont launch or launches with error after installing nvidia drivers?
Because arch sucks with nvidia drivers
Frank Merker thats not exclusive to arch, or even linux
at 18:41 my pc says no such file or directory means xsession is missing what to do 🙄
Can't see anything being typed in 19:25. Please anyone let me know the command.
Not having a dm is cool, but how would I switch between multiple graphical environments? I’m still learning window managers, and I’m excited to try using dwm full time next, but I’m keeping xfce as a backup for now. The only way I know how to switch between Xfce and i3 (what I’ve been using full time recently) is via the lightdm slick greeter (apparently the stock GTK greeter doesn’t allow you to select different graphical sessions).
If I can, I would like to eliminate my dm and greeter all together. In my opinion they serve little purpose on a machine with a single user. Login can be done without them, and there’s no point in ricing or customizing them because they serve a single function and are never seen again after login. The only purpose they serve is selecting what kind of graphical session I want to launch. If there’s another way, then I can eliminate lightdm altogether and just login at the text prompt.
did you find a solution to this? i was going to post the exact same question
Is it OK to let sudo user have the same password with root?
You should ideally use different passwords for everything you do.
no its exec startxfce4
great vid idea 👍🏾
02:57 - the only correct way to edit sudoers file is using visudo. If you need to use vim, then # EDITOR=vim visudo
Thank you so much, help a lot !
Oh there's a part 2, neat 😆
I'm just setting up my Gentoo VM rn what a coincidence
Can you make one of these just for Gentoo?
He has
10:00 true.
Please make a tutorial for making a custom arch Linux iso
how i install git?
sudo pacman -S git
doas gang rise up
Doom here?
hey man, im all the way up until the github part, not so sure how to proceed from here?
You gotta install the git package, he forgot to mention that part.
The command is:
pacman -S git
@@TheMinecraftACMan thank you so much man
dude honestly speaking you are making it difficult, I would suggest any new user to read arch wiki and follow it for anything.
gentoo or arch?
I love arch linux ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
i´m having a problem were once the installation is finnished the "man" comand can´t set the locale even tho i set it up just like in the install guide anyone knows how to solve it?
ty
I get a error on startx
idk y but my lightdm still fails to load
This really isn't helpful for a newbie... you skim over a lot of things and just mention to learn from other sources or divert to other equally vague videos.
No hate but that confuses a newbie even more, plus... even though we use your custom dwm here, there is literally a unusable brick left at the end of the video that any newbie won't be able to wrap their head around. The UI is just horrendous and you don't guide on how to actually make it usable. The previous part of this was far more helpful as at the end the viewer had a working arch installation as a root user. Here, you literally have a GUI brick, no idea on how to use it and looks crap. Came as a surprise to me cause I actually enjoy this channel, found you from your Intel management engine video.
@________ yep, true.
However, even with a WM build... I don't honestly understand why we get an unusable brick even though we use his custom DWM build
go for Xfce or some light desktop DE and then learn to use WM if you want, don't be pressed by the excessive WM circlejerk
Thank you for saving me, what I can only assume, what would have been a whole bunch of time following this video.
@@alphamineron
Wish I knew this earlier how horrible is it please
Edit: yes, it's bloody horrible.
Find a video for GNOME or something then. He just says he's setting up a graphical environment, not some type of Desktop Environment.
stuck in emergency mode :/
woah kenny
$ pacman -S sway
$ sway
How easy is that. We don't need xorg
does this work for nvidia? or do i require other packages?
You can check this video. It really easy. Only sway package. And xorg-server-xwayland package if you want to run x11 application (install and everything auto work). No more screen tearing
th-cam.com/video/hRIGYUWQfYU/w-d-xo.html
@@mupmuptv thanks man :)
I actually do not like wayland at all.
Sudo is bloat
Doas is bloat
Su is bloat
Root only gang rise up !
@Shrug To be honest, I do as I say, I follow what I preach. Except when arch , the little b*tch, whines about it on using makepkg. Then, for those 30 seconds, I make a non-root user and use su to become it. Once done, I delete this user. If it were not for this, I would have deleted the su binary.
He sounds... different
i did startx and it gave me a error what do i do
the sudoers file is write only
edit: do # sudo EDITOR=vim visudo
he literally showed us how to bypass it lol im stupid
2:05 "...effectively making them all an administrator. At least, if they have the root password."
This statement tells me two things about you. First, you have the habit of using the same password for root and your user. Second, you don't understand sudo.
Using the same password for root and any user is a security risk. If anybody can crack one, they have the other. But, it's your system. I don't care.
However, for the second part, especially if you're going to teach this stuff, you need to teach it right. Sudo does not require the root password. If it did, it would be unnecessary. If a user has the root password, they wouldn't require sudo perform admin tasks.
Also, adding every user, on a multi-user system, to wheel or giving sudo access to all users is incredibly risky. It allows all users, on the system, enough access to completely screw the system. It should be reserved only to those who can be trusted properly maintain the system and not use their elevated privileges to access the private data of the other users on the system.
So, only the primary admin, on any system, should have the root password and only those tasked with system maintenance should be part of the wheel group or be granted sudo privileges. Also, once the system is up and running, there is no excuse for using the root account.
2:57 "visudo" does a sanity check on your syntax for your edits to the sudoers file. Don't just open /etc/sudoers in an editor and go to town. You can use whatever editor you wish. But, you should use "EDITOR=nameyoureditor visudo" to edit the file.
Thats a whole lot of assumptions and not much actually watching the video buddy
my brother in christ. why are you #include-ing a .c file. please stop.
Edit setting in source. That's just bad software.
Have you, o lost frend, heard of the suckless philosophy?
@@FyahBurn95 Editing settings in source still is a bad software engineering.
@@FyahBurn95 that's just bad practice, whatever the "philosophy". That sucks more, not less.
No one is forcing you to use DWM, the point of suckless philosophy is to make software that is complete opposite of modern crapware...
The point of editing source is so you get familiar with the software itself, which gives you more control over your privacy and lets you know what you actually are running on your own system.
Another reason is, if you are so much as an arch "elite" (which, lets be honest, most normies often download arch for) then editing a source file shouldn't be a problem.
Lastly, from your ignorant yet arrogant position... entire Gentoo is "bad software".
@@zeveroarerules you clearly never used a suckless utility before, and no in this case it's not bad engineering, settings occur in a header file not in the c files, it's not recommended for new users but it is very good and straightforward, sure you recompile to apply settings, but that takes only 1 second or less