- 1 Post
- 8 Comments
gnuhaut@lemmy.mlto Linux@lemmy.ml•Debian 13 burning 10W playing 4K YouTube video on a Framework with max brightness 🫨0·6 days agoThere’s a browser extension called “Your Codecs.” which can prevent YouTube from serving you AV1-encoded videos.
It’s like the old Debian but with newer software.
I guess the wayland stuff works ok now. That wasn’t quite ready for the mainstream in the last release.
dist-upgrade is a lot faster and easier, and is usually well tested
I recommend anyone to do a backup (I haven’t always and it bit me). However, if you create separate /home partition you can keep that between re-installs, even re-installs of different distros. And you can also share the same home partition between multiple OSs you might have installed at the same time.
Sharing /home between distros can cause issues though: If one distro’s $SOFTWARE is newer that the other distro’s, they will still share the same dotfile configuration, and while most software is designed to deal with older configuration/database/etc files, older software many times cannot deal with newer files.
gnuhaut@lemmy.mlto Linux@lemmy.ml•What are all the files/folders that will be in the filesystem after initrd?0·20 days agoman switch_root
switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new root filesystem and starts init process.
WARNING: switch_root removes recursively all files and directories on the current root filesystem.
If you look at the source code, it uses
mount(2)
with the MS_MOVE flag to move the /proc, /dev, /sys, /run to the new root, then deletes all the files on the old root fs recursively, then MS_MOVE-mounts the new root over the old one. As the comment in the source code points out:/* Don’t try to unmount the old “/”, there’s no way to do it. */
This is presumably why it deletes the files on the initrd, because it is a ram disk and the files would be eating up memory if left there.
gnuhaut@lemmy.mlto Linux@lemmy.ml•GNU Taler (a swiss FLOSS alternative to Visa, Mastercard and Paypal) begins operating in Switzerland as Version 1.0 releases0·3 months agoI looked at this a looong time ago, but the basic idea is that the tokens (equivalent to cash coins/banknotes) are generated on the end user’s device, through some public-key cryptographic back-and-forth protocol. The issuer (bank/central bank/payment provider) does not see these tokens (they’re only on the end users device), but can verify that they’re legit (i.e. issued by them) somehow.
You can take one of these tokens to them, and deposit it in an account. They won’t know who it’s from but they know it was legitimately issued by them. Depositing a token is also supposed to be the only way of figuring out if it is a legit token, the bank will not tell you if a token is legit unless you deposit it.
When someone pays with these tokens in a shop, the shop will want to immediately (during checkout) deposit them, to make sure they’re legit, and also to make sure the token hasn’t been double spent. A shop that doesn’t do that makes itself vulnerable to fraud. This means shops will have a hard time hiding their revenue (to dodge taxes) compared to cash.
If someone you trust gives you a token (birthday money from your grandma, say), you don’t have to immediately deposit said token, since presumably you trust your grandma to not give you fake or double-spent tokens. Since you trust you grandma, there is no need to deposit the token and involve the bank, and that transfer would be untraceable (it’s literally just copying a number from her phone to yours).
The idea is that shop owners would have a hard time dodging taxes without opening themselves up to fraudsters using fake tokens, while the customer cannot be identified. You’d also be able to exchange tokens with family and friends in a way that isn’t traceable, as long as you trust them to not screw you over.
I have never used the Steam beta or Proton-GE or whatever information is spreading out there to noobs about what they should do, and I’ve been gaming exclusively on Linux for more than 20 years. Only do this beta or bleeding edge stuff if you have a problem, and a good reason to believe that will help (like people reporting your specific issue is fixed in beta). Or I guess if you’re bored out of your mind. And expect other issues since it’s fucking beta.
The official manuals are fine and translated into many languages. But yeah the wiki isn’t great.