E-ink tablet for note and reading
I want to use it for note taking and reading pdf..
like this
like this
Say you are dual-booting Debian and Arch and want to upgrade Debian oldstable to Debian stable. But you want to keep the old installation available as a fall-back option. And you also want to re-use your configuration files and dot files, but in a way that incompatible changes to your dot files in the new Debian or Arch version do never break the old program versions.
How do you do that ?
(I describe my own approach in a comment below.)
Since both Debian and Arch aren't atomic distros or offer rollback... The way I do it is connect my large external USB harddisk, do a backup and then upgrade. If there's something wrong, I restore the backup, but in reality I was always able to resolve issues with the updates.
On my server I do LVM snapshots, that's fairly easy to do. I avoid BTRFS since that messed up one of my filesystems a few years ago, but I heard it got better since and it's not supposed to do that any more.
"Wayback is an X11 compatibility layer that allows for running full X11-only desktop environments using Wayland. It is essentially an X11 server backed by Wayland, leveraging wlroots and Xwayland. Our goal is for Wayback to eventually be a completely drop-in replacement to the Xorg binary, thus reducing maintenance burden for distro maintainers."
Announced just once month ago was Wayback as an X11 compatibility layer build atop Wayland componentswww.phoronix.com
like this
ForkServer is the Firefox's new Linux feature that eliminates annoying forced restarts after updates. Better performance and low memory use.sk (OSTechNix)
debian 12.11
system memory size: 31GiB, 2 15.5 GiB cards
cpu: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, version: 6.142.9, size: 3268MHz, capacity: 3500MHz, width: 64 bits
no graphics card whatsoever
computer can play h.265 and equivalent without troubles, provided video file is no higher than 1080 p.
Computer can play av1 files no higher than 1080 p only if I shut every other application down. If for example I run a browser and an av1 file with either mpv or vlc, system shuts down.
Can I put all that memory to use and avoid overloading the cpu?
like this
As others have said, you should probably replace your CPU fan ASAP.
A computer in usable condition does not shut down without user input.
I had an i5-7200u equipped laptop and I could do AV1 playback, not well but it didn't do what you described.
Also is it maxing out memory or cpu? I would check btop during playback. Look at CPU usage, memory usage and temps while doing so and report here.
Edit: Something is definitely wrong with your machine, that is abnormal behavior. Maybe it's overheating, maybe it's trying to do some sort of gpu decode and has no idea what to do with it as it doesn't support it. Can you check what encoder mpv is using? I would assume it would failback to CPU.
Riot's spin-off fighting game with the terrible name 2XKO (formerly Project L) is getting a closed beta in a few months.Brendan Caldwell (Rock Paper Shotgun)
hey guys
which apps would be must have for you for a trip abroad
also general apps recommendations are fine
hopefully here is fine i didnt see any rule against it if its not okay remove the post
Easy map navigation - Discover more of your journey - Powered by the communityf-droid.org
In bash, if you put:
ls /Users/*/.ssh/id_rsa 2>&1 > rsa-keys.log
...you're redirecting stderr to the stdout's destination while stdout is still sending output to the screen. So any permission errors encountered will go to the screen, not to rsa-keys.log.
From the bash manpage:
==================
Note that the order of redirections is significant. For example, the command
ls > dirlist 2>&1
ls 2>&1 > dirlist
==================
Commands given to the shell are evaluated and processed in a specific order and fashion, and this is one quirk of that that many people are unaware of.
like this
According to a motion the Electronic Frontier Foundation filed in Sacramento Superior Court last week, Nguyen and Decker are only two of more than 33,000 Sacramento-area people who have been flagged to the sheriff’s department by the Sacramento Municipal Utility District, the electricity provider for the region. SMUD called the customers out for using what it and department investigators said were suspiciously high amounts of electricity indicative of illegal cannabis farming.
EFF says the “mass surveillance scheme” violates constitutional protections.Dan Goodin (Ars Technica)
The openSUSE Project is part of a growing coalition of open-source advocates urging Microsoft users to install a Linux operating system as Microsoft prepares to end support for Windows 10 this October, and urgency to get that message out is building.Some in the IT industry are suggesting that as many as 50 percent of the devices remain using Windows 10, which comes at great risk to users and businesses.
Those who remain on Windows 10 and don’t upgrade to an operating system providing security and maintenance updates like a Linux OS or Window 11 will be susceptible to vulnerabilities, malware infections, software incompatibilities, and an increasing amount of system instability and failures over time.
The End of 10 campaign and its initiative aims to promote migration-focused type events to help these users shift from Windows 10 to Linux-based operating systems.
The amount of PCs that will become unprotected on October 14 is unprecedented, and getting people to migrate to Linux operating systems like openSUSE’s is reaching a critical juncture as millions face the looming deadline this Fall.
October 14 is just 12 weeks away and the end-of-support deadline for Windows 10 will expose those who have not migrated to increasing cyber threats.
In additions to the the threats, a big part of the End of 10 movement emphasizes environmental responsibility, digital sustainability and long-term cost savings for those with aging computers that could potentially end up recycled or in landfill.
End of 10 advocates and supporting organizations like NextCloud, REPAIR CAFE, KDE, GNOME, FSFE, EU OS and several other organizations would prefer users find a Linux solution for their older hardware rather than have this event create an environmental disaster. Installing Linux on these old systems can breathe new life into perfectly functional machines that may otherwise be discarded.
Several open-source software projects and organizations and been collaborating for more than a year to create unified resources, tutorials, migration tools and support channels to help lower the barrier to entry for those who seek to install a Linux new operating system.
Members of the openSUSE community and others have been vocal about appealing to Windows 10 users that can’t upgrade their devices to Windows 11.
For those ready to act, the campaign website has resources available and links to community events to help people install Linux.
Anyone who wants to install an openSUSE distribution can follow this A Step-by-Step Guide.
The message to Windows 10 users is clear; don’t replace your computer; reimagine it!
Install Linux Before It’s Too Late The openSUSE Project is part of a growing coalition of open-source advocates urging Microsoft users to install a Linux ope...openSUSE News
like this
The Fedora project is seeking feedback from its user and developer community over potentially updating its release criteria to no longer block on optical media boot issues (DVD images) as well as whether to continue honoring dual boot issues for Inte…www.phoronix.com
like this
like this
Besides the corrections others have said, I really can’t think of any reason people would intentionally use legacy BIOS on a machine with UEFI for a new install.
Like, I could get doing it for an old install - I know someone who installed Windows 7 in 2015 on their then-new desktop build and later upgraded to 10 but is stuck on legacy BIOS for now with that machine because 7 only ran on that.
I could see something similarly jank happening to someone in the Linux world and then decide not to address it for “if it ain’t broke, don’t fix it reasons”, but certainly not for no reason.
Question for you all.
I was working on a bash script and working out some logic for command chaining and grouping for executing different functions in my script based on the return status of other functions.
I know you can group commands with ()
, which spawns a subshell, and within the grouping you can chain with ;
, &&
, and ||
.
I also know that you can group commands with {}
, but, within the curly braces you can only separate commands with ;
.
EDIT: the above statement of the curly braces only allowing ;
is incorrect. I misunderstood what I had read. @SheeEttin@lemmy.zip pointed out my mistake.
The requirement is that the list of commands in the curly braces needs to be terminated with a semicolon or a newline character, and in the script, I unknowingly was meeting the rules by using the newlines to make the code easier to read for myself.
END EDIT:
In the script, for readability I did group the commands across lines kind of like a function.
The script is pretty simple. I created a few functions with echo commands to test the logic. the script asks for input of foo or bar. The first function has an if
, and if the input is foo, it executes. If it's bar it returns 1.
The return of 1 triggers the or (||
) and executes the second command group.
The idea was, if the user inputs foo
, the first group triggers printing foo baz
to stdout. If the user inputs bar
, the foo
function returns 1, the baz function does not execute, the or is triggered, and bar but
is printed to stdout
Here's the script (which executes as described):
Can anyone explain why I'm able to group with curly braces and still use &&
inside them?
(Also, the reason I want to use the curly braces is I don't want to spawn a subshell. I want variable persistence in the current shell)
\#! /usr/bin/bash
# BEGIN FUNCTIONS #
foo () {
if [[ "${input}" = foo ]]; then
echo "foo"
return 0
else
return 1
fi
}
bar () {
echo "bar"
}
baz () {
echo "baz"
}
but () {
echo "but"
}
# END FUNCTIONS #
read -p "foo or bar? " input
{
foo &&
baz
} ||
{
bar &&
but
}
gnu.org/software/bash/manual/b…
I don't see any mention of only being allowed to use a semicolon. I don't have a test system handy unfortunately.
Ideally you'd simplify or separate your logic so that you're not relying so much on bash. If you need complex logic, I'd use another language, depending on what's available in your environment.
Ah! I misinterpreted what I read! I found that exact same reference link when looking into this and I misinterpreted this:
The semicolon (or newline) following list
is required
to mean that it required the semicolon as the command separator. That explains why my script works. The newline closes each group, and the other operators are allowed, the list just needs to be closed. Thank you!
My environment is just my homelab. Ubuntu server on my server, Arch (btw) on my laptop. So I could go with any language , but right now I'm choosing Bash. I know stuff I'm doing would probably be easier in a different language, and maybe I'm a glutton for punishment. I just want to get really good with Bash.
The logic is Bash is gonna be available on just about any computing environment I encounter (linux especially, but even Windows with WSL and zsh on macOS (which I know is different, but still very similar). But really, I am just enjoying the hell out of learning and scripting with Bash. I'll move on to Python or something someday.
Fifteen Palestinians died from malnutrition under an Israeli-imposed famine in the Gaza Strip in the past 24 hours, the Palestinian health ministry said on Tuesday.
Four of them were children, including three identified as the infant Yousef al-Safadi, Abd al-Jawad al-Ghalban, 16, and Ahmad Hasanat.
inian health ministry.
Fifteen Palestinians died from malnutrition under an Israeli-imposed famine in the Gaza Strip in the past 24 hours, the Palestinian health ministry said on Tuesday.Ahmed Aziz (Middle East Eye)
debian 12.11, yt-dlp stable@2025.07.21
aim: to download the best video available with the largest height but no better than 1080p, excluding av1 as well.
What works:
yt-dlp -f bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] -S height:1080 --all-subs
but this command downloads, if possible, av1, which target hardware doesn't support for longer than 5 minutes.
Argument I don't know to add correctly:
[vcodec!*=av01]
I tried:
yt-dlp -f bv[ext=mp4]+ba[ext=m4a]/b[ext=mp4][vcodec!=av01] -S height:1080 --all-subs
and other variations, but it didn't work.
second question, aborting an active download not shutting the terminal down: neither ctrl+c nor ctrl+q work and opening htop to kill the process seems overkill. What I now do is to simply shut the active tab, but there must be a faster way.
like this
second question, aborting an active download not shutting the terminal down: neither ctrl+z nor ctrl+q work and opening htop to kill the process seems overkill. What I now do is to simply shut the active tab, but there must be a faster way.
Ctrl+C.
neither ctrl+z nor ctrl+q work
Ctrl + z
will send the task to the background. You can use jobs
to see all active background work. Fg
will bring background work to the foreground. Ctrl + q
is not a valid shortcut as far as I know. Looks a bit like a mac thing (command + q).
thank you for pointing that out, corrected.
what happens on my computer: on a terminal, I press ctrl+c but the process keeps working, yt-dlp keeps downloading. As said, the only way to stop it is to shut the tab down (or htop and kill)
Tinkering with yt-dlp -F
I know av1 is even better than h.265, h.265 being better than h.264
However, I don’t know where to put vpP09, vp9 and avc1
Audio formats: what’s better? m4a or webm?
like this
One aspect of Guix I found to be really fascinating: That there is basically no conceptual difference between defining a package as a private build script, and using a package as part of the system.
Let me explain: Say you wrote a little program in Python which uses a C library (or a Rust library with C ABI) which is in the distribution. Then, in Guix you would put that librarie's name and needed version into a manifest.scm
file which lists your dependency, and makes it available if you run guix shell
in that folder. It does not matter whether you run the full Guix System, or just use Guix as s package manager.
Now, if you want to install your little python program as part of your system, you'll write an install script or package definition, which is nothing else than a litle piece of Scheme code which contains the name of your program, your dependency, and the information needed to call python's build tool.
The point I am making is now that the only thing which is different between your local package and a distributed package in Guix is that distributed packages are package definitions hosted in public git repos, called 'channels'. So, if you put your package's source into a github or codeberg repo, and the package definition into another repo, you now have published a package which is a part of Guix (in your own channel). Anybody who wants to install and run your package just needs your channel's URL and the packages name. It is a fully decentral system.
In short, in Guix you have built-in something like Arch's AUR, just in a much more elegant and clean manner - and in a fully decentralized way.
like this
I had a go at using guix as a package manager on top of an existing distro (first an immutable fedora, which went terribly, then OpenSUSE). Gave up for a few reasons:
guix pull
is sloow.All in all I love the idea of guix, but I think it needs a bigger community behind it. Of course I'm part of the problem by walking away, but 🤷
- As mentioned in the article,
guix pull
is sloow.
This one has beem discussed on several forums discussing the original blog post, like here or also here on lobste.rs
Part of the reason for slow pulls is that the GNU projects savannah server, which Guix was using so far, is not fast, especially with git repos. Luckily, this is already being improved because Guix is moving to codeberg.org, a FOSS nonprofit org which is hosted in Europe. So if one changes the configured server URL, it is faster. (On top of that interested people might use the opportunity to directly take influence, and donate to codeberg so that they can afford even better hardware 😉).
Motivation Opportunity is upon us! For the past few years, the desktop Linux user base has been growing at a historically high rate. StatCounter currently has us at 4.14% desktop OS market share...Michael Catanzaro (Michael Catanzaro's Blog)
like this
like this
I think, because of Fedoras atomic desktops. I didn't use any of them yet, but it seems like Flatpaks should be used there, since one should (or can?) not install tradional packages there. Therefore Fedora provides the flatpaks anyway and they can be used on the non atomic desktops as well.
Another reason is, that you might not be able to install the latest version of an application as rpm package if a required dependency in the repo is outdated. A Flatpak usually does not have the issue since a newer version would include the fitting runtime.
This said, I do think its not this big of an issue for fedora which is usually quite up to date. But if you run a distribution with LTS releases or something like Debian you will much more likely have older dependencies in your repositiry.
like this
atomic desktops
i guess it makes sense in that case, but i'm really not convinced flatpaks should be used as the default (or only, apparently) way to install every application in the system. flatpak's flexibility is great for the particular cases where you want to install newer versions of applications or if an application isn't available in the official repos somehow. besides that, just use distro packages
Another reason is, that you might not be able to install the latest version of an application as rpm package if a required dependency in the repo is outdated
doesn't flathub solve that already?
debian 12.11, yt-dlp stable@2025.06.30.
I used this argument: "-f bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]"
and it works: it downloads the best available video, audio and ffmpeg merges both in a single file. Automatically.
Except that the maximum resolution I need is 1920 x 1080 p. Best available video is oftentimes 4096 x 2160 p, too much for the target hardware.
Using -F to check different resolutions to then select one (like -f 299 or -f 148) is tiresome.
How do I do that? Ideally for whole playlists involving between 25 and 50 videos.
Taken from github.com/yt-dlp/yt-dlp. Replace 480 with 1080. Multiple options in the documentation to choose from.
Download the best video available with the largest height but no better than 480p, or the best video with the smallest resolution if there is no video under 480p
$ yt-dlp -S "height:480"
A feature-rich command-line audio/video downloader - yt-dlp/yt-dlpGitHub
The following numeric meta fields can be used with comparisons <, <=, >, >=, = (equals), != (not equals):filesize: The number of bytes, if known in advance
filesize_approx: An estimate for the number of bytes
width: Width of the video, if known
height: Height of the video, if known
aspect_ratio: Aspect ratio of the video, if known
So a height<=1080 should be it.
A feature-rich command-line audio/video downloader - yt-dlp/yt-dlpGitHub
[can't believe that it keeps getting worse, but it does]
Abdel Qader Sabbah and Sharif Abdel Kouddous
Jul 21, 2025
Over the past five days alone, more than 550 Palestinians have been killed in Gaza, according to ministry of health figures. The confirmed death toll since the beginning of the war crossed 59,000 on Monday in what is widely acknowledged to be a vast undercount. Over the past two months, more than 1,000 Palestinians have been killed as they are forced to seek aid in militarized zones in a system mostly overseen by the Gaza Humanitarian Foundation (GHF), a shadowy U.S.- and Israeli-backed group.One of the deadliest days for aid seekers came on Sunday, when over 70 people were killed, at least 67 of them in northern Gaza where Israeli troops opened fire on crowds trying to get food from a World Food Program convoy entering through the Zikim crossing.
“The tank came, surrounded us, and started shooting at us and we kept raising our hands,” Ibrahim Hamada, who was wounded in the leg, told Drop Site as he lay on a hospital gurney wincing in pain. “There were many martyrs, no one was able to retrieve them. I crawled on my stomach just to reach a car to take me to the hospital,” he said. “I went there to eat, because there was no food at home.”
A frontline report on a people forced to face death from starvation or being shot in a perilous quest to obtain meager rationsAbdel Qader Sabbah (Drop Site News)
cross-posted from: lemmy.ml/post/33477630
[can't believe that it keeps getting worse, but it does]Abdel Qader Sabbah and Sharif Abdel Kouddous
Jul 21, 2025
Over the past five days alone, more than 550 Palestinians have been killed in Gaza, according to ministry of health figures. The confirmed death toll since the beginning of the war crossed 59,000 on Monday in what is widely acknowledged to be a vast undercount. Over the past two months, more than 1,000 Palestinians have been killed as they are forced to seek aid in militarized zones in a system mostly overseen by the Gaza Humanitarian Foundation (GHF), a shadowy U.S.- and Israeli-backed group.One of the deadliest days for aid seekers came on Sunday, when over 70 people were killed, at least 67 of them in northern Gaza where Israeli troops opened fire on crowds trying to get food from a World Food Program convoy entering through the Zikim crossing.
“The tank came, surrounded us, and started shooting at us and we kept raising our hands,” Ibrahim Hamada, who was wounded in the leg, told Drop Site as he lay on a hospital gurney wincing in pain. “There were many martyrs, no one was able to retrieve them. I crawled on my stomach just to reach a car to take me to the hospital,” he said. “I went there to eat, because there was no food at home.”
A frontline report on a people forced to face death from starvation or being shot in a perilous quest to obtain meager rationsAbdel Qader Sabbah (Drop Site News)
The Gaza Freedom flotilla coalition is sailing its next ship to break the illegal Israeli blockade of Gaza.
The Handala departed for Gaza on Sunday from the Italian port of Gallipoli after stops in Augusta and Siracusa in Sicily. The journey to Gaza may take around 7 days.
Twenty-one persons from 10 countries are onboard the Handala, including seven U.S. citizens, representing the hundreds of millions of Americans who are strongly opposed to the U.S. complicity in the Israeli genocide of Palestinians in Gaza.
The following nationalities are represented on the Handala: U.S. 7, France 4, Australia 2, Italy 2, Spain 2, Norway 1, Morocco 1, Tunisia 1, U.K. 1; Israel -2 U.S. citizens have dual citizenship with Israel.
Twenty-one persons from 10 countries are onboard the Handala, including Americans strongly opposed to the U.S. complicity in the Israeli genocide of Palestinians in Gaza.Consortium News
[now let's see if they do something]
By SYLVIA HUI and JILL LAWLESS
Updated 1:05 PM EDT, July 21, 2025
LONDON (AP) — Twenty-five countries including #Britain, #France and a host of #European nations issued a joint statement on Monday that puts more pressure on #Israel, saying the war in #Gaza “must end now” and Israel must comply with international law.The foreign ministers of countries including #Australia, #Canada and #Japan said “the suffering of civilians in Gaza has reached new depths.” They condemned “the drip feeding of aid and the inhumane killing of civilians, including children, seeking to meet their most basic needs of water and food.”
The statement described as “horrifying” the deaths of over 800 #Palestinians who were seeking aid...
https://apnews.com/article/europe-israel-hamas-war-gaza-e4062cffa9585790061105236a93d8e5/
cross-posted from: lemmy.ml/post/33476377
[now let's see if they do something]By SYLVIA HUI and JILL LAWLESS
Updated 1:05 PM EDT, July 21, 2025
LONDON (AP) — Twenty-five countries including #Britain, #France and a host of #European nations issued a joint statement on Monday that puts more pressure on #Israel, saying the war in #Gaza “must end now” and Israel must comply with international law.The foreign ministers of countries including #Australia, #Canada and #Japan said “the suffering of civilians in Gaza has reached new depths.” They condemned “the drip feeding of aid and the inhumane killing of civilians, including children, seeking to meet their most basic needs of water and food.”
The statement described as “horrifying” the deaths of over 800 #Palestinians who were seeking aid...
https://apnews.com/article/europe-israel-hamas-war-gaza-e4062cffa9585790061105236a93d8e5/
India has one of the highest rates of (desktop) Linux usages in the world - hovering around 10% according to StatCounter. Why is this? One reason is concerns over software controlled by foreign countries - particularly the US and China. But another is cost.
The first major boost for Linux and other free software in India came in 2006, when VS Achuthanandan - who passed away today - was elected Chief Minister of the state of Kerala. His government came up with a policy to shift all government computers to free software, starting with schools and colleges.
When the financial benefits became apparent, other states and the Union government followed suit.
V.S. Achuthanandan death LIVE: Follow LIVE updates as condolences pour in for former Kerala CMThe Hindu Bureau (The Hindu)
The United States Federal Reserve should be examined as an institution to see if it operates successfully, US Secretary of the Treasury Scott Bessent said on Monday.Sputnik International
Chromium adds Wayland color-management-v1 support, allowing HDR rendering on supported platforms with a default-enabled feature flag.Bobby Borisov (Linuxiac)
like this
This is the first release where RISC-V 64-bit is officially supported by Debian Linux albeit with limited board support and the Debian RISC-V build process is handicapped by slow hardware.
With the Debian 13.0 release planned for 9 August, one of the notable fundamental features with this Debian 'Trixie' release is now supporting RISC-V as an official CPU architecturewww.phoronix.com
like this
Biohybrid machine ushers new era of robotics, scientists say
I hate how capcut has gotten to. Ive tried davcihi resolve but i find it isint as easy as capcut. I want to try a open source video editor for my linux mint laptop that is really free and so easy even a child could learn it.
Im up for suggestions or a change of my mindset.
I you want open-source then your best choice is either Shotcut or Kdenlive.
Shotcut is one of the simplest editor I've ever used...but only if you have simple edits to do, the more you wanna do something less simple the worst it gets.
Kdenlive on the other hand is fine to use in most use cases, but can be a bit tricky to understand at first.
So I always suggest Shotctut if you're sure you won't do crazy edits, Kdenlive otherwise, or to just use both if you are unsure.
https://www.tiktok.com/t/ZTHgc5LsX58Ys-YysMi/ Why do people fear socialism, but not fascism? Why does the idea of workers owning the means of production scare millions, while police states, corpora...TankieTube
My first hurdle is understanding that i need to add a boot sequence and navigate to the EFI file in my mounted pen drive.
second hurdle is understanding i need to disable secure boot so that the dell bios doesnt think something is wrong and always run the bios repair program.
third is understanding that i need to disable Intel rapid storage for the full install (luckily linux mint tells us this)
and honestly the hardest thing was installing fastfetch cuz theres a lot of outdated information out there on how to install it on Mint.
the process took about 4 hours, i consider it very lucky that i was able to do it so fast.
resources that helped me:
devicetests.com/boot-usb-uefi-…
Learn the workaround to boot from USB in UEFI mode on Dell Inspiron laptops with our step-by-step guide. Get your device up and running in no time.Brent Cohen (DeviceTests)
like this
Hello, i have problem because i can't make it work for like a week.
I tried a lot of different configurations and every time i try refind with encryption when refind starts there is no menu entry for encryptred disk, but with no encryption everything works fine. I looked a lot on arch wiki, some install scripts on github and i do what they do and it doesn't work. Maybe anyone could help?
Script i actually use:
execute_refind() {
BLKID1=$(blkid -s UUID -o value $ROOT)
BLKID2=$(blkid -s UUID -o value $CRYPT)
refind-install --usedefault "$ESP" --alldrivers
touch /boot/refind_linux.conf
if [ "$ENCRYPTION" == "yes" ] && [ "$FILESYSTEM" == "btrfs" ]
then
cat >> /boot/refind_linux.conf << EOF
"Boot with minimal options" "rd.luks.name=$BLKID2=artix root=UUID=$BLKID2 rootfstype=$FILESYSTEM rw add_efi_memmap quiet $NVIDIA_MODESET"
EOF
fi
if [ "$ENCRYPTION" == "no" ] && [ "$FILESYSTEM" == "btrfs" ]
then
cat >> /boot/refind_linux.conf << EOF
"Boot with minimal options" "rootflags=subvol=/@ root=UUID=$BLKID1 rw add_efi_memmap rootfstype=$FILESYSTEM initrd=@\boot\booster-$KERNEL.img quiet $NVIDIA_MODESET"
EOF
fi
if [ "$ENCRYPTION" == "yes" ] && [ "$FILESYSTEM" != "btrfs" ]
then
cat >> /boot/refind_linux.conf << EOF
"Boot with minimal options" "rd.luks.name=$BLKID2=artix root=UUID=$BLKID2 rootfstype=$FILESYSTEM rw add_efi_memmap quiet $NVIDIA_MODESET"
EOF
fi
if [ "$ENCRYPTION" == "no" ] && [ "$FILESYSTEM" != "btrfs" ]
then
cat >> /boot/refind_linux.conf << EOF
"Boot with minimal options" "root=UUID=$BLKID1 rw add_efi_memmap rootfstype=$FILESYSTEM quiet $NVIDIA_MODESET"
EOF
fi
execute_modules
}
like this
Linux users who have Secure Boot enabled on their systems knowingly or unknowingly rely on a ke [...]LWN.net
There is even a whole section in Wikipedia on issues and criticism with secure boot:
en.m.wikipedia.org/wiki/UEFI#S…
Some people argue that one can work around such locking down of PC hardware. Do this or that to avoid issues with substantial tinkering.
But that is not a bug but a feature. Sure, as a technical Linux user you can work around some nastiness. Like working around privacy invasion on Facebook or Linkedin by "adjusting" settings, or "adjust" settings in Wimdows to make it more private and so on. The thing is: working against the platform becomes quickly a losing game, because you don't control the platform - Microsoft does. And it does not help you if you manage to re-gain control of your device after some hours of tinkering if 99.9% of people around you don't have the knowledge and time and store your data, photos, Emails on OneDrive and so on. Freedom is very much a collective thing and software freedom is no exception.
And this does not mean that the thinkering and hacking is in vain - but it is not enough. We need the practical right to control our devices.
In west Texas, storm chaser Laura Rowe captured the picture of a lifetime last night (May 17, 2021), with this fantastic shot of a mature supercell thunderstorm, illuminated at varying heights from the setting sun. By Timothy Jordan
#potd #potd2025 #pictureoftheday #nature #photography #thunder #naturephotography #weather #thunderstorm #notMyImage #TimothyJordan
I was wondering, is there any reason why I should buy the Steam Deck abroad in France instead of in my home of Canada?
So I (Canadian) am surprising my friend (from France) with a Steam Deck in October when I go visit them. It will just be the cheaper LCD version, since they won’t care about (or notice) the difference in quality.
Aside from buying adapters for the plug, I literally can’t think of a reason why I should buy it directly in Europe as opposed to getting it in Canada. It would be a lot easier since I can have it delivered to my address, don’t need a specific day and time for it to be delivered, don’t have to deal with any issues of ordering things in a foreign country (sometimes you need to have a local address to order and have things delivered, etc)
That said, I wanted to still check and see if there’s something I’m forgetting or just outright unaware of. I know there’s specific power requirements for the Steam Deck, but mine worked just fine with an adapter when I was last there in January.
So you have to pay taxes if you bring your phone with you ? (Since it is probably more expensive than 430€)
That a doesn't seem to be how it goes.
Technically, yes. And you would be able to ask for those taxes back upon returning to your home country (with the same phone). But since this would create huge queues at the airports, nobody actually enforces that.
However, travelling with e.g. 2 Steam Decks or with one in its original packaging raises suspicion and you could get stopped when going through the green portal at the airport.
Also, no mention of iOS 26’s new call screening feature - which asks unknown callers for their name and purpose of the call and displays this on the screen before your phone starts to ring. And, again, it’s all happening on-device.
I'm no fan of Android, but it's had this capability for years. This feels like Apple inventing the rectangle again.
After years of innovation and community collaboration, we’re ending support for Clear Linux OS. Effective immediately, Intel will no longer provide security patches, updates, or maintenance for Clear Linux OS, and the Clear Linux OS GitHub repository…Clear Linux OS Forum
like this
like this
Welcome to a new issue of This Week in Plasma! Every week we cover the highlights of what’s happening in the world of KDE Plasma and its associated apps like Discover, System Monitor, and more.This Week in Plasma: rounded bottom corners
Yes! Tired of updating KDE at times and the plug-in 'rounded-corners' doesn't work because Kwin is slow to update.
My question, does this also work on gtk apps?
I guess it doesnt detect a nonventoy (used impression) usb with the iso written to it either? A bit confused I dont mind limine but It not being able to boot from a recovery usb is a bit of an issue
NVM it did end up working off impressions and not ventoy? I think it ended up detecting my ssd which also has ventoy installed in the boot manager too, the name wasnt there before, odd
Like limine itself has no option for it, but bios wasnt showing one for my ssd or usb either, now it is after restarting a few times
Trump could drag a 14 year old by her hair into central park in broad daylight and fuck her brains out, to a sold-out audience and claim it as fake without any repercussions.
This is all just a waste of time.
On the 16th of July, at around 8pm UTC+2, a malicious AUR package was
uploaded to the AUR. Two other malicious packages were uploaded by the
same user a few hours later. These packages were installing a script
coming from the same GitHub repository that was identified as a Remote
Access Trojan (RAT).The affected malicious packages are:
- librewolf-fix-bin
- firefox-patch-bin
- zen-browser-patched-bin
The Arch Linux team addressed the issue as soon as they became aware of
the situation. As of today, 18th of July, at around 6pm UTC+2, the
offending packages have been deleted from the AUR.We strongly encourage users that may have installed one of these
packages to remove them from their system and to take the necessary
measures in order to ensure they were not compromised.
There are more packages with this malware found.
minecraft-cracked
ttf-ms-fonts-all
vesktop-bin-patched
ttf-all-ms-fonts
If you installed any of these packages, check your running processes for one named systemd-initd
(this is the RAT).
The suspicious packages have a patch from this now-inaccessible Codeberg repo:
codeberg.org/arch_lover3/brows…The Arch maintainers have been informed of all this already and are investigating.
like this
comm -1 -2 <(pacman -Q | awk '{print $1}' | sort) <(sort vulnerable_packages.txt)
vulnerable_packages.txt
containing one package name per line.
If you want to find a first-rate Minecraft launcher, we recommend downloading TLauncher – the best among its competitors!TLauncher
Coming about three weeks after DXVK 2.6.2, the DXVK 2.7 release adds support for the VK_EXT_descriptor_buffer Vulkan extension by default on newer AMD and NVIDIA GPUs to significantly reduce CPU overhead in games like Final Fantasy XIV, God of War, Metaphor: ReFantazio, Watch Dogs 2, and others.
DXVK 2.7 Vulkan-based implementation of D3D9, D3D10, and D3D11 for Linux / Wine is now available for download with various new features.Marius Nestor (9to5Linux)
Yet another open-source software company has turned its back on the principles that drive free software.Tom Parker (Reclaim the Net)
like this
Absolute nothingburger.
From F-Droid's statement (emphasis mine):
We respect Tusky’s decision to block mentioned website; it’s their right to introduce restrictions like these into their software. We also respect Fedilab’s decision not to hardcode a login block; instead they are actively working on making it easier to block certain domains in the app itself and thus giving users more power to moderate which content they’ll see. If people disagree with F-Droid’s decision not to flag Fedilab, a idea is to develop a decentralized tag system based on package IDs which allow third-party servers to share their own warnings with their community.
They're not blocking any fediverse apps that you can use to connect to any server.
Feel free to use any Lemmy or Mastodon client to connect to any hate-filled instances your hateful little heart desires. If you don't like that some apps have built-in blocklists, use different apps, or modify them. That's the beauty of open source.
Do what you want, just don't expect the rest of the world to amorally do it for you. This is perfectly in keeping with open-source philosophy.
like this
trixie (aka debian 13) is about to get released with plasma 6.3. it seems that finally x11 is being left behind, which is good, but it worried me a little bit because
x11 is still very well supported by plasma 6, but the near future has no place to it and i worry i would eventually get stuck without updates to my system as the newer versions lose x11 support. i decided to try wayland+nouveau again on trixie to see if i had better luck this time
it all worked way better than i expected. performance is seemingly on par with the proprietary driver, i've had no crashes so far and i've been using it for a week and even screensharing, one of the most problematic aspects of the experience last time i tried, worked well. the one problem i had was with the slack flatpak, which didn't support wayland for some reason, so it had to run on xwayland. screen sharing wayland applications from x11 apps is possible through the xwaylandvideobridge, which kinda works, but it crashed xwayland entirely at one point, killing both x11 applications i had running. i won't blame that on the system itself and installing the slack deb package fixed the problem anyway
all in all, it seems like i can safely switch to plasma 6+wayland+nouveau at work
like this
if i had an amd video card i would have moved to wayland ages ago. things on wayland are so much more polished than on x11
why does nvidia have to suck so much? i'm still salty about the eglstreams bullshit
I've got some great Linux swag from Ubuntu Korea, but I've been looking to buy new clothes lately and would love to rock more FOSS.
I see a couple websites that sell FOSS branded clothing, but does anyone have good experience buying high quality hats/tshirts/sweaters/active wear from any of these online retailers? Bonus points if the retailers donate proceeds to development
like this
There’s always cafepress. But none of the money goes to the places you’re wanting.
Looking for the ideal Linux Gifts? Come check out our giant selection of T-Shirts, Mugs, Tote Bags, Stickers and More. CafePress brings your passions to life with the perfect item for every occasion.CafePress
With 2 years of updates, full Vulkan support, and quality-of-life improvements, Blender 4.5 LTS is every Blenderhead’s best friend.blender.org
like this
LibreOffice 25.2.5 rolls out with over 60 bug fixes, addressing crashes and compatibility issues across Writer, Calc, Impress, and Base.Bobby Borisov (Linuxiac)
like this
Clickbaity title on the original article, but I think this is the most important point to consider from it:
After getting to 1% in approximately 2011, it took about a decade to double that to 2%. The jump from 2% to 3% took just over two years, and 3% to 4% took less than a year.Get the picture? The Linux desktop is growing, and it's growing fast.
It's not a typo. Linux's desktop share is growing, according to the US government's records.Steven Vaughan-Nichols (ZDNET)
like this
I am using a laptop, with a cheaper monitor that only has one hdmi input. I have two devices that I want to use on this monitor, My laptop and my xbox series, so I got an hdmi switcher.
The xbox handles switching to and from it's input without a hitch, but my laptop can takes up to a minute to recognize the switch and display to the monitor, sometimes not recognizing it at all.
I was thinking that having the laptop continue to output the display whether or not it recognizes the monitor as disconnected would help make switching between them more seamless. Is there a way to achieve this?
I am using KDE and I have the "Do Nothing" option selected under close lid in power options.
Add virtual monitors to your windows 10/11 device! Works with VR, OBS, Sunshine, and/or any desktop sharing software. - VirtualDrivers/Virtual-Display-DriverGitHub
debian 12.11, organic maps from flatpak.
My local organic maps started to download the whole world. Every single map it could find. I tried stopping it but the only way to achieve that is to turn the application off. On starting it again, it resumes downloading.
Why?
The android based version found on f-droid is easier to use. I wanted to use the desktop based one because I work from home more often than elsewhere.
like this
Are you positive it's all the maps or maybe just the world map overview?
Also sidenote, look at the fork of OrganicMaps called CoMaps
Are you positive it’s all the maps or maybe just the world map overview?
yes, I'm sure. It started downloading every.single.country.
look at the fork of OrganicMaps called CoMaps
what's the difference? because graphics and functions look exactly the same for both apps, except the project's icon. Am I missing something?
Unfortunately I don't know how yo help with your original question then.
CoMaps is a recent fork because Organic Maps shows signs of corporate takeover and going against the principals of FOSS
More details here
lwn.net/Articles/1024387/
The open-source mobile app Organic Maps is used by millions of people on both the Android and i [...]LWN.net
Linux has surpassed 5% desktop market share in the US (5.03% in June 2025), per StatCounter, driven by privacy concerns, rising costs of Windows/macOS, and user-friendly distros like Ubuntu.Ryan Gibson (WebProNews)
like this
Close Trump allies like Steve Bannon say "the president is pissed every time he looks at the BRICS dedollarization effort". The US fears the Global South challenge to the dollar's exorbitant privilegeBen Norton (Geopolitical Economy Report)
I have never been so lucky in my entire life
#photography#Alberta#landscape #rt #potd #potd2025 #pictureoftheday #nature #thunder #lightning #naturephotography #weather #thunderstorm #notMyImage #cloudsphotography
qr code is the squares code that, if used with a qr code scanner redirects me automatically to a website or to download a pkpass file, right?
after downloading said pkpass file to my android, any wallet application like fosswallet should recognize it and add it to the local library (on my android device), right?
what other formats do transportation authorities use?
To those residing in Germany, is pkpass use widespread there? What are common formats used there?
cross-posted from: lemmy.ml/post/33289366
obligatory I know this is not a linux question, but you provide good information and alternativesqr code is the squares code that, if used with a qr code scanner redirects me automatically to a website or to download a pkpass file, right?
after downloading said pkpass file to my android, any wallet application like fosswallet should recognize it and add it to the local library (on my android device), right?
what other formats do transportation authorities use?
To those residing in Germany, is pkpass use widespread there? What are common formats used there?
They are not at all the same thing.
A QR code is just a 2D barcode that can be used to hold a certain amount of alphanumeric data (and amount is limited by size).
While pkpass is an Apple format used in its wallet app to store data.
Aren't all barcodes 2D?
EDIT No wait, they're basically 1D aren't they? Nevermind!
Exactly. No matter the y dimension. Barcode data is only stored in x. Whereas QR uses x and y for data.
They also use the corner squares and a few specific dots to allow scanning from greater angles. Basically allowing the data to be read in 3d space. Even though only 2d is used to store that data.
This is why QR can work well with cameras. Whereas bar codes are designed for very short range laser reflection.
PS lots of info on QR online including open source programs to make your own.
The same goes for bar codes. But readers involve some very simple maker skills. Making simple barcode readers was a common school science project in the early 90s.
Your generic "barcode" for something like a UPC is considered a 1D barcode and uses things like the spacing of the lines and thickness to encode data. Although some 1D barcodes can detect the barcode is damaged they cannot do error recovery.
Your 2D barcodes, like QR or Data Matrix, store data in both directions and depending on format can have varying levels of error correction (duplicate data) built into the barcode. They also obviously can take up less room and hold the same or more data as well. You do need a scanner that can do 2D barcodes though, as not all scanners will read them.
Canonical announced today that they teamed up with ESWIN Computing to ship Ubuntu Linux as the preferred operating system on their ESWIN Computing EBC77 Series single board computerwww.phoronix.com
cross-posted from: lemmy.ml/post/33275115
According to my statistics that I look at, my second largest group are those who are on some Linux distribution (it just shows up as "Linux" there for me). Why did I write this? Because this group of people indirectly start their system through something called initramfs. Let's take a look at what it is and how to use it to our advantage.Use the translator in the sidebar to translate the page.
This isn’t the first time I’ve blogged about the dearth of truly great PC laptops out there, and I suspect it won’t be the last.
This is a bit of a rant; feel free to skip it if you’re here for the KDE content. This isn’t the first time I’ve blogged about the dearth of truly great PC laptops out there, and …Adventures in Linux and KDE
like this
Well I say it's no wonder people gravitate towards it but I don't actually like it myself.
It sucks that they make it basically impossible to upgrade snything. And that there storage and RAM upgrades cost several times more than they should.
I have a Macbool air (not by choice) and I installed asahi linux a couple of weeks ago. Main take away is that it's really good except for software support. I've had a bit of trouble finding programs that work well on arm even open source projects often don't compile there programs to work on arm.
Here is a quick series of frequently asked questions about the X11 session kissing us goodbye. Shoutout to Nate from which I copied the format of the post. Is Xorg unmaintained and abandoned? No,...Jordan Petridis (Rust in Peace)
Is Wayland Gay?Yes and Xorg is Trans.
Picture of the libxtrans gitlab repository with a Trans flag as the project banner.
Happy Pride month and Free Palestine ✊
Very nice
Hello there! Here's the thing: I got some old HDD for my Debian home server, and now that I have plenty of disk space I want to keep a backup of the OS, so that if something accidentally breaks (either SW or HW) I can quickly fix it.
now the question is: which directory should I include and which should I exclude from the backup? I use docker a lot, is there any docker-specific directory that I should back up?
like this
It is a question I've spent a lot of time trying to work out. Can't speak to docker.
Some of the specifics of Keeps and Dontkeeps depend on details of your system. You have to find out where the distro, DM and other apps keep the following:
Dontkeeps:
- trashes
- temp files
- file indexes .. IMHO these dont backup properly if you leave them in and will prevent you from completing the task
- device files
Keeps:
- list of installed packages --- explicit and deps separate if possible
- config files: /etc, ~/.config, ~/.* on a case by case basis... I say remove the obvious large temp dirs and keep the rest by default for simplicity
- for the system configs I've had a tool called etckeeper running for a while because it was highly recommended but I've never actually restored from it...
- personal documents and other files such as typically kept in the home directory
- /root occasionally has something you need
Ways to investigate:
- use a disk usage utility to find out where your storage is being used up ... It'll help you find large Dontkeeps
- watch for recently modified files
- dirs and files that are modified all the time are usually temp dirs. But sometimes they have something useful like your firefox profile.
Most backup solutions are ONE of the following:
Don't spend too much time crying about needing two solutions. Just make your backup today and reach perfection later.
Remember: sync isn't backup. Test your backup if you can (but its not as easy as it sounds). Off site your most precious files.
I think most options have been covered here, but I'd like to consider some other bits...
User accounts & file permissions:- if you have >1 account, note that the UserID is internally numbered (starting from 1000, so Bob=1000, Sue=1001) and your file system is probably setup using the numerical UserID... so re-creating the users in a different order would give Sue access to Bob's files and vice versa.
Similarly, backing up /etc /var etc... you should check if any applications (ie databases) need specific chmod and chown settings
Rsync, tar, etc can cover some of this, you just need to check you rebuild users in the correct order.
Maybe Ansible is another approach? So your disaster recovery would be:
1. Install plain OS on new drive
2. Get Ansible access to it (ie basic netwroking)
3. Rebuild OS and instsll applicstions automatically with Ansible
4. Restore application & home folders (again with Ansible)
When you get this working, it's amazing to watch an entire system being rebuilt
I now reside in Germany and my current employer pays 50% of this so called Deutschland-Job-Ticket. There is no physical card but travel information you download to an android wallet, but apparently google wallet is the only available option. See the picture:
Google is a company I don’t trust with my data, neither do I expect your regular public transportation authority employee to care about his privacy (he looked at me as I was asking if 2 + 2 equal 4). I am not aware of non google based wallets where I can download the travel information.
I tried some f-droid and droidify options but it turns out they’re pure crap.
The site: abo.ride-ticketing.de/app/ I log in with my username and password, get my travel information and on the bottom the picture I uploaded.
Any workarounds?
This being Germany, shouldn’t there be an alternative to those who refuse google? Don’t I have that right as a consumer?
Another question: I screenshot my logged in session on the link I provided where you see my qr code and my billing data. The public transportation employee told me that’s not allowed (wtf?). Can anyone here provide a rationale?
cross-posted from: lemmy.ml/post/33213275
I know android is minimally related to linux and the question doesn't resemble a typical question for a linux forum but each time I've asked here you've provided valuable information:I now reside in Germany and my current employer pays 50% of this so called Deutschland-Job-Ticket. There is no physical card but travel information you download to an android wallet, but apparently google wallet is the only available option. See the picture:
Google is a company I don’t trust with my data, neither do I expect your regular public transportation authority employee to care about his privacy (he looked at me as I was asking if 2 + 2 equal 4). I am not aware of non google based wallets where I can download the travel information.
I tried some f-droid and droidify options but it turns out they’re pure crap.
The site: abo.ride-ticketing.de/app/ I log in with my username and password, get my travel information and on the bottom the picture I uploaded.
Any workarounds?
This being Germany, shouldn’t there be an alternative to those who refuse google? Don’t I have that right as a consumer?
Another question: I screenshot my logged in session on the link I provided where you see my qr code and my billing data. The public transportation employee told me that’s not allowed (wtf?). Can anyone here provide a rationale?
I'm using fWallet for Eurostar, plane tickets, etc anything with PkPass. Very minimalist, just does the job.
A beautiful cross-platform wallet application for your transport tickets, discouf-droid.org
By Mera Aladam
Published date: 14 July 2025 11:50 BST | Last update:~08:00 EDT
According to the UN agency for #Palestinian refugees (UNRWA), "truckloads of food and medical supplies are waiting in warehouses" outside #Gaza."Stop the starvation. Lift the siege. Let the #UN, including #UNRWA, do its lifesaving work," they said in a post on X.
Israeli forces killed more than 130 Palestinians in Gaza in a single day, including several children who were attempting to collect water for their hungry families in the besieged enclave.Mera Aladam (Middle East Eye)
cross-posted from: lemmy.ml/post/33173703
By Mera Aladam
Published date: 14 July 2025 11:50 BST | Last update:~08:00 EDT
According to the UN agency for #Palestinian refugees (UNRWA), "truckloads of food and medical supplies are waiting in warehouses" outside #Gaza."Stop the starvation. Lift the siege. Let the #UN, including #UNRWA, do its lifesaving work," they said in a post on X.
Israeli forces killed more than 130 Palestinians in Gaza in a single day, including several children who were attempting to collect water for their hungry families in the besieged enclave.Mera Aladam (Middle East Eye)
reshared this
Jeremy Scahill
Jul 14, 2025
Immediately after Trump announced what he called the “final proposal” for a Gaza deal, Prime Minister Benjamin Netanyahu undermined the negotiating process, repeatedly announcing—in public—his intent to continue the war after securing the release of ten living Israeli captives in a temporary 60-day truce and to forge ahead with his ethnic cleansing campaign to force the surviving Palestinians out of Gaza. “After the pause, we will transfer the population in the Strip southward and impose a siege [on the rest of Gaza],” Netanyahu told far-right cabinet minister Bezalel Smotrich recently, according to Israel’s Channel 12.
Trump again claimed a Gaza deal may be imminent as Netanyahu continues his campaign of sabotage.www.dropsitenews.com
cross-posted from: lemmy.ml/post/33162300
Jeremy Scahill
Jul 14, 2025Immediately after Trump announced what he called the “final proposal” for a Gaza deal, Prime Minister Benjamin Netanyahu undermined the negotiating process, repeatedly announcing—in public—his intent to continue the war after securing the release of ten living Israeli captives in a temporary 60-day truce and to forge ahead with his ethnic cleansing campaign to force the surviving Palestinians out of Gaza. “After the pause, we will transfer the population in the Strip southward and impose a siege [on the rest of Gaza],” Netanyahu told far-right cabinet minister Bezalel Smotrich recently, according to Israel’s Channel 12.
Trump again claimed a Gaza deal may be imminent as Netanyahu continues his campaign of sabotage.www.dropsitenews.com
I realized my VLC was broke some point in the week after updating Arch. I spend time troubleshooting then find a forum post with replies from an Arch moderator saying they knew it would happen and it's my fault for not wanting to read through pages of changelogs. Another mod post says they won't announce that on the RSS feed either. I thought I was doing good by following the RSS but I guess that's not enough.
I've been happily using Arch for 5 years but after reading those posts I've decided to look for a different distro. Does anyone have recommendations for the closest I can get to Arch but with a different attitude around updating?
like this
IMHO the actual problem here is the Arch moderator being an ass.
This happens in all operating systems from time to time. An update kills an app. Usually, the app is wildly out of date and hanging on to the last vestiges of a deprecated call that finally gets removed. I recently experienced this with V4L (for OBS virtual camera) and a kernel update in NixOS. Had one hell of a time tracking it down. It was one of the twice-yearly OS upgrades. Luckily, I had only updated one of my devices, and it still worked on the old one. After tearing apart the changes, I was finally able to specify V4L and a Linux kernel version. Immediately, the problem popped right out. The new kernel now needs a specific value passed for the expected video stream, where it used to use a default if it wasn't specified.
Apple breaks apps all the time. Windows does, but less so. The difference is usually before an update happens, Windows and Apple have had TONs of people testing on their own teams and their insiders people.
In the end, I just needed to roll back the kernel one revision until the V4L guys make the change, or I needed to recompile V4L myself with the option defaulted to something useful.
I don't think you can safely get away from this kind of issue. (app incompatibility on upgrade, not mods being an ass)
Debian or Mint seem to be pretty welcoming and easy going to get rid of the asshole issues, but chances are, you're going to break something eventually, and it's going to be super hard to figure out why and how to get around it.
Off-topic: A meta-analysis if you will, but I'm just astonished by the engagement this post has received. I wonder what this tells us about the Linux community on Lemmy.
On-topic: OP, honestly, others have chimed in and left very good answers already. So perhaps you won't find anything within my comment that hasn't been said. But, as I'm a latecomer to this thread, I might have an advantage that some didn't (try to capitalize on). To be blunt, the original post didn't reveal much about what you liked and didn't like about Arch. As such, my initial impression would have been to suggest Gentoo. But, you've since provided the engaging community crucial insights that help us in grasping the full picture. Below you may find my own notes on your distro preferences based on what you said:
- care-free updates
- repo packages receive updates shortly after upstream
- rewards effort put into initial setup
Furthermore, I'll take the liberty to assume that (native) package availability is expected to be vast. And that you wish for the process of updating to be snappy.
Based on the above, I recommend NixOS.
If jumping ship to NixOS seems too daunting, then consider installing Nix^[To be clear, I meant the package manager. Determinate System's installer is probably your best option.] on Arch. Consider to slowly but surely expand its usage within your system. And, then, when you're comfortable, embrace NixOS as a worthy successor to your Arch installation.
Bringing Nix to the enterprise to empower fearless software deliverydeterminate.systems
the x264 av1 file plays only audio on vlc but works with flaws on mpv: on mpv I get audio and video, but every 5 to 6 seconds it's like instead of getting 24 fps I get 22, the user noticing the missing frames.
Is this a hardware issue? software?
debian 12.11, vlc 3.0.21 flatpak, mpv 0.40.0 flatpak
what do I do?
Check using e.g. top
for your CPU (nvidia-smi
or amd-smi
for your GPU) or System Monitor on KDE if any of your resource is being maxed out. If so then most likely you found the culprit.
Regarding what the actual codec is being used you can use ffprobe
but anyway what matters if resource bottleneck and thus if you can have hardware acceleration for it.
It's probably worth investigating so that you don't keep on getting video files too big for your computer to handle. I imagine it's something very high resolution with very recent compression. If so, look for something less demanding, e.g. x265 720p and if that's still leading to performance hiccups the older x264 720p or even 480p.
It's rate that the media player itself, e.g. VLC or mpv, actually is the bottleneck.
Hi, I recently finished setting up my Asustor NAS, and I found the snapshotting setup in it a bit confusing, so I'm writing this as a quick reference that might be hopefully useful to others.
For context, my device is a AS1102TL, and it's running ADM 4.3.3, but I imagine it should apply to all recent Asustor devices.
First of all, the reason I picked Asustor instead of e.g. Synology... it's because it was not clear if the latter actually supported LUKS full disk encryption on an external usb hd. In Asustor you have to ssh into your NAS, but you can definitely do it.
The only gotcha: If you created the LUKS volume recently on another system, it's likely that it'll be using Argon2 for key stretching. A memory-intensive algorithm, for which the 1GB of memory provided by my AS1102TL is not enough. The solution is simply to add another key with a different algo, e.g. PBKDF2, or just create the volume on your Asustor. Either way, you're going to be able to read and write it both from the NAS and another Linux on your pc.
$ sudo $(which cryptsetup) luksOpen /dev/sdb1 encrypted # "encrypted" is just the name that I gave to the device, pick anything... remember the `-S` flag if you need to select a key in a different slot
$ sudo mount /dev/mapper/encrypted /mnt/USB1
... do what you want ...
$ sudo umount /mnt/USB1/
$ sudo $(which cryptsetup) luksClose encrypted
Normally, mounted external drives are available on paths like /share/USB0
, /share/USB1
. Maybe it could be possible to mount (or symlink your mount point for) your disk there, to make it usable to ADM, but by default /share
is an immutable loop mount of /volume0/.@system/sharebase.loop
$ lsattr -d /share/
-----i------- /share/
btrfs send
functionality, so it's not very interesting for our purposes anyhow).Now, you have two different approaches to accomplish incremental backups of btrfs snapshots, one where you just create them yourself from the CLI, and one where you can try to reuse the snapshots created in ADM.
sudo btrfs subvolume snapshot -r /volume1 /volume1/.@snapshots/v20250710-0951
sudo btrfs send -p /volume1/.@snapshots/v20250710-0936 /volume1/.@snapshots/v20250710-0951/ | sudo btrfs receive -v /mnt/USB1/
I recommend the -v
verbose flag for btrfs receive, otherwise you're not going to see progress while the operation is ongoing.
That's it! Of course, the first send will have to happen without specifying a parent with -p
, to do a full clone.
There are two problems with this: the snapshots created by ADM are not read-only and they are mounted right under the toplevel.
To address these issues:
sudo mount /dev/md1 -o subvol=/ /mnt/rootvol
sudo btrfs property set /mnt/rootvol/v2025079-2324/ ro true
sudo btrfs send -p /mnt/rootvol/v2025079-0824/ /mnt/rootvol/v2025079-2324 | sudo btrfs receive -v /mnt/USB1/
-p
and -v
flags as needed. That's it!If you're wondering why did we have to mount the / subvol, you can try without:
You can mount the snapshots directly in ADM's Snapshot Center, by toggling the Preview toggle for a snapshot. In that case, they are still going to be RW, though mounted as RO. You can deal with that by remounting: sudo mount -o remount,rw /volume1/.@snapshots/v2025079-2324/ && sudo btrfs property set /volume1/.@snapshots/v2025079-2324/ ro true
,
You can then try to send the changes, but what you're going to get is:
$ sudo btrfs send -p /volume1/.@snapshots/v2025079-0824/ /volume1/.@snapshots/v2025079-2324
ERROR: not on mount point: /volume1/.@snapshots/v2025079-2324
btrfs subvolume list
.$ sudo btrfs subvolume list /volume1 -qua
ID 256 gen 159842 top level 5 parent_uuid - uuid cbc37b20-901f-b043-8cf1-59b814814140 path <FS_TREE>/base
ID 258 gen 151914 top level 5 parent_uuid - uuid 5039c206-1a89-dc45-a9fe-43f8959cb672 path <FS_TREE>/.iscsi
ID 259 gen 159840 top level 5 parent_uuid - uuid 06d46207-9aa2-2944-ba38-e5736963ec12 path <FS_TREE>/.@plugins
ID 2758 gen 157876 top level 5 parent_uuid cbc37b20-901f-b043-8cf1-59b814814140 uuid 256c36c5-7033-a945-a2db-b6a334a8419f path <FS_TREE>/v2025079-0824
ID 2759 gen 157859 top level 5 parent_uuid cbc37b20-901f-b043-8cf1-59b814814140 uuid 88942ee6-8b52-3d4d-b972-5de2d6764728 path <FS_TREE>/v2025079-2324
ID 2762 gen 159833 top level 256 parent_uuid cbc37b20-901f-b043-8cf1-59b814814140 uuid 6d636914-35a0-3f42-9486-bf5d673b94c5 path base/.@snapshots/v20250710-0936
ID 2763 gen 159836 top level 256 parent_uuid cbc37b20-901f-b043-8cf1-59b814814140 uuid e99df217-4946-a740-bba9-99f64f1a0d69 path base/.@snapshots/v20250710-0951
$ sudo btrfs subvolume list /mnt/rootvol/ -qua
ID 256 gen 159867 top level 5 parent_uuid - uuid cbc37b20-901f-b043-8cf1-59b814814140 path base
ID 258 gen 151914 top level 5 parent_uuid - uuid 5039c206-1a89-dc45-a9fe-43f8959cb672 path .iscsi
ID 259 gen 159840 top level 5 parent_uuid - uuid 06d46207-9aa2-2944-ba38-e5736963ec12 path .@plugins
ID 2758 gen 157876 top level 5 parent_uuid cbc37b20-901f-b043-8cf1-59b814814140 uuid 256c36c5-7033-a945-a2db-b6a334a8419f path v2025079-0824
ID 2759 gen 157859 top level 5 parent_uuid cbc37b20-901f-b043-8cf1-59b814814140 uuid 88942ee6-8b52-3d4d-b972-5de2d6764728 path v2025079-2324
ID 2762 gen 159833 top level 256 parent_uuid cbc37b20-901f-b043-8cf1-59b814814140 uuid 6d636914-35a0-3f42-9486-bf5d673b94c5 path <FS_TREE>/base/.@snapshots/v20250710-0936
ID 2763 gen 159836 top level 256 parent_uuid cbc37b20-901f-b043-8cf1-59b814814140 uuid e99df217-4946-a740-bba9-99f64f1a0d69 path <FS_TREE>/base/.@snapshots/v20250710-0951
top level 5
and if you list them under /volume1 (which is just the mount point for the /base subvolume), they are not found directly underneath (despite them being mounted there), which is why you see them being under their own <FS_TREE>
.Conversely, the ones that you can create directly from the cli under volume1, appear as top level 256
and they are under /base if you list the subvolumes under /mnt/rootvol.
I hope this has been useful.
PS, while I was closing the dozens of tabs that I opened to investigate how everything fits together, a note on what I wrote earlier:
this doesn’t mean that once mounted, the disk will be integrated in the ADM ui (you’re not going to be able to see it in the “External Devices” ui, nor be able to select it as a destination in the “Backup & Restore” ui).
mounting the disk on a path already accessible by ADM file explorer doesn't work because of permission issues, similar to the immutable flag that you can see with lsattr
... but someone on Reddit had another workaround:
reddit.com/r/asustor/comments/…
I mounted the opened device to another path already accessible by ADM file explorer. I don't think it will matter where really. But in my case I made two partitions on an external USB drive. The first partition is a small exFat formatted (10GB). The second partition takes up the rest of the drive and is formatted with cryptsetup (LUKS). Finally, to use this I open the LUKS device and mount it to a location in the first partition (which is automatically mounted by ADM)
The Linux community seems like it's filled with so much drama! How do we make sense of it all? Is Fedora going to kill my games? Did you hear the latest thing Linus said? Is GNOME really blocking a...AbnormalBeingsTube
like this
So sitrep:
Newish desktop
- i7-13700K
- 64Gb DDR5 6000Mhz
- RTX 3070Ti
- MSI PRO Z790-P
(WiFi is not a factor, permanent ethernet connection.)
Needs:
- Gaming
- Music composing
- Coding (Mostly python)
- Video editing
I've been using Linux on and off throughout the years, but lately I've fallen out of the loop somewhat. Started with Slackware around 1998, Kubuntu in the 2000's, Ubuntu 2010's, Kali and Mandrake 2020's -> on my laptop, Ubuntu server on my RasPi. At work, we have a few Fedora servers I have to maintain. So not a complete novice, but somewhat obsolete info.
I have been looking at the immutable distros, like Bazzite and Pop!_OS as I've done the whole song and dance of constantly repairing my distro because of various issues, and I'd like my main recreational machine & distro to be low maintenance, I get to fix linux servers at work enough already, I don't want to bring that home.
With gaming, I've understood that linux has come a loooooong way since I last tried sometime around TBC Launch for WoW when Wine barely worked with it.
Music composing is a little annoying, since apparently both Ableton and FL studio are not an option. I've heard good things about Reaper, but I'll have to do some more research. Feel free to educate me on this topic if you have some insider info. I don't play live sets, just compose and mix.
Video editing, currently I use Davinci Resolve, and apparently it works fine on Linux, just some limitations and shenanigans with codecs. Alternatives are welcome, I don't need 90% of what resolve offers, I can make do with a simpler software as well.
Thank you kindly in advance for departing thine wisdom.
EDIT: Ended up installing Bazzite, and KVM virtualizing OpenSuse Tumbleweed and vanilla Fedora, keeping my backups for now on the NAS so I will be able to easily nuke & go with Tumbleweed (I think) next, since so many people seem to swear by it. Thank you everyone for the great advice!
Jujutsu is essentially an alternative front-end or "porcelain" to git, both magnificiently simplified and powerful.
I tried it after using Emacs Magit for about six or seven years, and jujutsu is really easier to use than git and useful if one wants a tidy public history of changes (with "tidy" and "public" as Linus Torvalds recommends). Plus it is fully compatible to git as backend - other contributors will not even note you are using it.
like this
Another useful property is that while jujutsu does have worktrees, like git, in many cases where one would use git worktrees (for example when writing accompanying documentation ) it is just easier to use another line of changes (what is a branch in git).
Alas, that jujutsu does not store local change sets automatically on a remote git repo (this happens only when you update and push a git branch), means that still-mutable local changes are not automatically transferred to another computer you work on. And unpublished changes are naturally mutable in jujutsu. But you can safely copy a jj repo via rsync, as changes in jj metadata are thread-safe and atomic. The other way is of course to push a work-in-progress ("WIP") git branch which can mutate and is therefore not allowed to be merged by other people.
That’s not really how one would use worktrees in git. Worktrees are useful in the case when e.g. you are working on version 0.15 of your software that has many breaking changes to version 0.14 (perhaps even on a build system level) and you need to release a 0.14.1 patch. Worktrees separate directories which means you don’t need to stash or do a wip commit, nor clear you 0.15 build artefacts. Just cd to a different worktree, checkout the 0.14 branch, create and checkout the 0.14.1 branch, clear build artifacts in a different directory from your main development one, and start working.
When done, just cd back and keep working again without switching branches, clearing artifacts, or doing full rebuilds of the in-development 0.15 version.
Plus, git does not store change sets or branches or anything on any remote unless you push them either, so if you’re having that problem just stop pushing things you don’t want to push. You can totally rsync a git repo, just ensure it’s at rest. Otherwise do what you should be doing anyway: set the repo on another machine as a remote of the other repo, so you can git pull my_private_machine feature/my_private_branch
without needing to push to a central repo.
I’m sure jujutsu has many advantages, but it also reads to me like you’re misunderstanding the git model. Which can be a fair critique of git to be fair, but then we would need to talk about what about the git model people have trouble with, why, and how to address those issues, and so far I haven’t seen any kind of research in that direction from jujutsu (not that I’ve been looking particularly hard)
One difference between using worktrees and branches in git is that in git you usually have uncommited stuff that's not finished, and worktrees are a way to avoid committing this. And you want to avoid committing early because it is hard to clean-up later. This hesistsnce to commit is not necessary at all in jujutsu - any change to the source files is already captured and will be restored once you go back to that changeset. There are other cases where you use worktrees in git e.g. to isolate a build and an hour-long integration test running it in parallel to your ongoing work, and in thar cases, you'd use workspaces in jujutsu like you'd in git.
but then we would need to talk about what about the git model people have trouble with, why
Too many commands that do subtly and irreversivly things on the repo, with potentially messed-up interim states, only to do the conceptually much simpler task to edit and manipulate the directed acyclic graph of commits.
In short, jujutsu is a commit graph editor and does the same with perhaps 10% of the complexity of git. The man pages on the git reset, branch and merge commands are already larger than the whole - and detailed!- documentation of jujutsu.
Steve Klabnik explains this much better than I can here in his blog that I posted.
It is simply not my experience that cleaning up commits after committing early is difficult in git. Amending a commit is a single -a
flag away from the git commit
command. The opposite problem is when you do too much work and want to split it into multiple commit rather than a huge one, in which case git add -p
is again a single flag away from git add
.
In general, git’s entire model is to allow you to work first, and do administrative tasks (including tidying up your commit history etc) later.
And almost nothing is truly destructive in git, the vast majority of cases can be fixed by judicious use of git reflog
.
The only cases I’ve ran into where git repos became corrupted were caused by external tools, mainly GUIs that label buttons with git commands that do something different when clicked (like the button labeled push
actually doing git push —all
for no good reason, and such things) with users that have no idea how git works that have been trained just by telling them “click this to save your work, click this to get the last version of the code”
Sickday likes this.
Technically true - but it looks like jj
does a lot of history re-writing which would require a lot of care to be taken when working on a shared codebase.
The page on remotes has some cautions in it.
We need the --allow-backwards flag to set the trunk branch to the previous commit because it is a dangerous operation: if we had pushed trunk, things would get weird when we try and push now. We've kept it all local, so there's no issues with doing this.
jj
by default refuses to change any commits on published branches such as a master branch that has been pushed. The details are configurable.
BTW that's why I linked Linus Torvalds mail on when and why to rewrite history - it is good advice.
Hrm... It looks interesting but it seems too dedicated to crafting "the perfect commit".
Changing our description changed the commit ID! This is why we have both IDs: the change ID has not changed, but the commit ID has. This allows us to evolve our commit over time, but still have a stable way to refer to all versions of it.
I don't want to "evolve a commit" - I want to capture my changes over time. If I decide later that I want to prepare the commit for merging I will.
I hate it because it's different - but even trying to give it a "benefit of the doubt" I really can't see this as better. It's not like it's difficult to create a "tidy" commit with git as is.
And as far as "easier to use goes"... well... Here's how you get a list of anonymous branches
jj log -r 'heads(all())'
jj new pzoqtwuv yykpmnuq -m "merge better documentation"
# vs.
git merge my_branch_Name
jj undo
looks neat (and also crazy dangerous unless you can undo an undo?).
And since they eschew branches with names you get to memorize hash strings instead of branch names that describe the thing you were doing?
No trouble, you can still name branches if you want. And no, you don't have to type the whole changeset hash, the first one to three letters are usually sufficient.
Also, branch names are not a permanent thing, they disappear after you merged them.
If you want, to can put an empty commit with the description of what you want to do at the top of your changes, and then use "jj split" to move changes to different commits before it.
There are several common work flows which are explained in Klabnik's blog post.
Yeah you can undo undo and also resurrect undone states.
If the readability of the commit history really does not matter to you - for exsmple, nobody needs to read this code again - it's possible that jj does not give you enough advantage. Everyone works different.
If the readability of the commit history really does not matter to you - for exsmple, nobody needs to read this code again - it’s possible that jj does not give you enough advantage. Everyone works different.
I mean... It does and I will use git to manage commit histories as necessary. I don't see jj
as solving that problem or even making it easier. Doing a single squash-commit or a rebase -i
when I merge a branch is relatively trivial.
And from what I can tell it's much easier to do a git pull upstream master
than to do jj new skdfsld dskfjas
since you'll likely have to lookup those hashes? I mean I wouldn't remember them.
And from what I can tell it's much easier to do agit pull upstream master
than to dojj new skdfsld dskfjas
since you'll likely have to lookup those hashes? I mean I wouldn't remember them.
One takes them from the last commit log and uses the first few letters. Steve Klabnik shows how they are used in practice. It makes no sense to repeat it here.
One takes them from the last commit log and uses the first few letters
So - it's not the length of the random garbage that is the issue it's the fact that it's random garbage that I have no chance of remembering after 5 seconds and switching between branches. All my branches are instead random hashes that I'll need to lookup or remember.
I've read through the blog. It sounds like they've taken the minor inconvenience of doing a git merge --squash
and distributed that pain across every-single-commit you're ever going to make instead. All to get "tidy commits" which were possible before anyway.
I was actually rather interested in the idea of jj being something that made history-rewriting easier (e.g. for removing bad commits with passwords and the like). But the fact that it almost completely throws out the entire concept of working on named branches (yes you can have them - but "One interesting thing about branches in jj that's different than branches in git is that branches do not automatically move." - genius) is just ridiculous. And to claim that it's now simpler just seems like gaslighting.
I'm looking for a music player on Pop!_OS that supports playlists, repeating a single track while still being able to swap tracks in the playlist, and also supports fading between songs and when stopping playback. And ideas on what to try?
So far I've tried VLC, Audacious, and Rhythmbox, but none of those seem to support all of those requirements. (Rhythmbox was close but the repeat one from the toolbar plugin doesn't work.)
Edit: Got it working in Rhythmbox after toggling the repeat options a few more times. Still curious if there are other options out there though.
like this
Even with all those incentive dollars, tax breaks, and innumerable concessions this will always be what happens. Governments are captured by corporate money, power and influence and then governments give away the people's wealth and corporations take.
Despite claims that layoffs target mostly mid-level managers.Anton Shilov (Tom's Hardware)
The ‘H/W Quick Erase’ function, which fries the flash memory, should probably have a more forbidding name.
How many of you knew about this project?
Info
Plasma Bigscreen is a Plasma-based shell (desktop environment) for TVs and other large displays. It is designed to be used with arrow navigation using remotes or controllers.
Links
I have been a long time Plasma Mobile contributor, but I have always had a keen interest in having Linux on my TV! I have noticed that in the past few months, the Plasma Bigscreen project has had some interest from people wanting to contribute, but t…espi.dev
carzian likes this.
HelloRoot
in reply to with chicken • • •I had a remarkable 2 for a year and was very dissatisfied with how hard it was to modify or run custom scripts or third party gui apps on it. Then came the subscription stuff and I ditched it.
Bought pinenote and even though I'm no linux developer, I've set it up and it works very well. Been using it for 3+ years now.
The build feels cheaper compared to remarkable, but the hardware spec is much better. And the best part is I can just run syncthing or kdeconnect or any linux desktop app on it and it's great.
Vetinari
in reply to with chicken • • •I went with the supernote Manta and I love it. It is Android based, not Linux, and the ecosystem is really sparse. But you can easily side load F-Droid or the aurora store and that opens everything up. I have next cloud syncing my documents and moon reader giving me access to my calibre library.
It is first and foremost a note taker and drawing pad, sacrificing lights and color for writing feel. The writing feel is amazing though. No subscriptions, non replaceable pens, support for replaceable tip 3rd party pens.
It's cost is quite a bit more than remarkable 2 or the pinenote though.