linux

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

ikidd, in An open-source, cross-platform terminal for seamless workflows
@ikidd@lemmy.world avatar

Interesting concept, I like the design, but the workflow is rather odd and would take some getting used to. Also, things like the UI need some work on scrolling, like the Sudo connect window scrolling the password out of sight if you fail the password entry.

rotopenguin, in systemd 255 Released With A "Blue Screen of Death" For Linux Systems
@rotopenguin@infosec.pub avatar

I don’t think it’s going to do a whole lot of good when the whole KMS/DRM falls over.

(okay I haven’t had that for a few months now. But i am still traumatized)

Meuzzin, in Manjaro OS

Most of the hate posts in this thread, seem to have the same issue: Nvidia.

glibg10b, in Self Post

OP did not take this picture. Their story is made up. Here’s the original: lkml.org/lkml/2011/11/3/110

KISSmyOS, (edited )

I did not take this picture. I just nabbed the smuggest-looking cat-on-a-keyboard I could find.
But your questioning of my cat’s software testing experience has made her very upset.

TheyCallMeHacked,

I don’t know what you did to your cat, but Imgur is telling me the picture “may contain erotic or adult imagery.”

KISSmyOS, (edited )

She’s not wearing any clothes and there’s licking and petting involved.

dditty,

Nothing like heavy petting a hairy pussy to trigger NSFW content warnings

callyral,
@callyral@pawb.social avatar

yeah for some reason imgur does that but the video is sfw

Infiltrated_ad8271, in systemd 255 Released With A "Blue Screen of Death" For Linux Systems
@Infiltrated_ad8271@kbin.social avatar
  • Hibernation into swap files backed by Btrfs are now supported.

So, with btrfs on ssd, is there any use case for a swap partition?

falsem,

Use case is not having enough RAM?

bdonvr,

I think what they mean is that you can just make a swap FILE instead, which you can grow and shrink as needed. No need to mess with partitioning.

Infiltrated_ad8271,
@Infiltrated_ad8271@kbin.social avatar

Yep. In fact my comment seemed so clear to me that I assumed it was some kind of joke, but looking at the votes, maybe swapfiles aren't as well known as I thought.

lemmyvore,

Swap is not “disk RAM”.

falsem, (edited )

https://en.m.wikipedia.org/wiki/Virtual_memory

What would you describe it as? With virtual memory it pretty much functions that way, no?

lemmyvore,
wmassingham, (edited )

I’m not sure what that post is meant to show, if swap isn’t “disk RAM”. That post even concludes:

Swap […] provides another, slower source of memory […]

lemmyvore,

Um, you really need to read the entire phrase and not pick out only what you want from it. 😃

Swap can make a system slower to OOM kill, since it provides another, slower source of memory to thrash on in out of memory situations

It means that if you try to use it as a source of memory, when you run out of actual RAM it will make your system almost completely unresponsive due to disk thrash, instead of allowing the kernel to just kill the process that’s eating your RAM. So you’ll just end up hard-booting system.

wmassingham,

Yes, and that’s a good thing if you don’t want it to start killing processes. You have that extra time/space to deal with the out-of-memory condition yourself.

Or you can ignore that condition and continue using the system in a degraded state, with swap as “disk RAM”.

lemmyvore,

Like I said, the system will be almost completely unresponsive due to disk access being several orders of magnitude lower than RAM and allocation thrashing… you won’t be able to do much, the mouse, keyboard and display will react extremely slowly. There may be situations where you’d prefer this to an OOM kill, for example if you’re running a test or experiment where you’d rather have it finish even if it takes a very long time rather than lose the data. But if you’re a regular desktop user or server admin you’ll probably just reboot.

rotopenguin,
@rotopenguin@infosec.pub avatar

Do you mean that you don’t have to find the LBA of the extents of your swap file, and put that into a kernel argument anymore?

Cuz that is a nasty, skanky hack.

Infiltrated_ad8271, (edited )
@Infiltrated_ad8271@kbin.social avatar

I've never heard of that, it's beyond me. So it's an increased risk when tweaking the kernel? As an average home user it's all right?

KarnaSubarna, in Self Post
@KarnaSubarna@lemmy.ml avatar

Imagine yourself playing FPS game (CS: GO 2), and your cat just walk casually on your keyboard!!

Truck_kun, in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

I actually am in the market for a new mobo and cpu.

Are there any mobo’s nowdays that don’t use UEFI? I just want an old traditional style BIOS with a jumper to restore it from a ROM chip if I get any malware, so I can actually trust my hardware.

I did force myself to deal with UEFI for the sake of windows, but gaming has gotten good enough on Linux, I don’t actually need to dual boot windows anymore.

Am I asking too much?

yum13241,

No, and trying to use a pure BIOS system these days is a headache.

You can always just reflash your firmware from a trusted OS via FWUPD.

Holzkohlen, in systemd 255 Released With A "Blue Screen of Death" For Linux Systems

At least make it pink or smth

ikidd, (edited )
@ikidd@lemmy.world avatar

Maybe it can be the “brown screen of death”. To indicate that it shit itself.

wmassingham,

PSoD is already used by VMware ESXi. And Windows Insider builds, I think.

Maybe green?

ABeeinSpace,

Green is Windows Insider builds

uriel238,
@uriel238@lemmy.blahaj.zone avatar

Maybe a customizable setting? Black screen with red border and a looping kittens video?

mateomaui, (edited )

PSoD

Piss Screen of Death?

edit: oh nvm, I mistakenly thought this was in reply to the suggestion for dark yellow.

AgnosticMammal,

Dark yellow?

hornedfiend, in Manjaro OS

No hate from me,but rather a simple question? Why use preconfigured distros instead of the original,always best, with archinstall script? You can even install pamac or whatever package installer tool manjaro uses.

yum13241, (edited ) in Manjaro OS

manjarno.pages.dev

Basically, the Manjaro team has no idea what they’re doing.

The ManjarNO sheep can fuck off to Reddit for all I care.

cerement, (edited ) in LXLE still good for older devices?
@cerement@slrpnk.net avatar
  • don’t know enough about LXLE itself as a distro
  • but LXDE should effectively be considered “end of life”, the developer is in the process of porting everything over to Qt and working on releases of LXQt
  • with that, for a full DE – Xfce if you like GTK, LXQt if you like Qt
  • or a minimal setup with a WM plus utilities (like Openbox or one of the large selection of tiling window managers)
  • along those lines though, there are still a LOT of lightweight Linux distros to choose from
    • Crunchbangplusplus or BunsenLabs – successors to Crunchbang Linux – usually just Openbox WM and a few utils rather than a full DE
    • plain old Debian stable – proprietary drivers are now part of the installer, no more hunting for a special ISO – can choose your DE or WM during install
    • Alpine Linux – popular for server and container installs, but has its fans for desktop
    • DistroWatch’s selection for Old Computers – LXLE is still on the list
squaresinger,

I can second Xfce. I’m using it on the chroot Linux I run on my phone. It doesn’t get much lower end than that, and Xfce performs perfectly.

And it feels much more polished than LXDE.

actionjbone,

Thanks for all this info. It’ll help me catch up, I’ll check out your links.

kelvie, in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

So I don’t get it, I have my entire boot image in a signed EFI binary, the logo is in there as well. I don’t think I’m susceptible to this, right? I don’t think systemd-boot or the kernel reads an unsigned logo file anywhere. (Using secure boot)

clmbmb,

This is way before reaching your bootloader. It’s about the manufacturer logo that’s displayed by UEFI while doing the whole hardware initialization.

kelvie,

That’s… Stored in the EFI partition or changeable in userspace?

clmbmb,

Depending on how the UEFI is configured, a simple copy/paste command, executed either by the malicious image or with physical access, is in many cases all that’s required to place the malicious image into what’s known as the ESP, short for EFI System Partition, a region of the hard drive that stores boot loaders, kernel images, and any device drivers, system utilities, or other data files needed before the main OS loads.

(from the article)

kelvie,

Right, I know EFI images are stored in the EFI partition, but with secure boot, only signed images can be executed, so they’d need to steal someone’s signing key to do this.

taladar, (edited ) in Does `cp -v` print out the file name when it starts copying it or when it's done?

Just use rsync -va (possibly with --chown if you want user/group to be different at the destination and with --delete if you want removed files to be deleted) to continue the copy operation, it automatically takes care of figuring out which files still need to be copied and which are already there.

SpaceCadet, (edited )
@SpaceCadet@feddit.nl avatar

Just use rsync -va

NO STOP!

The default quick check algorithm of rsync is not safe for this. It only checks filesize and modification time to determine if files are equal. After a b0rked copy, these are not to be trusted.

You should add the -c flag so that files are properly checksummed, unfortunately if you have slow storage on either end, this often negates the speed advantage of rsync.

For example, consider this example:


<span style="color:#323232;">mkdir source
</span><span style="color:#323232;">mkdir destination
</span><span style="color:#323232;">echo "hello" > source/file.txt
</span><span style="color:#323232;">echo "world" > destination/file.txt
</span><span style="color:#323232;">touch -r source/file.txt destination/file.txt
</span><span style="color:#323232;">rsync -avh source/ destination/
</span><span style="color:#323232;">cat source/file.txt
</span><span style="color:#323232;">cat destination/file.txt
</span>

Contrary to what you might expect, the rsync command copies nothing and the output at the end will show:


<span style="color:#323232;">hello
</span><span style="color:#323232;">world
</span>

If you change the rsync command in the example above to rsync -c -avh source/ destination/, it will work as expected.

damium,

My memory of the cp command is that attributes such as file times were transferred at the last step. I think this would make rsync safe in most situations where a system crash wasn’t involved.

taladar,

True if the initial state is unknown but if you do your initial copy and all the later syncs with rsync it is not really necessary since rsync puts the partial files in a temporary location (there are same parameters to control the details of that too).

tetris11,
@tetris11@lemmy.ml avatar

rsync -avP

s38b35M5,
@s38b35M5@lemmy.world avatar

rsync even supports Alien vs Predator? What doesn’t rsync do???

luthis,

All hail the rsync!

We thank the rsync for it’s unwavering reliability.

Amen.

HiddenLayer5,
@HiddenLayer5@lemmy.ml avatar

Thank you!

TechAdmin, (edited ) in Hardware video acceleration

Quick way to check if a program is using hardware video acceleration is with a gpu top utility.

Intel - intel_gpu_top

Nvidia - nvidia-smi / nvtop

AMD - radeontop / nvtop / amdgpu_top (just did quick search, don’t have any AMD powered on to verify)

NeoNachtwaechter, in systemd 255 Released With A "Blue Screen of Death" For Linux Systems

Is it April 1st already?

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