Gentoo Linux

521 readers
7 users here now

The Gentoo Linux community for discussions, tips and tricks, and general kernel compiling

founded 2 years ago
MODERATORS
26
 
 

Hi ! I'd like to have a Gentoo computer. But also in the future a Gentoo cell phone. Why not a Gentoo home console?

Is it possible to provide all this hardware with pre-compiled updates with a NAS that would do this automatically periodically?

I have the impression that with Gentoo, I'll be able to create tailor-made systems for my devices, and it gives me lots of ideas, but compiling on all these machines makes me feel a bit cold

Sorry if this is a silly question, I'm neither a developer nor an administrator, but I'd really like to learn how to tinker with my PC !

27
1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 
 

Recently got a laptop from a friend after mine got smashed to smithereens. I was going to do a fresh install of my favourite binary distro, Void Linux on it but I recently found out they dropped Monero (and Crypto programs) for ideological reasons.

I guess its time to come home!

Booted Laptop/PC to the LiveUSB, time to do my gruelling ZFS installs :)

28
29
 
 

I haven't gotten an update in about a week which is strange for me. I've had this dependency conflict for a while:

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/docutils:0

(dev-python/docutils-0.20.1:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_11 (-pypy3) - 
   python3_10 (-python3_12)" conflicts with
  <dev-python/docutils-0.20[python_targets_python3_11(-)] required by (dev-python/sphinx-5.3.0:0/0::gentoo, installed) USE="-doc - 
   latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10"

Would that prevent me from getting updates? I'm able to install things just fine.

30
31
 
 

Posted something similar on the NixOS sublemmy, but it basically boils down to the fact that I tend to switch back and forth between both distros, and I enjoy both very much as both Gentoo and NixOS provide an immense degree of control over my system and allow me to go wild and do whatever I want. But I feel the need to settle on one system and tinker with the other on a VM instead, as this switching back and forth is becoming a time sink and hindering my studies somewhat. The question is, which to use as the main desktop system? Gentoo feels more intuitive to me, but NixOS is definitely powerful at managing complex systems, but then again, I only have a simple desktop system. Another thing that I thought of is that maybe I can somewhat replicate NixOS' rollback feature, which is my absolute favourite feature of it, using a combination of Git and ZFS snapshots? I'd like to hear your thoughts on this.

32
 
 

I've heard that you should be using the appropriate stage3 archive for the profile you want to use, but what exactly are the differences between them? I'm asking this because I want to try doing a Hardened/SELinux/Musl/LLVM install, and there's a profile for that, but not the stage3 archive. I was thinking of starting with either Hardened/Musl or LLVM/Musl. Any thoughts on that?

33
34
 
 

Was able to install gentoo on a Oracle always-free instance. It has 4x ARM CPUs and 24 GB RAM. Those specs are really nice for a free instance.

for now I'll use it to self host some public facing services. Who knows, maybe I'll host a personal lemmy instance on it :)

35
 
 

cross-posted from: https://reddthat.com/post/221970

Hello friends! I kept searching how to do this but had trouble finding the information, but now that I have found out how to do it, I thought I would post it here in case others are looking for it.

Problem we are solving

You want to set the DNS server's address for your network connection. Typically, this is handled by DHCP server, but if you have enabled EnableNetworkConfiguration in the iwd config, then iwd is the one deciding which is your DNS server, and relays that information to your resolver, which in most cases is systemd-resolved but sometimes openresolv.

This is also the same as setting the standalone USE flag

How to Set DNS

Go to /var/lib/iwd folder, and look for the file that holds NETWORK_NAME.psk (where NETWORK_NAME is the SSID of the network you are connected to).

In this file, you will find some text pre-written. If it does not exist already, create a [IPv4] section. Under this section, add the line DNS=192.168.1.1 or whatever you wanted the DNS server to be. Your file should end up having a section that looks like this:

[IPv4]
DNS=192.168.1.1

restart iwd server and now you should be connecting to the right DNS server!

36
37
 
 

Personally for me, I've always been a fan of bspwm

I've been using hyprland as of recent to try it out. But I think I'll be trying something else soon. But I do want to stick with wayland.

38
 
 

I tried wayland with Hyprland on gentoo with proprietary nvidia drivers. I have the RTX 3060 Ti card. It works out of the box without having to mess with anything.

I tried sway as well. I have to specify the --unsupported-gpu flag for it to launch. The one issue I noticed with sway is that the background does not seem to load. I did not spend time debugging so it maybe a super simple fix. I'll report back if I ever do.

But I'm happy to see its all working flawlessly!

39
 
 

What can I do, as an end user, when a testing package on the gentoo tree has been outdated for a while? I know I can just download the tar file of the source code and compile it myself, but I wonder if there is anything else I can do to help on the gentoo repos.

For example Waybar has a 0.9.18 version available upstream, but not on gentoo. This version was released about a month ago, and includes compatibility for dwl. It's not really an issue for me, since I compiled the 0.9.18 version manually, but I'd like to know if there is anything I can do to help.

Sorry if I'm not using all the correct terminology; I'm new to gentoo.

40
 
 

When emerging nvidia proprietary drivers, portage warned me that I have certain kernel configurations either set wrong, or unset, which could cause trouble for nvidia to work.

I was impressed that emerging nvidia drivers involves scanning current kernel config to see what it is missing.

41
42
43
44
45
46
47
48