linux

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

olorin99, in S3 Sleep on AMD always freezing the Desktop
@olorin99@kbin.social avatar

Many modern laptops no longer support S3 sleep at all. It is likely to be an issue with the bios rather than a linux project. On my laptop, with Ryzen 7 5825U, I had to give up on S3 and use s2idle. Also had to pass "pcie_aspm=off" as a kernel parameter because it would take ages to wake the ssd without it. Overall works ok. Not as good as S3 but better than nothing.

Pantherina,

Thank you! How do you activate s2idle?

olorin99,
@olorin99@kbin.social avatar

So to check what suspend states your laptop supports run cat /sys/power/mem_sleep. It should print something like s2idle shallow [deep] with the option that is enabled having [] around it. To change the enabled option run echo "s2idle" > /sys/power/mem_sleep.
https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate has more info.

Pantherina,

S2idle.

Hm, anyways this is happening ;(

PrefersAwkward,
@PrefersAwkward@lemmy.world avatar

Pcie ASPM off would hurt battery life a lot wouldn’t it? What sad do you have?

olorin99,
@olorin99@kbin.social avatar

I haven't really noticed much of a difference. I figured it was probably worth actually being able to wake the laptop from sleep rather than having to restart it every time.

Quazatron, in Automatic backups of inode tables and partition info for easier data recovery
@Quazatron@lemmy.world avatar

I’m really curious as to why go to all this trouble instead of using a proper file level backup and restore solution.

luthis,

For fun and learning. It’s just another tool to go with file level backup.

And the backup for this is 40mb and really fast, but backing up files even when compressed would be hundreds of GB, maybe terabytes, and then you’re paying for that amount of storage online somewhere, uploading for hours…

Quazatron,
@Quazatron@lemmy.world avatar

Picture this: you open and edit one of your documents and save it.

The filesystem promptly allocates some blocks and updates the inodes. Maybe the inode table changed, maybe not. Repeat for some other files. Now your “inode backup” has a completely different picture of what is going on on your disk. If you try to recover the disk using it, all you will achieve is further corruption of the filesystem.

NeoNachtwaechter,

instead of using a proper file level backup

Backups do not solve everything.

For example once I had a bad cable, and it did a kinda sneaking silent damage. Let’s say 5 or 50 broken files every day. And only after some weeks I noticed some of them, and there was hardly a chance to identify them each day. And sometimes there was damage to the file system, too. It took a while find the root cause.

Today I use ZFS with redundancy and it does the recovery all by itself and my sleep is so much better :-)

luthis,

Ok time to investigate ZFS

Quazatron,
@Quazatron@lemmy.world avatar

“Proper backups” imply that you have multiple backups and a backup strategy. That could mean, for instance, that you would do a full backup, then an incremental/differential backup each week and keep one backup for each month. A bad cable would cause you trouble, no doubt, but the impact would be lessened by having multiple backups points spread over months.

Redundancy is not backup. Read that again.

Redundancy is important for system resilience, but backup is crucial for continuity. Every filesystem is subject to bugs and ZFS is not special. Here’s an article from a couple of days ago. If you’re comfortable with no backups just because you have redundancy, more power to you. I wouldn’t be.

NeoNachtwaechter,

I wasn’t saying backups are useless or something.

I was saying there are situations that backups can’t solve.

Quazatron,
@Quazatron@lemmy.world avatar

Sure, all the work you do between the moment of the filesystem failure and the last backup is gone. There’s nothing that can be done to mitigate that fact, other that more frequent backups and/or a synchronized (mirror) system.

Backups are just a simple way to keep you from having to explain to your partner that you lost all the pictures and videos you took along the years.

theshatterstone54, in NixOS 23.11 released

Seeing this prompted me to do an experiment.

There was a time when Nixpkgs was smaller than the AUR. And, until recently, Nixpkgs was larger than the AUR but still smaller than the combination of the main Arch repos with the AUR.

As it turns out, the current total package count for Arch and the AUR is 85,819.

For nixpkgs unstable, that number is 88,768.

NixOS 23.05 Stable has 83,740.

And considering the mention of 9,147 new packages and 4,015 removed packages, that would mean that 23.11 would have a total of:

88,872 packages. This is more than the current figures for Nixpkgs unstable, but this is going off data from separate sources (NixOS devs and repology, with repology still being slightly outdated)

And, as such, I think it’s fair to say the winner is (drumroll please)…

The USER for having such incredible distributions, giving him the vast breadth of choice for what distro matches their workflow best.

AI_toothbrush,

Gender neutral him moment

unionagainstdhmo,
@unionagainstdhmo@aussie.zone avatar

Though the difference is AUR packages aren’t officially supported or tested and are commonly out of date. They also need to be built on your system

korfuri,

To be fair, the level of support for packages in nixpkgs is inconsistent. My config has a number of backported packages overlaid on top of nixpkgs where upstream is not up to date enough for me.

const_void,

There may be more but that doesn’t mean that every Arch package is available on Nix

frogmint,

Package count is interesting to look at, but it doesn’t really give a good picture of software availability. Distributions will split or combine packages differently. For example, the AUR has both binaries and source versions available for many packages.

gerbercj, in What's the best way to remote into a linux machine?

I use Chrome Remote Desktop daily. I don’t know if it’s the best, but it works great for me. remotedesktop.google.com

NeoNachtwaechter, in Automatic backups of inode tables and partition info for easier data recovery

e2image

There’s a good reason for the 2 in the name.

Today we have ext4, and ZFS of course.

uis,
@uis@lemmy.world avatar

e2image - Save critical ext2/ext3/ext4 file system metadata to a file

phx, in What's the best way to remote into a linux machine?

xrdp tends to work well enough, and plays nicely with both the windows remote desktop application and various Linux clients

Bitrot,
@Bitrot@lemmy.sdf.org avatar

It also doesn’t require a session to be logged in at the local console.

phx,

Yeah that’s true. I think some VNC options can start at the DM login screen but that’s a passion to setup and may not be overly secure

CraigeryTheKid,

I honestly thought this was the default/classic answer, and am surprised at how far down it was.

I too just started Linux 2 weeks ago, and my search results led me to xrdp on host, and remmina on client.

Nisaea,
@Nisaea@lemmy.sdf.org avatar

If xrdp works well enough, NoMachine us blazing fast in comparison. Have you given it a try?

phx,

Once but it was a long time ago

DangerousInternet, in Add YOUR city to the Gnome weather app [Solved]
@DangerousInternet@lemmy.world avatar

deleted_by_author

  • Loading...
  • ademir,
    @ademir@lemmy.eco.br avatar

    For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?

    I have checked my temp. Against the source (norway service) and it was right.

    I am on my phone now but i can print the page later.

    Pantherina, in I finally switched back to Linux as my daily driver after a couple of years of being on nothing but Windows.

    Happy that you are on the light side now!

    Pantherina, (edited ) in What dock do you use in Wayland?

    the KDE native Dock is the only good working one I think. Will get way more dock-ey in Plasma 6

    uis, in Pony approved distro
    @uis@lemmy.world avatar
    mypasswordis1234, (edited ) in Pony approved distro
    @mypasswordis1234@lemmy.world avatar

    Derpian

    De rpi an

    De raspberry pi an

    The raspberry pie an

    Is that pinky pie?

    But who’s thst “an”?

    uis,
    @uis@lemmy.world avatar

    How do you call distro of happiness with three eyes? Pinkie Pie. Because her name has three "i"s.

    There is saying, if you ask Pinkie to hand over pie, she will give radius over pi tall pie.

    mypasswordis1234,
    @mypasswordis1234@lemmy.world avatar

    I like it 😆

    Quills, in Pony approved distro
    @Quills@sh.itjust.works avatar

    YES lol Derps everywhere!!!

    uis,
    @uis@lemmy.world avatar

    Should I call Littleshy?

    uis,
    @uis@pone.social avatar

    @LittleshyFiM did you install Derpian?

    GustavoM, in Recommend security-first basic Linux Apps!
    @GustavoM@lemmy.world avatar

    firejail

    ufw

    And docker if you are paranoid. (You can completely shut off the network of specific commands – can’t get any better (and safer) than that!).

    draughtcyclist,

    I love ufw… So straightforward and easy to use.

    JustEnoughDucks,
    @JustEnoughDucks@feddit.nl avatar

    It’s a pity that docker doesn’t work with it well…

    GravitySpoiled,

    Doesn’t podman solve that issue?

    Pantherina,

    Yup securitywise I would also say Podman > Docker

    Pantherina,

    Firejail has some big security flaws. There us bubblejail, which uses the way better bubblewrap also used for Flatpaks.

    But the Bubblewrap and Flatpak Situation is quite complex. Flatpaks, as well as Podman containers, require user namespaces. Through these namespaces programs can get privileged access to system components, which is why secureblue now has bubblewrap-suid installed.

    bubblejail maybe uses that binary already, or it needs to be patched too.

    DangerousInternet,
    @DangerousInternet@lemmy.world avatar

    deleted_by_author

  • Loading...
  • Pantherina,

    I am no expert but it is possible. So the namespace has to be set by root and then used

    idiocracy,

    I keep seeing firejail being recommended though, were the security flaws still not fixed?

    ninekeysdown,
    @ninekeysdown@lemmy.world avatar

    To add to this systemd can do everything they can. You can isolate network, do fire-walling, and sandboxing pretty easily. Any OCI container can be used too if you don’t want to install something too.

    cerement, in Pony approved distro
    @cerement@slrpnk.net avatar

    debian → ubuntu :: derpian → UwUntu

    Osa-Eris-Xero512,

    I don't know what's worse, that this is real or that it appears to be relatively serious and not just taking Ubuntu and doing an UwU text transform on every localized string.

    NumbersCanBeFun,
    @NumbersCanBeFun@kbin.social avatar

    deleted_by_author

  • Loading...
  • ultra,

    laighs in AmogOS

    NumbersCanBeFun,
    @NumbersCanBeFun@kbin.social avatar

    deleted_by_author

  • Loading...
  • callyral, (edited )
    @callyral@pawb.social avatar

    Doki-Doki on System or as I like to call it, “DDoS”*

    *not a real distro (yet)

    Osa-Eris-Xero512,

    Oh, I have no issues with pony people. I was more disappointed that UwUntu wasn't as UwU as I really hoped it would be after I discovered it was a real thing.

    At some level I just wanted it to commit to the bit, even if it's at the cost of usability. Maybe only on 1 Apr or something.

    germanatlas,
    @germanatlas@lemmy.blahaj.zone avatar

    Nature is… healing? I guess?

    Saltyconvo, in Pony approved distro

    15/10 would install

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