linux

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

HiddenLayer5, (edited ) in Reminder to clear your ~/.cache folder every now and then
@HiddenLayer5@lemmy.ml avatar

I just map both the user cache and the /tmp directory to a RAM drive. I allocated 4 GB but in practice it never gets even close to that much, and Linux seems to not be reserving the entire 4 GB at boot so I would assume how much RAM is used depends on how much is actually in your cache.

It also defers cache and tempfile related problems to turning it off and on again.

ProgrammingSocks, (edited ) in What's your experience with bluetooth audio?

No issues to report here. Audio sucked when I had an old shitty laptop with a BT4.0 chip but after I upgraded to a Thinkpad X280 Bluetooth just worked out of the box. Been using pipewire but before that I used pulseaudio with bluetooth audio extensions that you can find on the AUR. Pulseaudio was far less stable, pipewire just werks.

faethon, (edited ) in What are the major components of any Linux distribution?
@faethon@lemmy.world avatar

I think you would also need an initial run process such as systemd or the sysV runlevels.

lemmyvore,

Fun fact, the init process can be anything, even /bin/bash or a shell script. But if it ends or dies so does the system, and of course you want extra features like multiuser capability, better interface etc. So it’s typically a more complex system like you said, that starts a bunch of other things. But you can still see the init process with PID 1 there in the process list. 😊

KISSmyOS,

Fun fact: On Slackware, the init process is just a shell script (which launches other shell scripts).

jollyrogue, in What are the major components of any Linux distribution?

Package manager needs to be higher since Linux distros are software distribution projects mainly.

  1. Package manager
  2. Config tools
  3. Config defaults
  4. Kernel
  5. Init process
  6. Software
just_another_person,

Well, bootloader first, then kernel, then init.

jollyrogue,

What are we ranking? The boot order of computers?

Of the 3 you listed, the init is only important to a few distros.

Also you forgot this is Linux and the initramfs.

SimplyTadpole, in Which distro/image to use for distrobox where you just want to install tools?
@SimplyTadpole@lemmy.dbzer0.com avatar

For everyday tasks, I think a Fedora distrobox works fine, but you would have to upgrade it eventually and I admit I’m not sure how you do that under distrobox. Still, I initially used it and still have a Fedora distrobox I use for doing stuff for my job, as well as one I use for running a game modding program that requires Java, and they both work fine.

I’ve also had success with a Debian distrobox, which I used to compile Render96ex. Debian is pretty universal, so it’s much easier to follow compile instructions using it than a Fedora distrobox ^^’

AProfessional, in 100% vanilla distribution challenge

deleted_by_author

  • Loading...
  • ugh,

    I’m very confused about what OP considers customization. My only experience has been setting up my home server so far, so maybe I’ll be compelled to do more “customizing” when I make the switch on my PCs.

    Does installing a GUI on Ubuntu Server already break that rule? Or is it a success because it’s only software? It’s definitely not “out of the box”.

    nik282000,
    @nik282000@lemmy.ca avatar

    Debian, I use one Gnome extension but could easily do without it. All the defaults are fine if you just want to sit down and browse, edit media, create documents or write code.

    flashgnash, in CLI Editors with Distrobox?

    Python is easy on NixOS, you just need to use python venvs and you can use pip like normal

    (python -m venv .venv) to create the venv (only need to do once per project)

    .venv/bin/activate to enable the venv (Vscode should do this automatically if you create the venv through the python extension)

    Then just pip install to your heart’s content

    (Probably a good idea to pip freeze > requirements.txt every time you install a new library too to make it reproducible

    Also you should probably add the venv directory to gitignore if you’re using git as it’ll add a lot of crap to source control that can be easily regenerated from the requirements.txt

    Adanisi, in I use linux for the same reason I wear fuzzy socks and sweaters
    @Adanisi@lemmy.zip avatar

    Ah, the freedom to modify software as you wish. Got to love it.

    teawrecks, in I use linux for the same reason I wear fuzzy socks and sweaters

    I know it’s beside your point, but I want to chime in…

    My understanding of the history of fashion is that back in the 1950s America…they were trying to nudge culture into accepting their worldview.

    On the contrary, I don’t think that’s how the mentality came about, or was held at that time at all. If you go back to the 1850s or 1750s, suits and dresses (or some older variant of them) were a sign of wealth, intelligence, high class living, etc. They had to be hand-tailored by experts using rare fabrics and dyes that had to be shipped all around the world. Then the industrial revolution came, and clothing was able to be mass produced (usually at the cost of quality). Suddenly the middle class had access to suits and dresses, but the perception that it was something for the wealthy was still there. For many businesses targeting the middle class, the suit and dress WERE the uniform, as a means of displaying how regal their brand is.

    And it’s not like we’ve gotten past this. If you go on any of the social media sites with ads, take a look at what you see: some knock-off piece of trendy clothing that’s made to look like a high end fashion brand, but targeting the lower/middle class.

    All that said, I’m all for the “punk rock” mentality. Don’t do what your parents did just because society told them to tell you it was important. Stick it to the man, yadda yadda. But I think it’s a trap to assume that the 1950s proletariat felt any differently than the same class of people do today.

    As for windows v linux, of the people who are aware of both yet continue using windows, I think most would say that they use it specifically because they have a “preference for something that i can just set up and not have to tinker with” and because they also aren’t making their choice based on “the trackers in win11 or because [they] care that Microsoft is an evil megacorp”.

    rutrum, in CLI Editors with Distrobox?
    @rutrum@lm.paradisus.day avatar

    In my experience, you still have your same path to your nix installed binaries in the distribox container, so you shouldnt even have to duplicate your configuration. I also dont suspect python dev to be that bad so long as you use venv or conda.

    Maestro, in Preparing to move from Ubuntu to Fedora
    @Maestro@kbin.social avatar

    Why not move to Debian? Ubuntu was born in a time when Debian stable had a really long release cycle and wasn't desktop ready. But times have changed. Debian is a great desktop without all of Canonical's Ubuntu "experiments" like snap.

    Aatube,
    @Aatube@kbin.social avatar

    arch!endeavouros

    thayer,

    That still wouldn’t answer their dilemma of older versioning of packages, unless they went to Sid.

    Maestro,
    @Maestro@kbin.social avatar

    Debian stable has newer packages than Ubuntu LTS. Debian has pretty regular releases these days.

    joyofpeanuts,

    I second this. I have been using Ubuntu for at least 10 years by I really do not like snaps or flatpaks for that matter. So, after some disappointing attempts using Debian in the past, I had a new go at it 1-2 years ago and I was positively surprised: Ubuntu without the useless bloat - kind of normal because Ubuntu is based on Debian. For sure the my next PC will be using Debian: efficient, highly configurable, and quite user friendly once you understand it’s ways of configuring things.

    pound_heap,

    I see your point… I use Debian for my self-hosted environment, so having similar system on desktop may save some cognitive load. My main arguments against Debian are (maybe misinformed though):

    • No btrfs support in installer OK, Debian wiki says it’s there
    • Major annual upgrades to keep up with stable look more scary than more incremental and frequent updates of Fedora. And using Sid as someone suggested sounds too crazy for main PC

    So yeah, looks like it’s just upgrades… Gives me something to think about while I’m moving my apps to flatpaks

    GustavoM,
    @GustavoM@lemmy.world avatar

    This. Edit /etc/sources/apt, switch to sid, sudo apt update and you’ll have “a better ubuntu.”

    Pantherina,

    Crazy, that works?

    KISSmyOS, (edited )

    If you’re on Debian Stable, yes. On Ubuntu, hell no.

    GustavoM,
    @GustavoM@lemmy.world avatar

    Yep. Did this on my orange pi zero 3 (which has no support on Linux) and it worked. :^)

    KISSmyOS, (edited )

    If that worked, it was pure luck.
    Do NOT do this!

    Edit to clarify: Do not do this on Ubuntu!

    Pantherina, in How to switch thr state of Fn keys?

    Best would be BIOS. What vendor, what model? INFORMAATIIOOON

    possiblylinux127, (edited ) in I use linux for the same reason I wear fuzzy socks and sweaters

    Too long, didn’t read

    callyral, in One of these 6 will become Plasma 6. Wallpaper Which one do you prefer?
    @callyral@pawb.social avatar

    The middle-right one. Would be nice though if instead of a clock it had something else since it’d be weird to have a static clock.

    My secondary choice would be the one with the red tree.

    _cnt0, in Preparing to move from Ubuntu to Fedora

    Enable rpmfusion for media codecs and things like libdvdcss or unrestricted mesa drivers: rpmfusion.org/Configuration

    docs.fedoraproject.org/…/installing-plugins-for-p…

    Fedora comes out of the box with a curated flatpak repo. You might want to replace that with flathub: flatpak.org/setup/Fedora

    Imho, there’s no reason not to enable disk encryption for root. Luks configuration during setup is very straightforward.

    If you don’t have nvidia graphics, enable uefi and secure boot (no legacy options). Fedora works well with it out of the box.

    pound_heap,

    Thanks! This is helpful

    _cnt0,

    Two more things that came to mind. If you want to use another desktop environment than gnome (default), you should be aware of spins: fedoraproject.org/spins/

    Spins work against the same repositories, they just come with other sets of packages preinstalled.

    Also, you said you’re using amd gpu. Fedora has the drivers for that out of the box. But due to fedora’s strict FOSS policy, some hardware acceleration features are stripped out of the amd driver. I mentioned you can get the unstripped drivers from rpmfusion. That is detailed here: rpmfusion.org/Howto/Multimedia

    The relevant bit being this:

    
    <span style="color:#323232;">sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
    </span><span style="color:#323232;">sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
    </span>
    

    Those packages work together with the drivers from the official repos. They can get out of sync. That never happened to me, yet. But if an update mentions some conflict with mesa-*, just don’t do that update until that conflict disappears. If you ever run into the issue you can also undo the last update with the dnf history commands.

    Pantherina,

    This is essential. sudo dnf install libavcodec-freeworld may already be enough if you dont need ffmpeg for anything.

    Or you use ublue, where rpmfusion and ffmpeg are preinstalled.

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