linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Thcdenton, in What are some interesting devices powered by Linux?

The Hanz Niemann buttplug probably

d3Xt3r, in Is there any hyprland fedora silverblue images?

however when I rebase to that image it drops me into rescue mode after reboot. :(

Did you rebase to the unsigned uBlue image first?

rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/startingpoint:latest

This will install the proper signing keys and policies and prepare you to rebase to a different signed image. After you run the above command reboot, and then rebase to the actual image you want to rebase to.

Also, here’s another alternative to Hyprgreen: github.com/wayblueorg/wayblue/

khorovodoved, (edited ) in What are the major components of any Linux distribution?

I would say, that from most important to least important components are:

  1. kernel
  2. init system (systemd, openrc, runit…)
  3. C library (glibc, musl)
  4. filesystem
  5. coreutils
  6. shell
  7. bootloader
  8. package manager
  9. x11/Wayland (if any)
  10. sound system (if any)
  11. WM (if any)
  12. DE (if any)
lseif,

what do u mean by important? like ‘essential to the system’, or ‘important to consider when choosing a distro’, or what?

khorovodoved,

I mean “something out of ordinary about it affects your experience with this distro the most”.

ultra,

Wouldn’t the c library be more important than the init system?

khorovodoved,

You are probably right. It is probably even more important than kernel.

ultra,

Not really.

bionicjoey,

I’m surprised you put shell so high when it tends to be less impactful in my experience. Like I care a lot more if my distro is using GNOME instead of KDE a lot more than if it’s using bash instead of zsh. Plus it’s easy to install and use a different shell

khorovodoved,

It is easy to install another shell indeed, but it is quite difficult to configure it. While installation of DE is usually done with just one command. And you can use linux without DE, but not without shell. Many distributions even do not install DE by default at all.

bionicjoey,

Okay but unless you are spending a lot of time in the command line, one (POSIX compliant) shell is as good as another. Like yes every distro needs a shell, but I don’t much care which shell it is.

tricoro, (edited )

One thing I don’t know: if C is a compiled language already, what exactly does the C library do?

lseif, (edited )

it is a dynamically linked library, meaning its not in the compiled binary, but its assumed to already be on the system. as opposed to a statically linked binary. this lowers the file size of the binaries, because most will use the standard library.

edit: this may not be 100% correct, but its the general idea

khorovodoved,

Most C binaries usually do not contain everything needed for their execution. It would make them too platform-specific. What most c programs do is that they use standard c library from platform for low-level things and communication with the system like memory allocation or stdin/stdout things, for example.

018118055, in As a normal, boring user that does nothing special other than browse the internet and the occasional "casual coding" -- what am I supposed to do with 32GiB of ram?

Virtualize fun things for projects

bulwark,

Heh, I’ve got 32gb on my Proxmox box, and would be lying if I said I wasn’t eyeballing a few 64 or 128 sticks.

filister,

I second that, install cockpit if you don’t want to bother with the CLI and run a couple of VMs. You can even start 3 VMs and install Kubernetes on them and play with it.

Stillhart, in Just moved to linux

If you’re using nvidia and like Fedora, try Nobara. It’s gaming focused and comes with nvidia drivers.

juli,

Why not just installing the drivers?

Ashiette,

Because it’s not about installing them, it’s making them work that’s not intuitive. I have an nvidia card and some linux experience, it was hard for me to set it up. If you have no background on linux, making it work might make you abandon it. In those cases it’s better to go with something that has everything figured out for you.

Corr,

I seem to have the nvidia drivers working without having had to fuss too much. I think I may have tried running games before rebooting after graphics drivers were installed because I tried just now and it worked completely fine with the same framerate as on windows!

Ashiette,

It might be because I’m using Arch and everything has to be done manually 🤷

Good for you if you have it figured out ! Welcome to Linux !

Stillhart,

Easier for a linux noobie. Some people want easy, some people like to fiddle. It’s good to have choices.

flashgnash, in NixOS is better because...

For me it’s the fact that I have one source of truth for my whole system config that I can stick in git

If I want to clean up software I don’t need anymore I just remove them from the package list and they’re gone next rebuild

Also means when I reinstall or setup a new system I just run the installer, do a git pull, rebuild and I’ve instantly got all my tools, configured just how I like them

Also, if I want to make a big change I can build my system in a VM first to make sure it works first (not that I do that because it also lets me revert to an earlier build from grub if I need to)

I’ve also got both my laptop and my PC on basically identical configurations from the same git repo with each of them having a smaller config file for hardware specific stuff

jbloggs777, in How do I get virtual sorround sound working?

I took …freedesktop.org/…/sink-virtual-surround-7.1-hesu…, and replaced hrir_hesuvi/hrir.wav with the full path to atmos.wav, which I downloaded from airtable.com/…/tbloLjoZKWJDnLtTc

Here seems to be a walkthrough of it: forum.endeavouros.com/t/…/24958

I also tried jconvolver in the past, but often hit issues when combined with pipewire. Pipewire’s native virtual surround support just works when configured correctly.

You can change the default sink to go to the virtual surround device this way:


<span style="color:#323232;">pactl list short sinks    # get sink name
</span><span style="color:#323232;">pactl set-default-sink <set default sink>
</span>

There will be a way to set the default in the pipewire config files (~/.config/pipewire/pipewire.conf.d/*), too.

I use “catia” when I want to do manual audio routing, and I guess similar is possible with pavucontrol.

UnRelatedBurner, (edited )

Lots of links and names. I think I know how I’m spending my afternoon. Thanks!

echo64, in How do I get virtual sorround sound working?

So yeah, people have gotten hrtf surround sound stuff going with pulse audio, some searching around that should get you where you want.

Butt your last statement about games being “unplayable” in stereo is pretty silly, too, so I want to call that out. Don’t be silly. They aren’t “unplayable”, you aren’t “locked out,” thats silly. 99% of people that have ever played that game played in stereo.

UnRelatedBurner,

I mean when i switched from stereo to surround it was like a whole new chapter. I got pseudo wallhacks I’m never going back. But I agree it’d be pretty silly to play RTS or city builders with it. Anyways thanks for the lead!

Omgarm, in Linus Torvalds postpones Linux 6.8 merge window after being taken offline by storms

Pfft Linux can’t even deal with a bit of rain. This is why I use my abacus.

neytjs, in Linux Mint 21.3 has been released

Great news, I’ve been using Linux Mint (Cinnamon) since 2016 as my only operating system without any regrets. The newer versions of Cinnamon keep getting more and more stable too. I have virtually no hard crashes or freezes anymore.

MiddledAgedGuy, (edited ) in Just moved to linux

My guess is you have an nvidia card and are using the nouveau (open source) module instead of the nvidia (proprietary) one.

Assuming that’s correct, here’s Ubuntu’s documentation on that. ubuntu.com/server/…/nvidia-drivers-installation

Corr,

I’m not sure what was wrong with the opensuse install, since I’m pretty sure I got the nvidia drivers to work, but I definitely have everything working with nvidia on fedora

taaz,

You might have to tick “Force Composition Pipeline” in nvidia-settings.
Without it most UIs are laggy or tearing heavily on my rig.

Corr,

If I ever feel like going back I may do that. In the meantime I’m very happy with what fedora has to offer me so far. Just finishing installing the software I use regularly now!

MiddledAgedGuy,

Oh I totally misread, Ubuntu was what you had in the VM.

If you open the Nvidia settings and it sees your GPU(s), then it should be working, if you hadn’t already come to that conclusion.

Fedora is a solid choice!

OmnipotentEntity, in is there any way to attach an audio to an image without re-encoding either
@OmnipotentEntity@beehaw.org avatar

Use ffmeg, here’s how to do the image part: superuser.com/…/producing-lossless-video-from-set…

To do the audio use the copy option. See here for an example usage: stackoverflow.com/…/ffmpeg-to-duplicate-an-audio-…

Still, in Bluetooth Help (MX Linux Plasma, kernel 6.1.0-13)
@Still@programming.dev avatar

not sure your exact case, but I would highly recommend using pipewire, Bluetooth audio devices were nothing but pain for me with pulse audio and they just worked on pipewire

I’ve used Sony xm4s

merc, in What are some interesting devices powered by Linux?

Google

penquin, in [Resolved - now using Onboard] Any recommendations for an on-screen keyboard like the one that Windows has. The one that comes with Gnome is annoying to use...

There is nothing else. OSK sucks on Linux. I wish I knew how to fucking code, I’d make my own.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #