• 1 Post
  • 24 Comments
Joined 1 year ago
cake
Cake day: July 10th, 2023

help-circle
  • Synthead@lemmy.mltoLinux@lemmy.mlThe Linux experice
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    If the package manager leaves you with broken dependencies, a broken system, or a system that “doesn’t work,” then there are significant bugs in how the distro has packaged things. It happens, but seldomly.

    Package managers aren’t “hard.” There are GUIs where you can search and install packages, even. In my opinion, if you have a Linux user that has avoided learning how package managers work, then they’re skipping a core foundation of how to use their operating system.




  • Also, how are you starting it? I’m looking at the Arch package in the AUR (not your distro, but just looking), and I notice that it includes a .service file. This means that it would be started as a service, and not as a user, like you’re probably attempting to do.






  • For real. It’s so much better to think about using the screen space you already have. People can do what they want, but I am happy with one screen, a tiling window manager, and workspaces. I can have a dozen or more things going on, and have it packed on a workspace. Fullscreen a window of I need to, then pop it back.

    It’s incredibly efficient. I see stuff like this, and I imagine what it’s like to have text several feet away, screens covered by other screens, lots of neck fatigue, all the monitor borders… like it’s truly bad. It feels like someone watched a lot of TV and “felt” that this was the best way to do it without trying it.

    Butt I digress. It’s not my setup. If they’re efficient with it, more power to them.


  • Synthead@lemmy.mltoLinux@lemmy.mlWhat exactly does systemd do?
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    1 year ago

    From man systemd:

    DESCRIPTION
           systemd is a system and service manager for Linux operating systems. When run as first process on boot
           (as PID 1), it acts as init system that brings up and maintains userspace services. Separate instances
           are started for logged-in users to start their services.
    
           systemd is usually not invoked directly by the user, but is installed as the /sbin/init symlink and
           started during early boot. The user manager instances are started automatically through the
           user@.service(5) service.
    
           For compatibility with SysV, if the binary is called as init and is not the first process on the
           machine (PID is not 1), it will execute telinit and pass all command line arguments unmodified. That
           means init and telinit are mostly equivalent when invoked from normal login sessions. See telinit(8)
           for more information.
    
           When run as a system instance, systemd interprets the configuration file system.conf and the files in
           system.conf.d directories; when run as a user instance, systemd interprets the configuration file
           user.conf and the files in user.conf.d directories. See systemd-system.conf(5) for more information.
    





  • This is what’s important. If you don’t enable power saving in some fashion, your hardware will always be “on” at full specs. Even if the machine isn’t actually being used, it’s still powering everything to be ready to jump at any opportunity to process something quickly without ramping down.

    TLP has pretty excellent default settings. Simply turning it on will likely make your battery life go 2-3x longer than without it being on, and you will have about 80% of the performance from a UX perspective. And if you want to crunch numbers faster on battery, you can tune TLP or turn it off temporarily.




  • Too many places let you drive if you do the happy path stuff right: stopping at a stop sign, changing lanes safely, etc. But the most important time of your driving is when you’re about to hit a semitruck and you need to get your car out of the way, and there is no training material for this at all. People often panic and slam the brakes and aggressively turn the wheel, which is a perfect setup for understeer and losing control of your car. They are literally getting in a situation where they are about to die and they choose to greatly increase their risk due to negligence.

    It’s cheaper to run simulators than purchase cars and hire trainers. Get em in nasty situations and teach them how to get out of it. For real, if mom and dad can’t evade sinking their freeway missile into a van full of kids, they shouldn’t be able to get behind the wheel and be presented with opportunities where this might happen any time they drive.



  • Don’t forget that Vim also keeps every tree of undo history. Wrote someone one way, wanted to try another way, and changed your mind? Switch to the other undo future! Change your mind again? Go back!

    And there’s persistent undo, where your undo history is written a file. Quit Vim, power off your machine for 5 years, power it back on, and you can still undo!