You can also create password for a user by adding -p tag, till adding mentioned above. It'd look like useradd -m -p $(openssl passwd 'password') username
Thanks mate. I already able to install arch flawlessly but I kinda confused what to do after that. this video clear 'em up. 02:00 - Users and Groups 04:01 - Sudoers file 08:36 - DE vs. WM 09:23 - Xorg 10:50 - i3wm 12:25 - Fonts 16:13 - XFCE 17:59 - What to do if you messed up 20:48 - LightDM 22:22 - SystemD 23:20 - Miscellaneous customization.
This sounds like me back i n the 90s. I had bought a huge book about installing Redhat and following the instructions in the first 7 or 8 chapters, I managed to install a Redhat Linux terminal. "Now what?" I thought. I don't think I ever got beyond that.
Dude, i can't thank you enough. You explained things in such an easy to relate manner on topics that everyone makes so convoluted in the wiki or forums. I've been chasing exactly this content all day, a high level explanation in simple english about how these pieces (xorg, xinit, DM's, WM's) work together.
Once again Luke, you have shown me and taught me a huge amount of info. This (as well as your others) video is invaluable. You sir have such a great way to explain and teach. Thank you so very much.
I'd like to add that the locale is actually "LANG=en_US.UTF-8" (mind the '_' ) After changing the /etc/locale.conf, type in "sudo locale-gen", reboot & type in "locale". No errors should come up.
Thank you so much for your videos! It is rare to have someone who knows what they are talking about while remembering what it means not to know these things! I am looking forward to install Arch and i3 on my new ThinkPad after 16 years of osx! Your videos help me being less scared and more curious!
Thank you very much for making this video ! I am new to Arch Linux(Linux), your video helped me a lot, what you say makes it easy for me to understand, you should put all the videos into the learning series 😊
Great tutorial on the topic. The tip to use a keyboard shortcut to open a terminal on the fly...very helpful. Always worth a look with your channel. Rudimentary topics such as shown in this video are really appreciated and I hope to see more. Thanks.
Just wanted to drop a comment on how appreciative I am of this video. There are tons of videos on how to install Arch, but almost none on how to properly install a tiling window manager. Stuff like having to install fonts is not obvious at all, and most people somehow fail to mention it.
I actually installed Arch recently and it was pretty easy to be honest, I do have around 15 years of experience with other Linux distros like Ubuntu, Fedora and so on but it wasnt that hard. I went the not so minimal route and installed KDE Plasma install which included system tools and a couple of KDE apps is quite snappy. I think it takes me from post to Userland like 4.2 seconds on an SSD which was amazing. Other Linux distros take forever to boot which makes me think what was running in the background on those distros. Like I have everything you need for a modern Desktop and I'm able to play games on it no problem and I gotta say is no wonder Valve chose Arch as their distro for their Steam Deck.
@@vlc-cosplayer Yup, I got it working on my macbook, and then installed it again when I got a ThinkPad after the mac died (some problems with power consumption, probably the motherboard since changing the battery fixed nothing).
Thanks man. Really helped a pleb like me. Will install more stuff tomorrow. Took me a couple hours today to install arch successfully for like the first time ever.
i've been trying to build a minimal spin of a distro on linux that still has a gui, and it's been a pain to find any good info, so thank you for this so much.
useradd -m -g wheel will make wheel your primary group. Everything you create will be owned by wheel. It's better to use -G instead, to just add you to the wheel group. Do not specify -g at all and it will create a primary group for you by default. man useradd for more details.
Luke, I bet you won't read this, but I just wanted to say I appreciate a lot your videos. Currently setting up my i686 machine with void linux and tweaking it a bit :-)
I love the colors for your terminal/prompt and your editor. Can you tell me how to get my colors like that? I am a newbie. I have just subscribed to your channel.
4 years later here and Wayland is starting to displace some of the xorg information in this video. Not every distro, and it will be a couple more years before I could call it fully mainstream, but it is now a significant enough number of distros that new users should be aware that the change is happening.
Why would you edit /etc/sudoers directly and not use `visudo`?
6 лет назад
ExoDroid Actually using visudo is preferred, because visudo checks for syntax errors before saving the /etc/sudoers. Any syntax errors will cause you to be unable to use sudo, which is quite a problem in case where for example you have no other way to login as root (e.g. unknown or no root password as, I think, Ubuntu is installed by default).
Houshalter That's a really bad advice. visudo uses vi (or vim) as the default editor (hence the "vi" in the beginning), and to quit vim you do `:q`. You can prepend `visudo` with `EDITOR=nano` to use nano, for example (`EDITOR=nano visudo`).
Houshalter Hey man if you want an easy way to learn vim, try out the qutebrowser. It uses the same keyboard controls and starts up on a quickstart page with very clear and easy to understand instructions. Also, tab completion FTW. Cheers!
Even if you screw up the sudoers file, there's still su. Therefore if I screw up, I just sign into my root account and edit the file. No harm done... like literally, ever. Screwing up your sudoers file is not the end of the world. I've messed it up a few times using vim /etc/sudoers and my computer didn't explode, nor did weeds start growing in the road. It's fine.
I watched both videos and I thought that it would be way worse to correctly configure Arch since I only really messed around with Kubuntu and Fedora (KDE obviously), but since one machine is running on a bcache device, I kinda already was on the "level" of an Arch installation lol EDIT: I was wrong lol
I discovered Debian automates many things when I set up my first minimal install following an Arch guide ... I ran into problems trying to fill my ~/.xinitrc file with consolekit launch session commands, xrdb commands to load my resources, dbus-run session commands ... These commands are automatically run by scripts added by package manager in /etc/X11/Xsession.d/ folder. So finally understood I don't need an ~/.xinitrc on Debian.
Old school stuff but mount is not secure to have anybody run it. I know it's not the case here but one could mount USB storage formatted as ext2/3/4 whatever and have a binary over there that has the SUID bit set and UID=0/GID=0. Bob's your uncle.
My goodness, getting BSD to display a GUI is simpler than this! (To be fair, I was using XFCE and Firefox). Also, at least the BSD version of XOrg comes with TWM.
Hi Luke, Great video as usual. I have learnt a lot from your videos. I am now sheduling time to look at your old recording like mutt set up and ranger. I got a question though, unless I missed it somewhere, do you use linux-LTS for arch? (I'm using Thinkpad x230 if that changes anything) Is it necessary? I am not a very advance linux user so any suggestion would be great! Also, do you frequently clear your pkg cache? I assume that will come up in your later videos regarding maintenance?
What problems have you had? I'll say that ALSA, the default audio system on Linux starts muted, so you'll have to unmute it, but are you having any other problems?
I like your minimalist Linux setups, but I can't switch my main PC to that because my productivity would take a hit. Doing it on another computer, like some laptop from eBay, would work. I don't know how you did it, you weirdo.
When editing files as a superuser you can use 'sudoedit /etc/file' instead of 'sudo vim /etc/file'. When I try to do 'sudo vim ...' it doesn't load my .vimrc but with 'sudoedit' it does load
sudoedit is more secure too, as it doesn't run the editor as root. More details here: stackoverflow.com/questions/22084422/what-is-the-difference-between-sudoedit-and-sudo-vim
I always start my window manager using startx. I have no idea how to set up my window manager to start automatically, and I probably don't need to. (that's probably what you want to tell about display managers) Also I don't have systemd on my main systems, so I don't need to know much about it. Only the most basic commands of systemctl (enable, disable, start, stop, restart).
Music is simple enough: pacman -S mpd mpc ncmpcpp ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sZIEdI9TS2U.html Check out the .ncmpcpp and ~/.config/mpd folders here: github.com/LukeSmithxyz/voidrice You also need to start mpd when you log in. I do it in my i3 config, etc.
This is mostly a Linux for newbies video. Seriously, any newcomer to Linux should watch it, things which I learned the hard way I could have learned from this short video.
Just to let everyone know, instead of doing both of those commands (at 23:00) you can do `sudo systemctl enable SERVICENAME --now` which will enable it at start-up AND start it right now.
I have manjaro installed, and about awhile ago it was updating and then bam, not even a text promp. What do I do? The system shows the bios screen, but once it boots the screen shows nothing.
iTunes Audio works if you install it with Wine, I recommend using wine-stable, don't forget to set the architecture of the wine prefix to 32 bit and just install the exe. Also nice meme
You're right exactly and I prefer Gentoo for development as so like LFS or Slackware or even *BSD and I have soft corner for CRUX, Lunar, Gobo Linux too, need to look up at SourceMage, cheers :)
inconsolata fucked up dwm really bad and put spaces between all the letters making it unusable. i uninstalled that trash and switched to hack (ttf-hack) and put "Hack" as the monospace font in fonts.conf and now it works perfectly. otherwise great video!
If it works fine you can keep doing it, but you could put other general settings in ~/.xinitrc if you want to change keybindings, the x rate or anything else you want in any possible graphical environment.
kind of sad. i3 won't work on my usb mounted arch..missing some kind of command and what looks like a bunch of keyboard maps., but i got xfce4 to load up a desktop. it's kind of yick. but at least i can have multiple windows while i try to figure this out.
How much do you gain really in performance if you'd install a bare (let's say) Manjaro system, and then install all these things separately, compared to just installing (let's say) the Manjaro-i3 community edition? Is it mostly an exercise in Linux to make you understand your system better, or is it possible to really cut away a lot of stuff you might never use?
5 лет назад
On virtual machine, manjaro stay between 200mb and 300mb memory with basic stuffs like manipulating and editing text files.