Installing Xorg And DWM On Gentoo

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

КОМЕНТАРІ • 155

  • @CyberBoy8799
    @CyberBoy8799 3 роки тому +198

    Finally, after a week of living in the terminal I can progress to a window manager!

    • @debarkamondal6406
      @debarkamondal6406 3 роки тому +7

      Well then if I sound a little harsh please forgive me. If you are seriously stuck there then gentoo is not for you my firend.

    • @debarkamondal6406
      @debarkamondal6406 3 роки тому +7

      @@ndbe8548 I mean no offence I have tried and ditched it all together. I am an arch user and the main problem with gentoo is it takes far too long to compile things even a little thing like neofetch takes 5 min to compile even thought I am rocking a ryzen 3600 with 16GB of ram

    • @orpheustakenvanced
      @orpheustakenvanced 3 роки тому +27

      @@ndbe8548, that's the right path of thinking, you'll never learn until you try.

    • @debarkamondal6406
      @debarkamondal6406 3 роки тому +1

      @Nicolás Agustín I guess he didn't get stuck there he didn't read the documentation and all. I used it for a few days and I personally don't like the long compilation time for minimal performance gains

    • @magnusanderson6681
      @magnusanderson6681 3 роки тому +7

      @@debarkamondal6406 lol neofetch is a bash script, it doesn't compile what?

  • @okamiboi
    @okamiboi 3 роки тому +97

    Ah yes, how to become Mental Outlaw

  • @crazychicken0378
    @crazychicken0378 3 роки тому +38

    Wow didn’t think this was going to happen. Good thing they also told you about the one mistake you made otherwise you’d be there for another 6 hours

  • @aqwheavenlehealer
    @aqwheavenlehealer 3 роки тому +24

    Hey DT,
    I've been a viewer of yours for quite some time now, and being a gentoo user I love seeing you post some gentoo content! Keep it coming, and thank you for all the great content over the years.

  • @iambrianparks
    @iambrianparks 3 роки тому +24

    DT, the issue preventing you from doing startx before the last reboot is because you logged into the console initially as root, but after the reboot you logged in as dt. One of the things login (the login executable started by getty and clones on the terminal, not login the action) does is set ownership of the virtual console device to the user logging in. So when you log in as root and then su, the console is still owned by root. When you log in directly as dt, the console becomes owned by dt.

    • @sbart76
      @sbart76 2 роки тому +2

      Precisely. And there's a clear hint in the error message.

  • @reecescott3559
    @reecescott3559 3 роки тому +11

    Even better with installing sudo, you can compile it with the 'offensive' USE flag.

  • @TheLinuxCast
    @TheLinuxCast 3 роки тому +77

    The more I see about Gentoo, the less I feel like I ever want to try it.

    • @afborro
      @afborro 3 роки тому +7

      I suppose it depends if one feels following a set of instructions to install something teaches something useful. Personally I find there are more enjoyable ways to pass the time :D yawn time. Almost as exciting as installing Arch.

    • @PASRC
      @PASRC 3 роки тому +31

      for me its the opposite, I want to try it now

    • @MartinErman
      @MartinErman 3 роки тому +6

      I agree, it's too much, kinda like how I feel about Xmonad

    • @Phydoux2112
      @Phydoux2112 3 роки тому +2

      I felt the same way about Arch for a couple of weeks after I downloaded it for the first time. I had done a Gentoo install years ago and that's probably why but after I got Arch installed with a DE, the sky was the limit. I could do anything I wanted to with it and that was so freeing. I may slap a HDD in this machine and throw Gentoo on it when I have a whole day to do it. :)

    • @marioschroers7318
      @marioschroers7318 3 роки тому +2

      It's going to be a huge pain, undoubtedly. But... I'm all in! 😀

  • @breadpirateroberts4946
    @breadpirateroberts4946 3 роки тому +12

    You're going on the journey I went on last year. Learn portage and use flags, run updates overnight if you want to save time. Do a custom kernel btw! Using genkernel instead of fine-tuning a lean kernel is sort of missing out on the benefit of gentoo imo. Kernel compile times are actually suprisingly short compared to some packages. Also remember to use the desktop profile, I don't know if you did that or not but I forgot the first time. Good luck 👍

    • @hansdampf2284
      @hansdampf2284 3 роки тому

      What’s the difference between make menuconfig and genkernel menuconig?
      Genkernel is just automating some commands.
      Or did you mean the binary -dist kernels??

    • @breadpirateroberts4946
      @breadpirateroberts4946 3 роки тому +1

      @@hansdampf2284 I wasnt referring to binary dist kernels, I meant the generic kernel config used by genkernel when you dont give it your own configuration file. some people use that for their initial install and then work on a config later but the compile times arent worth it imo, thats what i was saying. sorry if i wasn't clear

    • @brahimdhia514
      @brahimdhia514 2 роки тому

      @@breadpirateroberts4946 Hey, I am looking into configuring the kernel but I don't know where to start and how. So can you please point me a direction, Thanks.

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

    fantastic way to make something seemingly complicated - simple. thanks!

  • @alfathmuqoddas6986
    @alfathmuqoddas6986 3 роки тому +8

    not planning to use gentoo tho since i don't quite like the "source distro" concept, but in case im changing my mind i can watch this video, nice!

  • @ztech-consulting
    @ztech-consulting 3 роки тому +7

    Gentoo is hardcore.

  • @deepakshivraj4881
    @deepakshivraj4881 3 роки тому

    Thank you DT. I wascalso the one among manyvpeople who requested the contunuation video for gentoo. Again Thank you DT.

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

    if you want a floating window manager, openbox is a good alternative, its lightweight, runs on xorg and is extremely customisable

  • @danielcardin7506
    @danielcardin7506 3 роки тому

    This video was so good I'm not even mad about the emacs thing anymore.

  • @JohnLadan
    @JohnLadan 3 роки тому

    One thing I learned back when I used gentoo, before using sudo was as standard as it is now: you should almost always run `su -` instead of simply `su` when switching users. That's the same as `su --login`, which clears environment variables and does environment setup like a fresh login as the new user.
    Some of the additional commands you had to run post install (dispatch-conf, rc-update) were mentioned in the messages after installing all the packages. `dispatch-conf` is a safety check to make sure new installations don't break old configs -- it shows a diff of the current config, and the new config file.
    There are also a lot of tools that make package management easier. E.g. I used to run `equery` to search for packages rather than look up the names in the wiki. It's been a long time, so there are probably newer good tools.

  • @lucas.c.s.
    @lucas.c.s. 3 роки тому +1

    emerge the world!!!

  • @chrismarkgray1974
    @chrismarkgray1974 2 роки тому

    Great video, I wanted to learn Linux and I strait jumped to gentoo. I knew it was way over my head, but I wanted to learn. It took me 2 months to install, but it worked. I used an old Laptop, which I don't need, so why not.
    Great input DT :-)

  • @christenorio9555
    @christenorio9555 3 роки тому +2

    I dare you to building Gentoo on physical hardware On an secondary partition & use it for a year!

  • @axlslak
    @axlslak 3 роки тому +1

    u could and should increase the number of parallel emerge jobs to at least 2. -j2. emerge -NuvDa -j2 bla bla. while one package downloads or installs, or prepares, another can compile or whatever. saves a lot of time. Also, i cant recommend this enough. mount -t ramfs ramfs /var/tmp/portage. or mount -t tmpfs none /var/tmp/portage -o size 6G. using ram as temporary storage for building not only saves disk usage and tear over time, but also increases installation speed dramatically.

  • @nobilkwt7222
    @nobilkwt7222 3 роки тому +2

    don’t forget, you have something to do
    linux mint 20.2 uma

    • @tylerdean980
      @tylerdean980 3 роки тому

      A breath of fresh air after using Gentoo lol

  • @davidr2421
    @davidr2421 3 роки тому +2

    I was planning on doing exactly this on my laptop a couple weeks ago... but I knew I had to actually get some school work done later that day, so I was forced to go with Arch instead lol

  • @victorioussnake
    @victorioussnake 3 роки тому +1

    Installed QTile instead of DWM and it's great! Thanks for the tutorials for gentoo. Tried installing myself but I show how must have followed the wrong docs or just did something wrong

  • @enderger5308
    @enderger5308 3 роки тому +4

    Can you do this with NixOS? I’d love to see it more on the channel, given that it’s configuration language takes inspiration from Haskell (being lazy and functional), and the Flakes system allows for the creation of personal repositories using Git.

  • @axlslak
    @axlslak 3 роки тому +1

    You should use qxl instead of virtio as gpu driver. qxl actually has some 3d functionality.

  • @t74devkw
    @t74devkw 3 роки тому +3

    DT, how do I install a GTK theme without a Desktop Environment? To have themed window borders and icons. Can't find info on this, maybe it's not possible (?)

    • @ahmadshahzad5404
      @ahmadshahzad5404 3 роки тому +1

      Which distro?

    • @t74devkw
      @t74devkw 3 роки тому

      @@ahmadshahzad5404 I'm actually using Ubuntu Server, but I believe it's applicable to any distro

    • @hamblok0
      @hamblok0 3 роки тому +1

      I use lxappearance then I install different gtk themes and try them out

    • @programorprogrammed
      @programorprogrammed 3 роки тому +2

      @@t74devkw Check the arch wiki for GTK, seems like they cover it. $XDG_CONFIG_HOME/gtk-3.0/settings.ini

    • @AbhishekBM
      @AbhishekBM 3 роки тому +1

      I don't remember it correctly, but it involves downloading theme and the copying it to somewhere like /usr/share/themes and then setting default theme for gtk3 and gtk2 using their respective config files.

  • @fractievoorzitter
    @fractievoorzitter 3 роки тому +1

    Hey DT
    Can you make a similar video for Wayland + DWL ?

    • @nevoyu
      @nevoyu 3 роки тому +1

      Iys as easy as adding wayland in USE for make.conf then just build dwl following the github pages instructions.

    • @fractievoorzitter
      @fractievoorzitter 3 роки тому +1

      @@nevoyu Thank you brother :)

  • @Wehrfrettchen
    @Wehrfrettchen 3 роки тому

    Not that much of an issue on your system but you are not supposed to edit the sudoers file that way. The right command to use is visudo. It preserves file permissions checks for synax and the likes.

  •  3 роки тому +3

    You really want to use visudo instead of editing directly. That will write to a temporary file and validate it before overwriting the actual sudoers file. It doesn't matter much when you can log in as root, but it's a good habit to get into. I'm speaking from experience 😂 (Had to reboot a shared hosting server into single user mode to fix my mistake 😬)

    • @marioschroers7318
      @marioschroers7318 3 роки тому +1

      I actually thought one would use doas on Gentoo rather than sudo.

    •  3 роки тому +1

      @@marioschroers7318 That too. I personally don't use doas but that's because I'm quite comfortable with sudo and the things you can do with it, although it may be bloat.

  • @netbin
    @netbin 3 роки тому +4

    noice!

  • @bogdanlupu3679
    @bogdanlupu3679 3 роки тому +3

    I dare you to install full libreoffice 😈😂
    Edit: Ah yeah Gnome would have been much fun
    Sorry I pause the video when I comment and I didn't hear you talking about gnome.
    Emacs would be fun too.

    • @sohn7767
      @sohn7767 3 роки тому +1

      who needs libreoffice if can use latex?

    • @bogdanlupu3679
      @bogdanlupu3679 3 роки тому

      @@sohn7767 I use tex pandoc combo too (with sc-im for spreadsheets) but the time to compile libreoffice is like the meme a few years later . That was the idea . By the way sc has vim like key bindings.

    • @sohn7767
      @sohn7767 3 роки тому +1

      @@bogdanlupu3679 I see, is it longer than firefox? That one already takes an eternity lol.
      learned about sc-im because of luke smith ;)

    • @bogdanlupu3679
      @bogdanlupu3679 3 роки тому

      @@sohn7767 i dont use firefox for what i need qutebrowser is enough (and the compilation time is pretty long by my standard)
      The truth is i never compiled firefox on gentoo or LFS because the time stories and I dont want to think how much would take to compile an office suite with 4 main programs.🤣
      Edit: just edited some smartphone autocorrect.

    • @bogdanlupu3679
      @bogdanlupu3679 3 роки тому

      @@sohn7767 I heard about sc-im from luke too. Until then i was using the standard sc which was in the standard repo. When I installed ,regarding arch, it was in the AUR .

  • @millankumar9245
    @millankumar9245 3 роки тому +1

    Hey DT, if my workflow on one of my laptops only uses terminals, do I need a window manager? (Is it wrong to just use TTYs only?). Also IF (I mean WHEN) you do another Gentoo install, using the 'eselect profile' and just picking the x11/xorg one, will make this all a 1 button thing.

    • @that7.3man
      @that7.3man 3 роки тому

      No you don’t need a window manager

    • @oneanime5551
      @oneanime5551 3 роки тому

      @@that7.3man tho doesn't hurt to have one

    • @rizkyadiyanto7922
      @rizkyadiyanto7922 3 роки тому

      might want to try terminal multiplexer then.

  • @knpstrr
    @knpstrr 3 роки тому

    I just installed gentoo for the first time on an old 2MB RAM Core2Duo machine... it actually installed surprisingly fast. I like terminal type applications and like to stay in the tty even, so I started off with tmux, which took a bit of time. Next I decided on newsboat.... it is has been running a couple of hours and isn't close to being done.
    Taking longer than to install gentoo itself. Why is gentoo a thing again? hahaha

  • @All3me1
    @All3me1 2 роки тому

    So how do I change to German keyboard now?

  • @deveshkumar6890
    @deveshkumar6890 3 роки тому

    I am trying to install Pantheon desktop on Gentoo but unable to do, I have KDE. Wanted to have pantheon as my primary desktop. Can I request you to do a video for this please?

  • @millankumar9245
    @millankumar9245 3 роки тому +3

    Hey DT, would you ever use Gentoo as your "main" OS?

    • @AbhishekBM
      @AbhishekBM 3 роки тому +3

      No

    • @johntr7565
      @johntr7565 3 роки тому +5

      I only use gentoo and since you know how your system is built, once you learn how to mantain it, it's the most stable OS I've ever tried. All the advantages of a rolling release with the reliability of a LTS distro.

  • @nonetrix3066
    @nonetrix3066 3 роки тому

    Can you do a video on configuring a kernel? also please get wlwifi kernel modules this confused me as a beginner

    • @serge5046
      @serge5046 3 роки тому +1

      I will do a complete Gentoo installation with the complete kernel configuration at the end of the year on this channel: ua-cam.com/users/igster75

  • @autonaut279
    @autonaut279 2 роки тому

    lol of course I'll be stuck with a sudo that won't download or emerge or whatever.
    funny distro!

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

    I put the minimum install iso at ventoy and boot it up from my usb stick and it can't find the root. Does anyone know how to make the installer work in usb just like arch linux? i had no luck with google

  • @netharuM
    @netharuM 3 роки тому

    cant emerge -av x11-base/xorg-server x11-base/xorg-drivers
    because of
    the following packages are masked
    sys-apps/opentmpfiles-0.2
    is there any solution for this

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

      u need in make.conf:
      ACCEPT_LICENSE="*"

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

    🎉

  • @oalfodr
    @oalfodr 3 роки тому

    Hey DT, what is ram usage with dwm from htop?

    • @sigmundfreud4472
      @sigmundfreud4472 3 роки тому +1

      Can’t be much. I think my system uses 200-300 MB when idle on dwm

    • @oalfodr
      @oalfodr 3 роки тому

      @@sigmundfreud4472 Cool but that is not much different to arch. My arch uses less than 340 in htop. I expected even less from gentoo. There is no need for that but I like spending as little as possible

    • @Vaughanflaherty
      @Vaughanflaherty 3 роки тому +5

      @@oalfodr mental outlaw has got his lower than 75 mb of ram on dwm on gentoo. The thing is that you have to spend a lot of time optimizing, and be willing to do that, otherwise arch is probably the better choice because of package availability and not having to compile stuff. It doesn’t make sense to compile everything if you don’t optimize then with use flags and everything

    • @juzujuzu4555
      @juzujuzu4555 3 роки тому +2

      Gentoo testing branch on my laptop with wifi+virtualization etc. takes 45MB, Mate desktop environment fully booted with network manager takes 199MB. I have fully Ofast optimized (except GentooLTO provides exceptions on packages that require less aggressive optimization) system which makes binaries larger and takes more RAM. So fully tuned Gentoo with DWM might take as little as 50MB in total. I have 32bit Gentoo with DWM on VM and it takes 57MB, but I have not optimized kernel. Though 64bit version takes slightly more and wifi drivers etc. take somewhat. Still under 100MB for certain.

    • @sigmundfreud4472
      @sigmundfreud4472 3 роки тому

      OK I got a chance to check. The dwm process itself uses 14MB for me.

  • @notuxnobux
    @notuxnobux 3 роки тому

    Did you change something in the audio setup? when you say S it hurts my ears. Its too sharp.

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

    9:51

  • @christopherlewis1948
    @christopherlewis1948 3 роки тому +4

    Watching Gentoo instructions is actually funny. Just watch a video like this where he starts with missing one if the million things to do during setup and wasting the better part of a day just getting "basic" setup complete. If you are board enough to use Gentoo, just learn machine code while you have that much free time to kill.

    • @Wehrfrettchen
      @Wehrfrettchen 3 роки тому

      Oh gentoo is awsome if used right. Binary distributions are nice if you only need the standard things. Anything out of the ordinary thats not already provided for and getting that build is a pain and a half. For gentoo: sure just set the flag yourself emerge again and voila.

  • @GuyWhoChad
    @GuyWhoChad 3 роки тому

    Gentoo Very chad, get rekt arch (joking)

  • @TariqMehmood-1307
    @TariqMehmood-1307 3 роки тому +4

    1st

  • @cobbcoding
    @cobbcoding 3 роки тому +1

    *ascension*

  • @emmadabdelkrim3073
    @emmadabdelkrim3073 3 роки тому +2

    First comment

  • @mohameai5997
    @mohameai5997 3 роки тому

    you can't call your self a linux power user if you didn't compile custom kernel

  • @terrydaktyllus1320
    @terrydaktyllus1320 3 роки тому +1

    PS. When you make a video about a specific topic, why do so many ungrateful people in the comments ask questions like "Can you make a video about...?" Do they expect you to provide them with "free knowledge to their specifications" or something? I consider that both rude and ungrateful.

  • @wissemyahiaoui8854
    @wissemyahiaoui8854 2 роки тому

    I just finished the install of Gentoo and I am totally sure that I cannot live with this distro. Rolling back to Debian or Arch.
    Just imaging upgrading on weekly basis and the amount of wasting time looking clueless at the terminal output of compiled code.
    Kernel ~2h30 plasma 3h Firefox more than one hour and meanwhile a lot of debugging and dependencies solving. What`s the interest of showing colored USE which has to be added to the make. lol
    emerge is not a magic tool I know, but the idea of wasting the whole day between install and dependency resolving doesn't seem attractive to me, especially that I compile at work and that's enough for me.
    Final note: All this effort to not bring any noticeable performance in comparison with Debian, Arch, Fedora and CLEAR

  • @luissolanodev
    @luissolanodev 3 роки тому

    strong and complicated password...

  • @grumpo_
    @grumpo_ 3 роки тому

    ah yes, forgetting to remove the SUID flag from X.Org

  • @PauloConstantino167
    @PauloConstantino167 3 роки тому

    DT 2018: ok what is the copy command for Vim, Serge? Serge: You click edit and you paste
    DT 2021: ok we need to open, in Vim /etc/portage/make.conf
    xD

    • @serge5046
      @serge5046 3 роки тому

      A few remarks for this video. Normally one doesn't manually add the X USE flag in make.conf: choosing the right profile gives you that USE flag and many others. In his case the profile is default/linux/amd64/17.1/desktop
      One doesn't put elogind in the make.conf either This is obvious if you read (carefully) the messages at 11:42 you need to put it in a file under /etc/portage/package.use/
      At 11:42 there was a warning telling to update the config files (either through etc-update or dispatch-conf).
      Normally one doesn't launch dwm via startx dwm: there is a dwm Gentoo wiki explaining it in detail !

  • @nmkh4608
    @nmkh4608 3 роки тому

    Thank you for the tutorial.
    But get some sleep man, you look very tired, we can see black mark under your eye's

  • @tiktok.4527
    @tiktok.4527 3 роки тому

    Kalau ada yang mudah, kenapa pilih yang sulit?

  • @nissengummihone
    @nissengummihone 3 роки тому +2

    Imagine using deprecated software like Xorg........