Massive data backup question: What Linux software do you folks recommend for helping sort out and organize terabytes of files and remove duplicates?


I've got a whole bucket full of old hard drives, CDs and DVDs, and I'm starting the process of backing up as much as still works to a 4TB drive.

It's gonna be a long journey and lots of files, many prone to being duplicates from some of the drives.

What sorts of software do you Linux users recommend?

I'm on Linux Mint MATE, if that matters much.

Edit: One of the programs I'm accustomed to from my Windows days is FolderMatch, which is a step above simple duplicate file scanning, it scans for duplicate or semi-duplicate folders as well and breaks down individual file differences when comparing two folders.

I see I've already gotten some responses, and I thank everyone in advance. I'm on a road trip right now, I'll be checking you folks recommend software later this evening or as soon as I can anyways.

This entry was edited (2 months ago)
in reply to over_clox

There's BeyondCompare and Meld if you want a GUI, but, if I understand this correctly, rmlint and fdupes might be helpful here

I've done similar in the past - I prefer commandline for this...

What I'd do is create a "final destination" folder on the 4TB drive and then other working folders for each hdd / cd / dvd that you're working through

Ie

/mnt/4TB/finaldestination
/mnt/4TB/source1
/mnt/4TB/source2
...

Obviously finaldestination is empty to start with so it could just be a direct copy of your first hdd - so make that the largest drive.

(I'm saying copy here, presuming you want to keep the old drives for now, just in case you accidentally delete the wrong stuff on the 4TB drive)

Maybe clean up any obvious stuff

Remove that first drive

Mount the next and copy the data to /mnt/4TB/source2

Now use rmlint or fdupes and do a dry-run between source2 and finaldestination and get a feel whether they're similar or not, so then you'll know whether to just move it all to finaldestination or maybe then use the gui tools.

You might completely empty /mnt4TB/source2, or it might still have something in, depends on how you feel it's going.

Repeat for the rest, working on smaller & smaller drives, comparing with the finaldestination first and then moving the data.

Slow? Yep. Satisfying that you know there's only 1 version there? Yep.

Then do a backup 😉

in reply to SayCyberOnceMore

The way I'm organizing the main backups to start with is with folder names such as 20250505 Laptop Backup, 20250508 Media Backup, etc.

Eventually I plan on organizing things in bulk folders with simple straightforward names such as Movies, Music, Game ROMs, Virtual Machines, etc.

Yes, thankfully I already got all my main files, music and movies backed up. Right now I'm backing up my software, games, emulator ROMs, etc.

Hopefully that drive finishes backing up before the weather gets bad, cuz I'm definitely shutting things down when there's lightning around...

This entry was edited (2 months ago)

Since you guys asked about this...


Since Some of you guys asked about more details of how I migrated the entire school's infrastructure into Linux Mint, I made a small neocities website where I retell the story with a bit more details as much as I can remember them, took me around a week to make it so go have fun there and enjoy (the website is under the AGPL license, if you are interested you can check out the source code under "License" in the website or go here github.com/Ace120C/my-personal… )
there is more things to improve upon so lemme know if there is anything I should be adding etc.

once again, cheers!

EDIT: The post is in the blogs tab, as now the latest button takes you to the videos tab instead

This entry was edited (2 months ago)

Fedora Atomic is the bomb


I've been feeling gushy about my setup lately, I think I've finally found my home on Linux. For decades I've distrohopped each year and never was really happy with it all, but Fedora Atomic has changed that.

Some things I can do with Fedora Atomic that I cannot do with other Linux distros:


  • I can rebase to Bazzite for gaming performance when I feel like having a long gaming session.
  • I can rebase to Secureblue when I think I will not be gaming and would prefer a more secure linux setup.
  • I can update my system and not have to worry about special instructions, its extremely stable. Many times in the past, running a small ma-and-pa distro with most things pre-configed for performance would end with it breaking after a couple of major updates. This isn't true for configs like Bazzite and Secureblue, they are remarkably stable across many major updates due to how rpm-ostree functions.
  • Distrobox and Flatpak are more than enough at this stage for most programs and they help you avoid making too many alterations to the base image, greatly speeding up the swaps between major images.

The kicker? Your user configs and home files are never changed when you 'image hop'. It always feels like you just installed a fresh distro whenever you upgrade, and the performance benefits are noticeable. You don't have to tinker and do the same changes over and over, its all handled for you by rpm-ostree.

10/10 this is the future of Linux. I hope for a future where I can rebase entire Linux distros while maintaining my configs with one simple command, but for now, Fedora Atomic is fantastic.

The downsides:


  • There is one major downside, and its that all of your system files are read-only. Personally, I've found a dozen ways to get around this, it requires thinking inside the Distrobox. It is a notable issue for many people, though. This means you cannot make specific tweaks without making a whole new image for yourself. Though in practice, I have found the ecosystem has grown a lot. Other people have already made the best tweaks available for you with only a few simple commands.
  • Rpm-ostree also is slow to update because its essentially building a whole git tree to make sure your updates never break and are as stable as possible. You also have to reboot each time you alter it, which can be annoying, but if you stick to flatpaks and distroboxes, this issue is mitigated significantly.
This entry was edited (2 months ago)
in reply to marcie (she/her)

Ok I've spent a few hours now tinkering and figuring things out, and I totally see the power here. I wanted to install the 1password Linux application and discovered I could do it easily using distrobox, and I wouldn't even know that's how it was running considering the GUI experience is the same as if I had installed it directly on the system.
in reply to RedWizard [he/him, comrade/them]

It really depends on the game. Old games often run better on Linux than on windows. Check protondb to see how supported the game is, may be a driver issue. Old Nvidia parts use proprietary drivers which suck in comparison to old AMD parts which use open source drivers on Linux. New Nvidia parts use open source drivers, though these drivers are new and still having the kinks worked out. Sometimes laptops even have specific proprietary drivers that must be used for the laptop which can break compatibility with Linux or reduce performance. I'm pretty sure Intel is in the same boat, it's proprietary.

Personally, for games I enjoy, I saw a small 5fps performance increase over windows on a newish desktop.

This entry was edited (2 months ago)

Which X11 software keeps you from switching to Wayland?


For me AutoKey is absolutely essential to my workflow. I have tons of text expansions and shortcuts to "remap" keys. E.g., respectively, typing dAt expands into 2025-05-08, 13:47:40 CEST, and pressing alt + k simulates the arrow down key.

Secondly there's XScreenSaver which has so many wonderful (mathematical) visualizations that it would be a damn shame if these eventually get lost as Wayland gets more adoption.

None of these have Wayland alternatives as far as I know. For text expansion there's Espanso, but it doesn't support keyboard shortcuts yet.

in reply to arsCynic

I'm using Wayland right now, but tentatively.

Right now there's an issue in WoW where sometimes when I move my mouse and left-click, the camera jumps to a different position, usually trying to look up.

Only happens on Wayland and it's fixed temporarily by switching between windowed and fullscreen mode. The problem comes back sometimes when alt-tabbing and refocusing the game.

There was a bug in KDE recently where some menus weren't properly appearing on Wayland, but that seems to have been fixed after my latest update.

This entry was edited (2 months ago)

Removal of Deepin Desktop from openSUSE due to Packaging Policy Violation


cross-posted from: feditown.com/post/1318835
Unknown parent

lemmy - Link to source

barryamelton

that has barely nothing to do with packaging standards, and packaging policy violations..

Compare this: debian.org/doc/debian-policy/

With this single page: en.opensuse.org/openSUSE:Packa…

In case you think "but those policies are not needed, they are superfluous" (like some Arch devs). They are not. Packagers send their fixes upstream, and then, other distros, with lower standards, consume the already fixed upstream releases, and sometimes pretend that this work was not needed nor present, not realizing that all distros benefit from it even if your policies are more relaxed.

There's a reason why the Deepin Desktop Environment was never part of Debian, and only available via their own ppa repositories, even if the Deepin distro is based in Debian.

This entry was edited (2 months ago)
Unknown parent

lemmy - Link to source

Ferk

Let’s indeed hope that they back it up with action. Better late than never. Though, I wonder what “guarantee” you’re referring to.


Any "action" that does not result in guarantees isn't helpful to solve this. So again, what I care about is guarantees.

For example, one way to "guarantee" that there's no code that's unaccounted for would be to achieve reproducible builds that can be rebuilt and obtain always the same binary bit-by-bit. So if the binary blob resulting from compiling from clean source matches the one offered then that's proof that the distributed binary was built cleanly and there was no malware being slipped through.

The issue is that this wouldn't just be a Ventoy problem, but also an upstream problem, since all projects Ventoy depends on would need to be, themselves, reproducible. So this wouldn't be an easy task, or even a task that Ventoy should do on their own, imho.

FWIW, slightly over a month ago, someone started working on a solution.


I definitely wouldn't trust that either until there's guarantees. Again, I only care about what guarantees are offered. It's not about who is the one managing the github account and/or what subjective reputation that random anonymous person might have.

The problem isn't the existence of precompiled binary blobs either, so removing the binaries is not solving the issue. The problem is in the traceability and what guarantees we have that the final collection of compiled binary blobs that ultimately is offered for download (and we do need binary blobs for download ultimately) is actually corresponding to libre/open source releases without potentially malicious code.

~~The conspiracy theorist inside of me would like to think this is related to the return of Ventoy’s maintainer. But I digress…~~


I don't think the maintainer went away. I've seen successfully maintained projects with much slower pace than this, specially projects for which stability is important. Last Bash commit was in 2024 and I wouldn't say it's unmaintained. Ventoy had a release 3 months ago.

Also, would it be bad if that was what triggered the interest to work on it? I mean, the post straight away mentions the github issue where that fork was advertised, and it implies that it's in that issue where they noticed that people have started to care about the blobs. So it could well be that they saw there's people who care enough to spend their time working for it (ie. they even made a fork), so why not open the doors for them? It does not have to always be drama.

This entry was edited (2 months ago)

I [they] bought a Linux Magazine from 2000!


cross-posted from: slrpnk.net/post/21842806

Recently came across this magazine from the Linux Format on a second hand vintage shop and obviously had to go for it! These magazines are still produced these to this day btw. However, when I went to linuxformat.com after receiving my magazine to check out some of their other ones, I saw that they were in fact just celebrating their 25-year anniversary and have put out a digital version of the very magazine I bought - for everyone to view digitally!

Their announcement:

25-years ago in this month of May, back in 2000 (just after the giant Y2K meltdown that flipped every plane upsidedown) Linux Format was first published. To help celebrate and remember this momentous pinnacle of publishing prowess (and while we still have server access) we'll be popping out a few classic issues of Linux Format in PDF format. As we already have it to hand here's issue LXF001 with a very young looking Nick Veitch.


The magazine can be found digitally at: linuxformat.com/files/pdfs/LXF…


Either way, I had no idea of the timing but thought it was a fun experience and worthy to share here. Enjoy a step back into memory-lane!

Have a great rest of your day!

in reply to lnxtx (xe/xem/xyr)

I used to subscribe to Linux format! I got the back issues on exactly/Exact Editions too, so for a while I could also view every issue on my android tablet. Those were the days.

I don't even know if Exactly is still around anymore.

Edit - nope, I was thinking of New Humanist magazine, oops. But I did used to get Linux Format through the door. I remember they used to have rackspace ads on the plastic weather cover

This entry was edited (2 months ago)

In regard to Hyprland and Fascism


Like y'all keep posting about it, praising it and what not.

But the dev is a fascist, the discord server is a fascist bar, and the project thus is fascist.

I've met people who were harassed, I browserd through now deleted messages of Vaxry using slurrs and more.

So I wonder is if the people who post constantly about it know and are complicit, or just don't know and would act otherwise?

in reply to teawrecks

i'm not on wayland so i can't try any of these, but there are lists you can browse from (wiki.archlinux.org/title/Wayla… for example)

you are setting quite restrictive and arbitrary limits

well supported


what do you mean?

with smooth animations


what counts as "smooth animations"?

if your message boils down to "something which looks really good to me and that has a discord i can go into and ask for help", you may have set the requirements tight enough to only include hyprland, but that's not a valid excuse in my opinion to avoid boycotting problematic developers

in reply to iltg

I agree they're restrictive and arbitrary reasons and they're also the preference of every single hyprland user has for chosing it. You have a different set of arbitrary reasons for setting your system up the way you like. It's called a "preference".

In order to fulfill this preference, is it ok for me to fork hyprland and call it something else? Or do I need to rewrite hyprland's functionality from scratch and pretend it was all my idea? Can I reference hyprland during the rewrite or does it need to be clean room? Should i make a fork available for people who disapprove of the hyprland devs? But what if I'm not a good enough person? Oof, just noticing, i forgot to check the ideologies of each maintainer of the thousands of packages in my system.

I think it's possible that the boycott idea makes more sense in a capitalist setting than a communist one. The reason we stop supporting JK Rowling or Chick-Fil-A is because being a customer directly translates to their success and thus the success of their ideology. But no one is making a profit from developing and maintaining a Linux package. In fact, typically the more people use your package, the more thankless work falls on you.

I'm simply interested in having control over my PC, and the FOSS community exists to exchange learnings and code to enable each other to do that. And like all of science throughout history, there are problematic people who contribute useful ideas, and I think we would be cutting off our own noses to reject them just because they come from people we otherwise disagree with.

tip for xfce users (about rounded corners in the whisker menu)


i've been having problems with xfce where themes with rounded corners show a black box behind the whisker menu and even with the following code in ~/.config/gtk-3.0/gtk.css

}#whiskermenu-window { border-radius: 10px; border: none; box-shadow: none; border-image: none; background-image: none; outline: none; }

searches on duckduckgo returned nothing but after a few months with this problem i found a solution on google on the zorin os forums

the modifications:
first, in the gtk.css file:
__#whiskermenu-window frame>border { border-radius: 10px; border: none; box-shadow: none; border-image: none; background-image: none; outline: none; }_

then in the whisker menu properties, turn the opactiy to 99

no idea how or why this works but it just works 😀

Fediverse Report - #115


PeerTube has a new update for their mobile app, the Mastodon team is growing, and more.

The News

PeerTube has officially launched their apps as a v1, some four months after the apps became available in beta. Some new features include the ability to log in with an existing PeerTube account (up until now you'd log in with a local account that only existed in the app itself), commenting from the app, and playlist and channel management options.

Mastodon announced some updates on how their team is evolving. The organisation is currently in the process of setting up a Foundation in Europe. Mastodon is also growing their team, and the organisation now consists of 15 employees. Mastodon's news update is a followup on their announcement from January 2025, in which Mastodon said that current CEO Eugen Rochko would step down. A new CEO has not been announced yet by Mastodon. In the previous update, Mastodon also said that they would need a €5 million annual operating budget. There are some new team members related to fundraising, but Mastodon has not made a clear statement yet on how exactly they will raise the money needed for this budget.

Evan Prodromou of the Social Web Foundation has published a first version of places.pub. It is a service that "makes OpenStreetMap geographical data available as ActivityPub objects." The goal is for other fediverse software to integrate with places.pub to have a standardised way to refer to geospatial objects via ActivityPub.

A follow-up on last week's news regarding the Fosstodon server: the server administration will be taken over, with an update and introduction by the new admin here.

The Links

A recommendation algorithm for PeerTube videos. It is a browser extension that records your PeerTube viewing history, and uses that to generate recommendations to watch.

PieFed development updates for April.

The fediverse statistics site FediDB is getting an update, and can now be self-hosted as well.

Talking Protocols With Evan Prodromou - FediHost Podcast.

How To Make Your Mastodon Feed More Algorithmic - FediHost Tutorial.

Ghost now gives blog authors the ability to block users.

howdy facial recognition with fedora workstation 42


I had a bunch of issues setting it up to work on my laptop, but now that I have I would like to compile all the bits and stuff together into one guide!

source: copr.fedorainfracloud.org/copr… and github.com/boltgolt/howdy/issu…

  1. install dependencies

downloading:
SEE GITHUB ISSUE SECTION “DOWNLOAD DEPENDENCIES”
(I can’t post the links!)

installing:

cd ~/Downloads

sudo dnf install \
python3-elevate-0.1.3-3.20240124git78e82a8.fc41.noarch.rpm \
python3-keyboard-0.13.5-3.fc41.noarch.rpm \
python3-pyv4l2-1.0.2-3.20240124gitf12f0b3.fc41.x86_64.rpm

installing opencv (note that I had to use pip install for opencv-python, so try that as well!)
sudo dnf install -y opencv opencv-devel opencv-python

sudo dnf install -y v4l-utils

When I tried to install howdy from “howdy-beta, an error pops up with “nothing provides python3dist(ffmpeg-python)...”

BettridgeCameron on GitHub is the holy saviour with this fix:

dnf install https://kojipkgs.fedoraproject.org/packages/python-ffmpeg-python/0.2.0/8.fc41/noarch/python3-ffmpeg-python-0.2.0-8.fc41.noarch.rpm

  1. installing howdy

remove non-beta howdy (it doesn’t seem to work for Fedora 41+)

sudo dnf remove howdy

sudo dnf copr remove principis/howdy

install beta howdy
sudo dnf copr enable principis/howdy-beta

sudo dnf —refresh install howdy

  1. use sudo howdy config

device-path: use ls /dev/video* or v4l2-ctl —list-devices to see all device paths and test each of them using sudo howdy test (for me it was /dev/video2)

settings to change “freedy237” recommends:
(note that howdy-beta uses different words e.g. “abort if” rather than “ignore”, make sure you have howdy-beta! This stumped me for a while)

detection_notice = true
timeout_notice = true
no_confirmation = false
suppress_unknown = false
abort_if_ssh = true
abort_if_lid_closed = true
disabled = false
use_cnn = false
workaround = input
certainty = 4.0
timeout = 10
device_path = /dev/video0 # Replace with your detected device
warn_no_device = true
max_height = 480
frame_width = 640
frame_height = 480
dark_threshold = 80
recording_plugin = opencv
device_format = v4l2
force_mjpeg = true
exposure = -1
device_fps = 15
rotate = 1

  1. use sudo howdy add to add a face.

Name it anything you want, I go with names like “glasses” and “no-glasses” since…I wear glasses. Some random person on GitHub with a multi-monitor setup has it set to looking at different monitors. Whatever you want, doesn’t really matter.

You can use sudo howdy test to check if it works. A red outline means it’s an unrecognised face, a green outline with the name means it is a recognises face. no outline means not a face. Also check that whether it is a “dark frame” or not vs a “scan frame”. You might need to set the dark threshold higher using config. (this was an issue I faced as well, for me 80 works)

  1. howdy on login

sudo nano /etc/pam.d/gdm-password

add: auth sufficient pam_howdy.so

a similar thing can be done for gnome’s password pop ups (e.g. when installing an app) by going to “polkit-1”

  1. howdy on sudo (you might not want this!)

sudo nano /etc/pam.d/sudo

add: auth sufficient pam_howdy.so no_confirmation

  1. permissions

sudo chmod o+rw /dev/video*

sudo chmod -R o+rx /usr/share/howdy/dlib-data

sudo chmod +x /usr/bin/howdy

sudo usermod -aG video gdm

sudo chmod 666 /dev/video*

sudo chmod 755 /usr/lib64/security/pam_howdy.so

  1. fix SELinux perms for login screen

create “howdy.te”
sudo nano howdy.te

add: (as seen on fedora copr repo)

module howdy 1.0;

require {
    type lib_t;
    type xdm_t;
    type v4l_device_t;
    type sysctl_vm_t;
    class chr_file map;
    class file { create getattr open read write };
    class dir add_name;
}

\#============= xdm_t ==============
allow xdm_t lib_t:dir add_name;
allow xdm_t lib_t:file { create write };
allow xdm_t sysctl_vm_t:file { getattr open read };
allow xdm_t v4l_device_t:chr_file map;

compile and insert it
checkmodule -M -m -o howdy.mod howdy.te

semodule_package -o howdy.pp -m howdy.mod

semodule -i howdy.pp
This entry was edited (2 months ago)
Unknown parent

lemmy - Link to source

HappyTimeHarry

I tried it about a week ago but since i have zero interest in alternatives to systemd or gui tools I find its easy to just install something that uses the things i want by default.

If you enjoy having that extea option and managing it with gui tools then im glad mx works for you, but it seems overcomplicated with no practical benefit to me.

What can sysv do that systemd cant anyway?

This entry was edited (2 months ago)

Mastodon doesn't like Addy aliases


It appears to be an unauthorized provider.

Addy aliases are temporary email addresses (aliases) that forward messages to their primary email account. This can help protect a user's real email address from spam, unwanted marketing, or potential data breaches.

redshift doesn't like this.

[Help!] Audiojack on BD790i X3D not working


Board: Minisforum BD790i X3D
OS: EndeavourOS

I purchased a motherboard from minisforum, it's a mobile-on-desktop (MoD) board with the chip directly on the board,

I love it, my build runs amazing, super small and everything i ever wanted

However the one thing that doesn't work is audio

The device in my audio list is "Family 17h/19h/1ah HD Audio Controller Pro"

Pipewire seems to work and playing a video attempts to play audio on that, but the audio never makes it put of the jack.
Not even static just... nothing.
And yes, I am using the jacks on the back of thr motherboard and not on the case itself.

The manufacturer's response was "Install Windows and let us know if it works" which does irk me.

My hypothesis is that the pins are not mapped correctly, and that Windows does something to pre-configure pins and the linux kernel doesn't do that in the same way so I've been trying hdajackretask to try and fix it however no matter how I set it up I never get any audio at all.

I've asked on 3 different forums, no replies beyond another person saying try it on Windows.

The only thing I can find out line that might be something useful is downgrading the kernel to 6.7 worked for someone, but I don't think that's the best option for someone who wants basically 1-step-from-bleeding-edge because that's over a year old and I'm unsure of the ramifications of downgrading.

I would really really appreciate any help in actually trying to iron this out because right now I'm using Bluetooth earbuds and it's terrible.

in reply to DeadMartyr

The 6.6.x kernel series is LTS and should be fine as a downgrade target (6.7.x not so much so). Unless there's something specific from the newer kernel versions that you need to drive that system, there shouldn't be any issues. I'm still on a 6.6-series kernel.

That being said, you could try troubleshooting this from the bottom up rather than the top down.

First, use lspci -v to verify that the device is being correctly identified and associated with a driver.

Next, invoke alsamixer and make sure everything is unmuted and your HD audio controller is the first sound device. The last time I had something like this happen to me, the issue turned out to be that the main soundcard slot was being hijacked by an HDMI audio output that I didn't want and wasn't using, and that was somehow muting the sound at the audio jack even when I tried to switch to it. A little mucking around in ALSA-level config files fixed everything.

in reply to nyan

The driver that appears is "snd_hda_intel", the intel part is apparently just what they decided to name it, doesn't matter that the board is centered around an AMD Chip

I've disabled the other two devices I have
"Navi 31 HDMI/DP Audio" and "Rembrandt Radeon High Definition Audio Controller"

The former is for Audio through my GPU(?)'s HDMI which i didn't even know was a thing

The latter I thought might be the one I needed but apparently its for the hdmi of the board itself

I will try your advice with alsamixer and see if I can get anything out of it


Update: Alsamixer I flipped everything off of mute, some things were muted, I also disabled auto-mute but nothing changed.

Audio from youtube tries to play out to the right card but I have no idea what's wrong. I'm back to my hdajackretask idea and messing with that

This entry was edited (2 months ago)

Refurbished Lenovos in general (and LinuxPusher.dk, in particular)


Hey all - what’s your experience with refurb Lenovo laptops for Linux from companies/shops that specialize in this as a service? I’m looking at LinuxPusher.dk but am also curious about other EU-based shops. It seems like a good, affordable way to get a Linux machine if you’re a novice, like me (some experience with Ubuntu and Kubuntu about 10 years ago).
in reply to mpblack

Thinkpads have long had first tier linux support, in fact many models have shipped with linux for at least a decade (?), checking that is a really good way to be sure, but you're going to be fine with W, P, T, X lines, many enthusiasts make light work. They were deployed (might still be) to Red Hat kernel devs for a long time, which helps things along. Fingerprint drivers tend to be proprietary and hit or miss, but passwords work.

Honestly learning to install linux yourself, and configure it to your liking, is actually, imo, a really important path to learning and you're likely doing yourself a disservice avoiding it. It's part of the avoidance of vendor lock in you want. Installation is surprisingly easy now, start with something simple, Mint is often recommended these days, find a decent, recent, youtube and you'll probably be up and running in an hour. Find the apps you need for your workflow (which will take considerably longer). Get familiar with the terminal. Best thing you can do after that is burn it down and install a new distro, leaving any mistakes behind, keeping your list of apps. Arch if you want to get really deep into it, or Fedora / Bazzite are good choices and very stable. Best of luck.

This entry was edited (2 months ago)

End of 10 – find someone local to help you install Linux


Support for Windows 10 ends on October 14, 2025. Microsoft wants you to buy a new computer. If you bought your computer after 2010, there's most likely no reason to throw it out. By just installing an up-to-date Linux operating system you can keep using it for years to come.

Installing an operating system may sound difficult, but you don't have to do it alone. With any luck, there are people in your area ready to help! Find someone to help you.

in reply to Possibly linux

Plus, the first step to learning Linux is figuring out how to install Linux.

If you can't do the easiest part of Linux you're going to have a bad time with the rest of Linux.

Edit: Well, wait up. Doing it for someone is one thing, teaching them enough to get by is another.

The way the post is stated, my brain went, "here's your PC with Linux on it, bye."

This entry was edited (2 months ago)
in reply to Eyedust

I might have agreed 10 years or so ago, but Linux has changed and this is entirely dependent upon the distribution and use case. Linux will hold onto the image of being a "difficult" OS for some amount of time of course, but I really don't believe that is necessarily the case any longer.

I installed Mint for my parents who are in their 70's ~4 months ago, showed them how to run updates, configured automatic backups, and I haven't heard a peep since except for the few times they told me they liked it a lot more than windows because they feel like it's a lot easier to find where stuff is. They can browse the internet as needed, work in Libre office as needed, get to all of their emails as needed, etc - they have actually 0 problems with it meeting their needs.

This entry was edited (2 months ago)

I tried Debian, I tried Fedora for my Lenovo Legion 5 Pro RTX3060: Framerate issues, stuttering in browsers, stuttering in simple 3D programs


Hi all,

The quick and dirty questions is: Which distro should I try next?

I tried Debian X11 and Fedora with Wayland, but I did not have a great experience with them for my Lenovo Legion 5 Pro RTX3060. I installed proprietary drivers on both systems since people say that they're better than Nouveau, but the framerate stutters even in simple browser game.

I use some software to slice 3d models for printing, and that one stuttered too. I tried various fixes but none of them worked, and I'd really like to switch to Linux from Microsoft for my daily driver.

What distro can I use to have a better experience? Any advice is welcome, but please make it as specific as possible and if you can, address why that distro would be better than Debian 12 and Fedora 42.

Thanks in advance!

in reply to sykaster

Distros are a red herring. I used debian 12 (first gnome, then xfce) for more than a year with no problems, and the current version of Bazzite is also problem-free for me when it comes to nvidia prime (apart from a KDE-specific memory leak). Basically, this should be easily fixable without a fresh install.

I don't know what distro you're on atm, but set up prime-run and try running programs with that.
I also recommend going onto the uefi and disabling secure boot. You can get it to work with proprietary nvidia drivers, but it's a bit of a process and unless you really need it you might as well leave it off for now.

This entry was edited (2 months ago)

PeerTube App v1 is out!


App v1 is out! | JoinPeerTube


cross-posted from: lemmy.world/post/29207242

PeerTube is a decentralized and federated alternative to YouTube. The goal of PeerTube is not to replace YouTube but to offer a viable alternative using the strength of ActivityPub and P2P protocols.

Being built on ActivityPub means PeerTube is able to be part of a bigger social network, the Fediverse (the Federated Universe). On the other hand, P2P technologies help PeerTube to solve the issue of money, inbound with all streaming platform : With PeerTube, you don't need to have a lot of bandwidth available on your server to host a PeerTube platform because all users (which didn't disable the feature) watching a video on PeerTube will be able to share this same video to other viewers.

If you are curious about PeerTube, we can't recommend you enough to check the official website to learn more about the project. If after that you want to try to use PeerTube as a content creator, you can try to find a platform available there to register or host yourself your own PeerTube platform on your own server.

The development of PeerTube is actually sponsored by Framasoft, a french non-for-profit popular educational organization, a group of friends convinced that an emancipating digital world is possible, convinced that it will arise through actual actions on real world and online with and for you!

If you want to contribute to PeerTube, feel free to:

If you want to follow the PeerTube project:

in reply to cyrano

When do we get that version on F-Droid?

Also, is the body text just a low effort copy-paste of what Peertube is? We know that... And there is a news article about the new version which could have been copy pasted instead: joinpeertube.org/news/app-v1

This entry was edited (2 months ago)
in reply to hendrik

You should be able to use Obtainium with this link to download directly from their git source and stay up to date.

Edit: Changed source link.

This entry was edited (2 months ago)

Dreams are extremely forgettable because the plot is flimsy, the dialogue is uninspired, and the acting is lifeless.


You only remember the ones where the plot goes totally off the rails, dialogue makes no sense, and acting is just bizarre. Whoever is writing this trash is chronically incapable of producing anything even remotely good. It’s either forgettably mediocre or experimental chaos and pure madness.

Fediverse.com is available for sale


How is that even possible???

If he wanted to, couldn't spez just buy it, and make it serve as a redirect to reddit? I don't understand how SOMEONE hasn't bought/used this domain for fediverse purposes.

in reply to Lost_My_Mind

in reply to crawancon

in reply to zecg

There's a difference between knowing my baker is a nazi and being unaware of it. It's morally wrong to be knowingly supporting a nazi, whether it's by buying their product or by donating to them directly doesn't matter.

It's true that bread stays bread regardless of the baker's political stance. But it's not like the nazi baker is the only one in town. Just get your bread from a different baker. Bread is bread. The point of alternatives is that you can pick your source, whom you want to support. And that's what OP is suggesting.

in reply to Pamasich

knowingly supporting a nazi


First, criteria for what one considers a nazi are open to interpretation and nowadays the bar is ridiculously low. We have a bicycle kitchen cooperative in Croatia where almost all of us volunteers hold leftist views, but there's an occasional boomer known to say problematic stuff as a shitty joke, or a grandma shows up with her son's bicycle that has one of the many Croatian totenkopf variants which the kid put up using same protocol as Marge with a potato. We never refuse to help them. I also engaged some of them in conversation and when you get down to the bottom of their exclusionary views you often find they're decent people with good moral compass and the stupid jokes or totenkopf stickers are adopted wholesale through the media or because of a personal tragedy.

Just get your bread from a different baker.


Sure, the free market will fix it, very American thinking. Sometimes the cure is worse than the disease. Croatia is a good example because our fight for independence in the 90s saw the attempted rehabilitation of actual nazis from the 40s as freedom fighters and Croatian patriots, which means that (still, nowadays) whenever boomers have a celebration with alcohol, there'll be some singing about the superlative exploits of actual nazis. It's just the way our society currently is, it's still our society. The only way to change that is to engage with them and show them you hold a different opinion and are still a relatable human being. I have a feeling most lemmy users would just cancel their entire family if they were Croatian.

in reply to catloaf

internet tribalism is my faaaavourite ❤

do you really need to start fights with people that are striving for the same goal, just because you have differing opinions on other things? do you think that different political parties should never work together?

my opinion is otherwise

This entry was edited (2 months ago)

don't like this

in reply to Lost_My_Mind

The idea there should be some definitive, canonical domain for the Fediverse is somewhat at odds with the core tenents of the Fediverse itself - decentralisation, and no single point of ownership or control. And on that basis, we absolutely should not care about a particular domain, or assign any level of 'specialness' to it.

I understand your worry - that some 'bad actor' could buy the domain and do something anti-Fediverse with it and mislead the public, but my response would be to simply not worry. The strength of the Fediverse is that we are diverse and unbothered by whatever nonsense some centralised platform is trying to pull. We don't have a profit motive. We don't care.

People who want to find the real Fediverse will absolutely still find us, all on their own, regardless of who owns some random domain 😀

This entry was edited (2 months ago)

Cheap Portable USB Touch Monitors - any experiences?


I've got these things locally available in the $50-60 range. This being a generic brand, I imagine a buncha those are available globally. Anyone tried 'em, do they work OK with modern desktops (gnome, plasma)? Touch? DP-Alt or are they DisplayLink? Do they have PD?

Sellers are helpful nada, same with youtube videos, just marketing fluff.

This entry was edited (2 months ago)
in reply to glitching

Bought a 9 incher for server because I sucked at remoting in.

Fairly delicate but it was like 40 dollars. It is serviceable and serves the need. Am able to complete simple tasks via the touch screen. It kinda spazzes out with multi selecting/ touch but again 40 dollars.

Cords are fairly obtrusive but never bugged me. Solved by getting on that's mini hdmi but didn't like those from experience with pi

Can turn it off with a little switch in the back which it's mostly off. No issue on power up. Quicker than my dells honestly

I realize this is the dumbest setup but it works 🤷

This entry was edited (2 months ago)

pinchflat install not going my way


I'm trying to recreate an install of pinchflat in a podman container that was working on a previous install, but now I want it to run as its own user. I created the quadlet and put it at /home/pinchflat/.config/containers/systemd/pinchflat.container but the user I'm creating this for is a system user without a shell. So I cannot just su into it or sudo -u the command systemctl --user daemon-reload. I'm not really understanding where I'm going wrong.
in reply to muusemuuse

Pinchflat is one of the good containers that doesn't try to play with ID remapping or anything. You just need a container quadlet like the following:
[Install]
WantedBy=default.target

[Container]
Image=ghcr.io/kieraneglin/pinchflat:latest

Environment=TZ=CHANGEME

Volume=CHANGEME/config:/config
Volume=CHANGEME/downloads:/downloads

PublishPort=127.0.0.1:8945:8945

It'll run as the quadlet user id by default.
in reply to Static_Rocket

So I found I had 2 problems. First, I have a Name= line instead of a ContainerName= line in there. Second, diagnosing all this is impossible when theres no shell for that account. Turn on a shell (/bin/bash) for the user, fix this thing, activate it, disable the shell (/bin/nologin), drink heavily.

I ended up with:
-----/fuckingarray/homes/pinchflat/.config/containers/systemd/pinchflat.container----------

[Unit]
Description=PinchFlat container
After=local-fs.target

[Container]
Image=ghcr.io/kieraneglin/pinchflat:latest
ContainerName=pinchflat
UserNS=keep-id
Volume=/fuckingarray/homes/pinchflat/pinchflatdata/config:/config
Volume=/fuckingarray/homes/pinchflat/pinchflatdata/downloads:/downloads
PublishPort=8945:8945
Environment=TZ=America/New_York

[Install]
WantedBy=multi-user.target
This entry was edited (2 months ago)

LibreOffice: We still see people on the fediverse recommending OpenOffice, despite it having year-old unfixed security issues




Hi everyone! 👋 We still see people on the fediverse recommending OpenOffice, despite it having year-old unfixed security issues: en.wikipedia.org/wiki/Apache_O… – So if you see someone recommending it, please inform them about the risks – but also that there are actively maintained successor projects (like LibreOffice). #foss #OpenSource

This entry was edited (2 months ago)
in reply to guest

The date seems to be misleading. When you open the comments section and load all comments, you'll see that there are quite a few comments that are 9 years old. The article is thus far older than what it's saying, and it unfortunately showcases again how many people rely on very old (and in this case misleading) information about LibreOffice.
This entry was edited (2 months ago)

MSI gaming laptop questions


I'm thinking about putting Linux on my MSI laptop.

First how does Linux handle 2 video cards. CPU Intel and a discrete Nvidia 970...

Can Linux work the light up keyboard? ( I game in the dark lot.

External monitor hooked to the display port?

Last what would be the best noob friendly distro to use. Haven't played with Linux in 10 years and really don't have time to tinker now

in reply to Crashumbc

MSI Sword 15 here, with Intel + Nvidia, In my personal experience is runs almost without issues using Manjaro as a Distro (have not tried other distros on this specific machine).

Your experience could be different depending on your specific laptop model and how recent it is.

Keyboard lighting and fan on/off works without issues, the only 'Fn' key that does not work apart from the one for MSI windows software is the one to block the trackpad (and I just configured another keyboard shortcut for it).

~~Using Wayland, I can not use an external monitor connected to the HDMI port on the Nvidia card (No idea if it is fixable now, haven't looked on it recently), but with Xorg I can run an external monitor in the HDMI port and extra ones with a dongle on the USB-C (so far tried with 3 without issues)~~ Edit: I can use multiple monitors without issues on Wayland as of my last test.

Friendly distros recommended these days as far as I know are Mint and Zorin if looking for something Ubuntu or Debian Based, Apart from that there is Fedora or Arch based distros but may need a bit more knowledge and getting used to.

This entry was edited (2 months ago)

New Debian release on the horizon?


Looking at Debian's release-critical bugs, you can see that Trixie is close:
Testing now has fewer critical bugs than Stable, and the number is dropping quickly.
About 200 bugs still need to be fixed to get the number down to where the previous releases were done.

Maybe you can help? Bugs blocking the next release can be as simple as missing translations for the upgrade instructions.

This entry was edited (2 months ago)
in reply to superkret

Trust me, at that point there won't be any explaining possible 😁

We've been burned by a lot of distros in the past and right now it all boils down to using Debian and RHEL, everything else mostly failed at some point or will not uphold the stability guarantees. Even containers with Alpine fucked us over once with the musl DNS issues and a few other missing parts...

This entry was edited (2 months ago)

Linux cannot be installed from DVD's anymore?


I burned and tried different distros and all of them the DVD reader laser was moving back and forth like mad and loading and install was so slow that it impossible to continue. Tried 2 different readers.

Fedora Silverblue: the optic reel was moving like mad and loading was so slow that it triggered the anaconda text installer


It stayed there for hours so I desisted

Elementary OS 8: Same as Fedora Silverblue but at least could load the wallpaper installer UI. Not possible to load live OS

Lakka OS: Lakka state on their site DVD's can' t be used anymore for their images lakka.tv/get/linux/generic/

Yeah I know USB thumb drives are like £5 but I wanted to have my silly little fun with my discs and newly bought burner. I remember when I started using linux distros didn't had this kind of problem and live versions could be used, slow but usable.

This entry was edited (2 months ago)

Changing key mapping with xmodmap is broken. Is there a workaround?


I want to change the key mapping of Shift+Backspace to Delete.

Running xmodmap -pke gives me (among other lines):

keycode 22 = BackSpace BackSpace BackSpace BackSpace BackSpace BackSpace

I change this line to
keycode 22 = BackSpace Delete Delete Delete Delete Delete

and save it in the file ~/.Xmodmap and run xmodmap ~/.Xmodmap. Apparently, this worked in part. When I run xev and press Shift+Backspace I get:
KeyPress event, serial 37, synthetic NO, window 0x1200001,
    root 0x300, subw 0x0, time 133664788, (484,630), root:(584,799),
    state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x1200001,
    root 0x300, subw 0x0, time 133665052, (484,630), root:(584,799),
    state 0x1, keycode 22 (keysym 0xffff, Delete), same_screen YES,
    XKeysymToKeycode returns keycode: 119
    XLookupString gives 1 bytes: (7f) ""
    XmbLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x1200001,
    root 0x300, subw 0x0, time 133665116, (484,630), root:(584,799),
    state 0x1, keycode 22 (keysym 0xffff, Delete), same_screen YES,
    XKeysymToKeycode returns keycode: 119
    XLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x1200001,
    root 0x300, subw 0x0, time 133665444, (484,630), root:(584,799),
    state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

With other modifier keys (LeftAlt, RightAlt, LeftCtrl) I still get BackSpace.

But xev seems to be the only application that recognizes Delete. In Wayland applications I get only Backspace, no matter what modifier key (Shift, LeftAlt or RightAlt, LeftCtrl) I press. In Firefox (an X application) there is a change. Now, Shift+Backspace does nothing. I suppose this is because Shift+Delete does nothing as well. The KeyPress event of Shift_L seems to block Delete from being obeyed by applications, which is unfortunate when Shift is part of a key combination that maps to Delete. How can I undo this block of Delete? How can I make the key mapping work in Wayland and X applications?

in reply to ccmskw

Try keyd or kmonad. I do all my key mapping on the keyboard itself, so I can't vouch for either.

discuss.kde.org/t/remap-keys-o…

github.com/rvaiya/keyd

sokinpui.github.io/Blog/post/k…

github.com/kmonad/kmonad

This entry was edited (2 months ago)

Malicious Go Modules Deliver Disk-Wiping Linux Malware in Advanced Supply Chain Attack


Packages:
* github.com/truthfulpharm/prototransform
* github.com/blankloggia/go-mcp
* github.com/steelpoor/tlsproxy
This entry was edited (2 months ago)

Debian 12 Firefox games run terrible when i press buttons or use the mouse


Hi all,

I recently installed Debian 12 on my Lenovo Legion 5 Pro, and am using the GNOME desktop (x11). From time to time I play a game called survev.io . It's a browser battle royale game, not hard on graphics.

I have an Nvidia rtx3060 and have the proper drivers installed. I checked using nvidia-smi and Firefox is using the Nvidia gpu.

The issue is that the game runs smoothly until I press a button or move the mouse. Then the framerate decreases significantly and it becomes unplayable.

I already tweaked the following settings in Firefox to no avail:
- gfx.webrender.all = True
- enabled hardware acceleration
- layers.acceleration.force-enabled = TRUE
- gfx.x11-egl.force-enabled = true

And now I'm out of ideas. The game itself isn't too important to me, but other browser games do the same, so it's a wider issue I want to solve.

Any ideas on how to resolve this?

This entry was edited (2 months ago)

Why does Lemmy use "@" instead of ":" like Matrix does?


matrix is #room:matrix.org and @username:matrix.org

why does lemmy use !room@sh.itjust.works or @username@sh.itjust.works ? it looks like email.

i like the matrix version better

in reply to Itte

Matrix was influenced by the traditional URI schema approach however they also used an inverted URI to have the most significant segment be the first segmont. This is why it has a prepended segment followed by a : and then a URL.

The relationship the URI is describing is homeserver owns user and traditionally we might go homeserver:user I'd argue it is obvious to just invert that into user:homeserver. See Java, dotnet, etc reverse dns naming conventions.

A matrix room is not at a URI, it is on every homeserver that participates in the room. I am not talking about Lemmy and its garbage entirely incorrectly semantic URI scheme. Matrix rooms are globally uniquely identified, and so the room URI only describes the idea of the resource of the room. room:homeserver.

The prefixes are an obvious and neccesary evil for parsing them out of unstructured text. A requirement for most users.

ActivityPub and related went "fuck everything, fuck reason, the web is fucking amazing" and came up with their own flavor of stupidity. Emails use an ancient first attempt at a URL. A URL. What does the URL do? It is explicitly intended to tell you which server to contact. People are going "yeah but email!1!!" entirely moronically ignoring historical context.

This entry was edited (2 months ago)
in reply to deur

For anyone who can't read that many words at once: URI means identifier and URL means locator.

Matrix does not mix the roles of its URIs beyond the ability to attempt to reach that homeserver through NOT ONLY DNS but also through routing between homeservers. Matrix, unlike this garbage, actually wants to support ephemeral clients and such as well.

This entry was edited (2 months ago)

This looks cool but can it game?


I was browsing on system76's offering to see what PCs they have and noticed that they have an ARM Computer that apparently faster than the fastest Apple Mac but for cheaper (Based), but I'm wondering, how well does ARM computers game on linux with proton, it is very expensive to me atm and I can't afford it, but maybe in the future I could consider it to be my first desktop as I always been using laptops, obviously gaming isn't like the main priority as I would like a workstation to do heavy work such as blender and stuff and perhaps put gentoo on it in the future (if its supported) but I would like to game on the side when I'm winding down that's all, so can it game well?
Unknown parent

lemmy - Link to source

zarenki

"Dynamically compiled" and dynamic linking are very different things, and in turn dynamic linking is completely different from system calls and inter-process communication. I'm no emulation expert but I'm pretty sure you can't just swap out a dynamically linked library for a different architecture's build for it at link time and expect the ABI to somehow work out, unless you only do this with a small few manually vetted libraries where you can clean up the ABI. Calling into drivers or communicating with other processes that run as the native architecture is generally fine, at least.

I don't know how much Asahi makes use of the capability (if at all), but Apple's M series processors add special architecture extensions that makes x86 emulation be able to perform much better than on any other ARM system.

I wouldn't deny that you can get a lot of things playable enough, but this is very much not hardware you get for the purpose of gaming: getting a CPU and motherboard combo that costs $1440 (64-core 2.2GHz) or $2350 (128-core 2.6GHz) that performs substantially worse at most games than a $300 Ryzen CPU+motherboard combo (and has GPU compatibility quirks to boot) will be very disappointing if that's what you want it for. Though the same could to a lesser extent be said even about x86 workstations that prioritize core count like Xeon/Epyc/Threadripper. For compiling code, running automated tests, and other highly threaded workloads, this hardware is quite a treat.

This entry was edited (2 months ago)

A quick question


Would you guys be interested if I start a Youtube/PeerTube Channel where I talk about Unix Topics related to Linux, BSD & Plan9 etc... and perhaps rants and rambles about stuff that I like and don't like about how the mainstream treats linux etc etc. (I have a lot to talk about and say) and perhaps devlog updates about a game I'm making (its open source obviously)
I don't wanna look like a stupid influencer shill (nobody likes those)
but basically I just want a platform where I can speak about what I like and passionate about thats too long to write here, and if a mod/admin is reading this please delete this if its unsuitable for this thread, sorry in advance.
in reply to TabbsTheBat

I don't wanna copy them, I have other topics I think they are untouched and it would be nice to start a conversation about them.
for example "why the normies complain about the proprietary apps they use but then whene you suggest something they just brush it off" ("I hate facebook messenger, its buggy as hell", "try signal then", "no.") thats one example of the stuff I will cover, basically very obscure topics, that nobody have covered yet

Linux Mint installation stalling and not finishing


I'm unsure what is going wrong and not having any luck finding a command or file I can tail to figure out why it's having so many problems finishing. Last weekend I tried just installing mint to some unused space on a drive but that seemed to get stuck in the same place. This weekend I'm using the "install alongside windows" option in the installer with the same behavior.

This is being installed from a USB drive into an nvme SSD and I'm really lost s to why it would be like this after more than an hour. Any advice on how to figure out why it gets stuck is appreciated. Hoping to transfer some files over after this is done and then reevaluate if I want/need the windows partition.

Is there any community for Linux for noobs ?


in reply to nagaram

It's run by the main developers of Lemmy, and they're both authoritarian communists (which I just got from Wikipedia as I'm trying not to use the pejoritve "tankie").

Anything that could be perceived as speaking down towards Russia, China, maybe even North Korea, ends up with your comment getting deleted and your account banned for a period of time.

They started Lemmy because @dessalines got banned from Reddit. The backwards thinking is that people shouldn't be banned for speaking their minds, yet their instance is the absolute worst for that.

By avoiding .ml you are helping Lemmy be what it should be -- a decentralized, user owned, user moderated place with sensible decisions behind the scenes.

This entry was edited (2 months ago)

don't like this

in reply to walden

Yep that's pretty much the long and short of it. People will say, if you just stick to the technical topics then you're fine and they'll ignore you. Which is true to an extent. But you should not have to. And most people don't want to popularize places like that to begin with if they knew.

This part is a small tangential nitpick. What Russia China North Korea Etc have is not communism. They may call it Communism. But what is important to note is that one is uppercase and one is lowercase. One is an adjective that describes a stateless classless society. The other is a noun often used to refer to a tightly controlling state with a strict regiment class structure between the political and non political classes. Honestly I think the term communism is beyond Rehabilitation. Though I would still like to try and see it differentiated from the noun.

This entry was edited (2 months ago)

don't like this

dudes, I am linux pilled


I was a poor young man, I refused to pay $100 to put windows on a hard drive I had installed into a hand-me-down desktop.

I found linux and made it work, through thick and thin.
As a lazy jackass i somehow got skyrim to work through wine via copied and pasted terminal commands. wintetricks and all, i found it wildly difficult. Playing was almost as thrilling as seeing it work.

I have only ever attempted to make a linux ISO bootable drive through windows that one time, more than ten years ago.
My wife was given a laptop with windows 11 installed and I wanted to install firefox.

what, the actual fuck, is "S" mode?

ctrl-alt-t "install that shit"!

A computer should not come with a subscription baked in. That's trash.
The issues i get through linux come from my failure to understand it and/or the walled gardens it hasn't found its way into yet.
The issues I experienced this evening on windows were there by design.

Thank you to all of the homies that make the weird and sometimes uncomfortable linux/ open-source community work. You guys are the shit.

in reply to LukeSky

I prefer the UI of Shotcut, but kdenlive is admittedly more powerful. You can try both to see which one you prefer. I suggest you download the .appimage files of both of them from the website (this way you'll get the latest versions). I'd suggest against the flatpak versions as sometimes they come with limitations of various kinds. Just download their respective .appimage files, make them executable (right click on the downloaded files with your file manager and then go to their Properties to set them as executable), and then double click them to load. If you go that route, make sure you manually update them every 3 months or so, as that's when they usually release updates.
This entry was edited (2 months ago)

What should the subset of the Fediverse that is Lemmy + Mbin + PieFed be called?


Context: I made a poll on PieFed about the new post flairs (so if you are one of the few hundred people who have a PieFed account, follow that link and answer there). Unfortunately Lemmy has neither polls nor post flairs, so this post is to open up the discussion to the wider Fediverse, or rather the subset of it that encompasses Lemmy + Mbin + PieFed, which is called... what exactly?

Is Threadiverse too traumatic & tainted by association with Meta's (all but entirely defunct) Threads? Is The Verse too cool/poetic/nerdy (but niche) to be understood? I highly advise against Lemmyverse bc mainstream normal people are far less tolerant of tankies than we who are here are willing to put up with. Simply listing the software available sometimes is the best option - like the Interstellar app supports all of Lemmy + Mbin + PieFed, but most support at best 1 or 2 of those - but usually is too long to say and does not roll off the tongue, plus will just keep growing as time goes on. Is Forumverse thus the least bad of the available options, or perhaps you have a better idea? 💡

Anyway, the start to a listing:
1) Threadiverse
2) Forumverse
3) (The) Verse
4) Lemmy + Mbin + PieFed
5) Something else?

img

- source for image

in reply to julian

IIRC Lemmy and Mastodon PMs are different and incompatible. If you can receive PMs from Lemmy users then you should be able to receive auth codes. Currently @rikudou@lemmings.world is adding both Lemmy and Mastodon PMs here: github.com/ismailkarsli/lemmy-…

Also software other than Lemmy and Mbin needs to add ‘roleName: Administrator’ to their user webfinger requests. This is because ActivityPub doesn’t have a standard way to expose user roles.

I’m thinking of adding another ways of verifying like DNS based verification but still not sure. Any recommendations are welcome 😀

This entry was edited (2 months ago)

Broken SSD - Disaster or not


This week, it finally happened. I think it’s the first time in 20 years that a hard drive has died on me without warning. And it was also the first time I was using an NVMe drive, but that could be a coincidence.

The drive was still under warranty (barely a year and a half old). I even had a spare lying around. But the true cost of restoration is, of course, my own labor. My planning had not been perfect (for such a remote event, as I had judged). However, it was easy enough. I simply installed NixOS from a USB loader and downloaded my configuration from my backup on my NAS (daily rsync jobs to the rescue). I also downloaded all the important files for my home directory. Then, it was simply a matter of adjusting a few things in the configuration file, rebuilding the system, and voilà. Well, except for a few things that didn’t work quite right for some reason and had to be manually fixed, but nothing major.

However, next time I want this to be even easier. It’s probably overkill to install a RAID controller and have multiple drives running in RAID1 or RAID5, but the restoration process is still too much manual work. I was thinking of regularly backing up my main drive on the block device level, so I would just have to swap out the drive and restore the delta from the backup. I’m not quite sure if that’s feasible or a good idea. For my personal system, I have to balance the investment of preparing for a disaster with the likelihood and impact of such an event. This seems like a good trade-off, but I would be curious to hear how other people prepare for drive failure.

in reply to julian_hoch

The BIOS does not know about the RAID, the is why the EFI partition has to be a regular partition, but there is nothing forbidding more than one EFI partition so simply duplicating that across both drives ensures the same redundancy the RAID offers, but GRUB DOES know about RAID 1, so if you setup a raid1 array as the boot partition and then just write the boot block to both drives along with the EFI partition you can RAID everything except the EFI boot partition. Sorry your motherboard reduces your speed if you have more than one nvme, sounds very odd. Mine does share bandwidth if the SSD's are SATA but NOT if they are nvme.

Cleaning up packages?


I noticed while updating my system just how many packages I have installed that I don't recognize.

I tend to think that minimalism is better for security, so I'd like to remove any packages that I'm not using, but this is a bit of a scary task.

Does anybody have a safe method for reviewing and purging unused or bloat packages while obviously making sure not to accidentally remove important dependencies?

I'm on arch btw.

in reply to brownmustardminion

Just leave it. Either they do something in the background. Then you'll get issues when they're missing, and you'll never know which package is missing for what.
Or they don't do anything, then they just take up a few MB of disk space.

"Cleaning up" is the most sure-fire way to destroy your OS, and absolutely not worth anyone's time. Trust me, I've made that mistake multiple times.

This entry was edited (2 months ago)
in reply to dengtav

You're welcome! And actually, even this approach can yield surprising results... As in have you heard of deprecated IPv6 addresses before? Well I hadn't until I realized my interface now had one (it actually didn't anymore when I wrote the post, I used the jq command on old output, not in a pipe). Which made my DynDNS script stop working because there was now a line break in the request URL that curl rightfully failed on.

Edit: also despite what the title of the post says, in not an authoritative expert on the matter and you can use whatever works for you. I see these posts more as a basis for discussions like here than definitive guides to do something the correct way.

This entry was edited (2 months ago)
in reply to Laser

As in have you heard of deprecated IPv6 addresses before?


Definetly not 0.o

It's really hard to actually believe that a problem like this hasn't got a 1-word-command + flag solution yet. I mean you could ecxpect something like

ip -6 -i eno0

or so...

And yes, totally agree on the edit part! It's always nice to at least no about all the options that exist and smb found out hustling the same struggle like me 😁

This entry was edited (2 months ago)

Distro for a really low spec PC


This is my sister's old PC and I want to bring it back to life. But it seems to struggle even on lightweight distros.

It's an HP All In One 19-2114 with following specs.

CPU: AMD E1-2500 @ 1.4GHz with integrated Radeon HD 8240

RAM: 4GB DDR3 @ 1333MHz single channel

Storage: Samsung EVO 1TB SSD

The Radeon gives me headaches as it has screen tearing on Linux and fails to boot on Haiku unless I choose fallback graphics

What should I expect upon switching from windows?


I currently use windows 10 in my daily life. I often play games, use browsers, basic stuff like that. On top of that, I also experiment with different music software, mostly Reaper for now. I edit videos and images at a very basic level as well. Upon switching, what should I expect to change? I'm considering Pop!_OS seeing as its praised for its compatibility and easy switching. What's the situation with gaming look like? I know gaming on Linux has been a HIGHLY discussed topic for a while, is it easy to play any (non triple-A) steam game? I'm nowhere near involved in computer science, I'd just consider myself more stubborn than most end-users so I can persevere through some basic problems.
in reply to Cattypat

I'm excited you're giving Linux a try!
There are a ton of excellent ressources online for learning about Linux, how to make it your own (a practice commonly called 'ricing'), or fix errors you may encounter. These are explored further in the links below 😀

  1. Picking a distro. What I hear is that, unless you have some problematic hardware it doesn't really matter what you pick.
    So if it feels overwhelming, don't stress too much over if it's the "right one", you can always try different ones out.
    Having said that, my impression is, many coming from Windows seem to be happy with 'Mint'. Likewise 'Bazzite' seems popular as of late. But 'Pop_Os!', 'Debian' or 'Fedora', are also all perfectly valid choices. Personally I've liked using Endeavour OS with KDE, for quite a while.
  2. Software. There's so much cool software out there, so maybe search around for which can solve your needs. I like browsing Flathub.org or blogs, such as, Phoronix to discover new software. There might also be a discovery feature in the distro itself.
    Both Firefox (and its derivatives such as LibreWolf) and Chromium (along with its derivatives: Chrome, Brave, etc.) runs well. Even the much smaller project: LadyBird, does so. I have no experience with music production software on Linux, so cannot comment on that.
  3. Games. Might depend on which types of games you play. But to me it seems Steam (using Proton/Wine), Heroic Games Launcher, and Lutris, works great. The steamdb as others mention is also a super ressource!

If you made it this far through my wall of text, I'm delighted by your curiousity.
Two Linux "introductory videos" I'd like to share are respectively from Nick@thelinuxEXP Linux isn't (just) better, it's also more FUN! and Brodie Robertson's Linux Resources Every New Linux User Needs Odysee YouTube

This entry was edited (2 months ago)

Linux distro recommendations


tldr:
What reliable, up-to-date, linux distro would you recommend a gaming softwareengineer and privacy enthusiast?

Full text:
Hey all,
I know this is the age old question, but I would like to ask it anyway.
I am currently switching from windows to linux on my main pc and am on the hunt for a fitting distro. I am a software developer and used to working with wsl, debian servers, etc. I selfhost a bunch of things and know my way around the linux commandline and would call me privacy enthusiast that uses a lot of FLOSS software. I also do occasional gaming but I guess that should work on any distro with enough work.

My thought regarding a few distros:
- I like to live on the edge of time and therefore have the feeling that debian based distros (although being very stable) are too "old" for my liking.
- Ubuntu - Canonical is out for me.
- I also looked at fedora, and liked it, but after reading more and knowing it is backed by IBM and that is US based I am not too sure anymore. I ideally would want to have something independent. Although being backed by a company promises continuous work in the future (with the risk of becoming bad).
- OpenSUSE tumbleweed seems promising (german origin!) but also quite intimidating as it is apparently mostly targeted towards power users and I am not sure if it fits an all purpose desktop pc.
- Arch based distros seem great as it contains all the newest packages and is infinitifly customizable. But the KISS nature of arch and the (as far as I understood) high effort to get everything running is a bit intimidating when switching from windows. But I also do like the fact that it ships with only the bare minimum and not anything bloated.

Further more I somehow think that using a base distro (in comparison to a fork of a fork...) is more ideal as they receive updates, etc faster. But that is just a feeling and I couldn't argue more precisely about it.

Regarding a DE I am definitely going KDE.

I would be very happy for some tips, opinions or pointers in the right direction to continue and finally get rid of windows... Well at least mostly. I guess i will keep it in dual boot as I do play a few games that unfortunately won't run on linux.

Thanks in advance already!

Unknown parent

lemmy - Link to source

N0x0n

I wish I could install EOS on my M1 Mac... I know threre is Asahi linux, but maintenace and updates have slowed down & stopped?

For good reasons though, hope the mainteners are doing okay. And wish them luck

This entry was edited (2 months ago)
Unknown parent

lemmy - Link to source

NιƙƙιDιɱҽʂ

I never intended to insult you, I was merely explaining how my ADHD manifests.

I made the incorrect assumption that you were coming from a more neurotypical perspective, and for that, I sincerely apologize, but nowhere did I insult you. If you took this as an insult, again, my apologies.

This entry was edited (2 months ago)
in reply to MonkderVierte

Yeah, I just checked the logs with journalctl /usr/bin/Hyprland. You won't believe what it said.

``` [LOG] Hyprland PID: 7331
[LOG] Hyprland Version: 0.48.1-dev+ (git commit: feedbeef4dead)
[LOG] Built: 2025-01-27
[LOG] OS: Arch Linux (Stallman-Approved* Edition) *Approval pending code audit
[LOG] GPU: Intel Integrated Graphics (Trying its best under ideological scrutiny)
[LOG] Monitors: 1 AOC (Currently displaying philosophical paradox)
[LOG] Running on XWayland: Only for non-free blobs (shame!)

[INFO] Initializing Hyprland... Preparing for purity inspection.
[INFO] Loading config from /home/user/.config/hyprland/hyprland.conf
[INFO] wlroots: Initializing DRM backend.
[WARN] Ambient Freedom Levels detected: 98% (Dangerously high for proprietary hardware!) Source seems localized to... desk peripherals.
[WARN] Analyzing visual input field... Multiple instances of stallman_visage.jpeg detected taped to monitor bezel and desk surface.
[ERROR] Potential Purity Overflow detected! Excessive whitespace concentration in peripheral visual field identified as 'rms_white_liquid_anomaly'.
[ERROR] Specifically correlating anomaly with:
- Photo ID: RMS_Laptop_Rocks.jpg (High concentration near shirt area)
- Photo ID: RMS_Boat_Ponder.jpg (Moderate concentration, background water reflection misinterpreted?)
- Photo ID: RMS_Desk_Stare.jpg (Critical concentration, direct optical path to sensor)
[ERROR] Compositor attempting to render scene, but framebuffer contaminated with recursive 'freedom.h' includes apparently leaked from white pixel data.
[FATAL] GPU context lost. Reason Code: 0xDEADRMS (Driver unable to handle ideological load). Possible short circuit caused by concentrated freedom particles (aka 'white liquid').
[LOG] Received signal 11 (SIGSEGV) at address 0x474E554C494E5558 (ASCII: GNULINUX)

Backtrace:
#0 0x... intel_dri_bo_map() <-- Mapping failed, possibly due to freedom interference
#1 0x... CRenderer::renderScene() <-- Scene contaminated
#2 0x... CCompositor::renderFrameForMonitor() <-- Monitor displaying pure ideology now
#3 0x... main_loop() <-- Loop couldn't handle the truth
#4 0x... libc_start_main()
... (stack trace obscured by what appears to be... beard hair?)

[CRITICAL] Hyprland Crashed. SIGSEGV. Probable Cause: Exposure to concentrated doses of Richard Stallman via photographic prints. The 'white liquid' (high-intensity whitespace/purity) from the photos appears to have overloaded the rendering pipeline. Recommend shielding hardware or using less ideologically charged desk decorations.```

This entry was edited (2 months ago)

[anecdote] You learn something new every day with linux


Wanted to share an anecdote (I hope that's OK). I jumped to Linux on my gaming pc last August (Bazzite) and I've been having a blast. Almost everything works either out of the box or with a minor tweak (the tweak being updating Proton). But I am the sole linux user in my D&D/gaming group, so obviously this is the source of some of our banter.

Last night, we decided to play some Valheim. Bought it before switching to Linux and never tried it, so steam had to install some compatibilty stuff. But once everything was installed, it too worked like a charm (surprise surprise). We were having fun, sailing around on our ~~crappy raft~~ mighty longship and striking a nice pose while doing so. I decided to take a screenshot, but didn't know if there was a keybind to disable the HUD, so I asked the two more experienced Valheimers with whom I was playing. Neither of them knew it by heart, but one of them looked it up. He said: "It should be Ctrl + F3". I tried it and it didn't work for me, but it did for him. "Wow, imagine playing on linux where nothing works" our other friend chimed in (jokely, don't worry). Our first, more helpful friend said: "Maybe try Ctrl + Alt + F3?" So I did. Then, my whole computer froze, just as we landed on the edge of a dark forest with our raft. I thought: Oh fuck what did I do this time. Pressing again didn't help, but after about 20/30 seconds, I was greeted with a shell login. Now I could hear my friends and the game in the background again, and they could hear me, but all I saw was a shell. I decided to log in, and still only got a shell. So, as my friends were frantically fighting a skeleton, I was searching for what on earth happened, and, more importantly, how to fix it.

Thankfully, I wasn't the first idiot to start pressing random buttons on their Linux system, and someone had this exact issue years back as well. I had a quick read, and learned that apparently the Ctrl + Alt + Fx buttons switch between virtual terminals. The post on the Ubuntu forums mentioned needing to switch to terminal 7 (Ctrl + Alt + F7), which also didn't work. But trying the other buttons, I found that the desktop environment is on terminal 2 (at least on Bazzite/Fedora).

And the funny thing here is that, even though I was essentially gone for a full minute, maybe a minute and a half, my character was fine, my Linux naysayer friend had died to a skeleton, and I had learned something new about our great OS 😀

This entry was edited (2 months ago)
in reply to Blubber28

It is possible that you are running the windows version. You can find out in properties of the game. If the 'force compatability tool' is checked, under compatability, it will download the windowns version and run it through compatability layers. Otherwise you might have just seen the dialog about precompiling shaders.

Worth noting that sometimes developers make a linux version of their game, but neglects maintaining it. In those cases it is preferable to just run the windows version with comp layers. I think the linux native valheim version is alright though. Good devs.

This entry was edited (2 months ago)

Best way to resolve tailscale and wireguard race condition


I've had a VPN running on my server via Wireguard for ages with no issues. A couple of weeks ago I finally got round to setting up Tailscale so I could access it remotely and again it worked fine without any issues. I rebooted my server this morning and while I was out I realised I could no longer access it, once I got home I discovered everything else was working fine it was just inaccessible over Tailscale.

After some troubleshooting I've come to the conclusion that if Tailscale starts first the other VPN's routing entries take priority and Tailscale doesn't work. If Tailscale starts second then it seems to work fine. As far as I can tell I have a few options for fixing this but I'm not sure what would be the most recommended. The simplest solution is probably just to disable Tailscale from autostarting and start it manually, however I'm likely to forget that at some point and will probably only notice when I'm out and can't access the server to start it.

If I add the following to the Wireguard config file this solves the issue: PostUp = ip route add 100.64.0.0/10 dev tailscale0
PostDown = ip route del 100.64.0.0/10 dev tailscale0
However in that case if the other VPN tries to start first it just fails as the tailscale0 interface doesn't exist yet, so all I've done is reverse the order I need them to start.

I could also edit the wireguard or tailscale service files with before or after targets, that would be fairly simple to do but I think its not recommended to manually edit package provided service files? The tailscale one specifically says its meant to be read only.

The final option I can think of is to disable the tailscale service on startup and then create a systemd timer to start the tailscale service with a slight delay after boot. I think this may be the best method as I can't see any downsides, but maybe I'm overlooking something?

This entry was edited (2 months ago)

Looking for advice buying a laptop - lists of requirements inside


Hey everyone!

I just bought a Lenovo Yoga L13 Gen2 and I am greatly disappointed, after installing Arch on it it's overheating a lot even when I only have Firefox open. During my research buying this laptop I also made the mistake of not checking if the RAM can be upgraded and now I'm stuck with 8 GB of soldered on, non-upgradable RAM.

Anyways this is why I'm turning to you, I spent hours upon hours researching trying to find the perfect laptop to buy before settling on this one, and since the result was so catastrophic I figured why not ask around in the community a bit.

I was only going to buy a used model since my budget isn't that big. The laptop is intended for browsing and some (Java) coding, so it doesn't need to be extremely powerful. The main use case is for a small laptop that I can use on my lap on the couch or in my recliner to browse or do some coding while using (Arch) Linux.

My MUST have requirements are:
- 13 inch screen (max 14 inch)
- Touchscreen with at least Full HD (1920x1080) resolution
- Good/ perfect (Arch) Linux support
- Good cooling/ doesn't get super hot

Ideally the following requirements should also be met:
- Touchpad buttons with dedicated middle-mouse-button
- Backlit Keyboard
- Bright screen
- Upgradble RAM or alternatively 16 GB RAM version available

I intend to spend around 300€ max used, for reference I paid 190€ for the L13 Gen2 with 94% battery health.

I would prefer a laptop that isn't older than 8th/9th Gen Intel and equivalent AMD. I would be open to models with Intel and AMD chips.

I am so grateful for anyone who sees this post and comes up with some suggestions, after hours upon hours of research I am a bit exhausted and desperate for some community suggestions.

Have an awesome day everybody! 😀

(RESOLVED) Network is slow after installing Fedora


For context, I just installed Fedora Workstation and I am dual-booting alongside Windows.

For some strange reason, download speeds are hovering around 200 KB/s, and sometimes randomly dropping to below 70KB/s. This occurs when I boot into either Windows or Fedora. Before installing Fedora, my speeds were usually >50MB/s, sometimes a couple hundred MB/s if the network isn’t very busy. This might be an issue with network drivers being weird since I’m dual booting, or maybe I need to manually install drivers for Fedora.

(for comparison my phone, using the same network, has >100MB/s download speeds)

EDIT: I’ve updated to Fedora 42 and network speeds are now in the MB/s again. Not sure what happened. Now it seems that when I install from “flatpak-1” rather than just “flatpak” speeds are great. Also, dnf install has good speeds now.

This entry was edited (2 months ago)
in reply to nycki

Don't believe so, best that's currently available is skimming through the video to look at the slides.

Here's my short summary of the presentation, I tried to denote what's being worked on (open PR), what's kinda being done (WIP), and things stuff they'd like to be done in the future (wishlist). May be somewhat wrong.
* Flatpak is stagnant
* Red Hat is working on a better way to preinstall flatpak apps (open PR)
* Flatpak should is slowly moving towards OCI and away from ostree (more tooling available, don't need to maintain their own tools)
* Better permission handling that is more backwards compatible (open PR)
* Should directly use Pipewire instead of Pulseaudio (WIP)
* Allow user namespaces in flatpak sandbox (WIP)
* Move dbus proxying into dbus brokers (wishlist)
* Improve network sandboxing (wishlist)
* Improve drivers handling, currently drivers need to be built for each runtime, could cause issues if using EOL app on new hardware (wishlist)
* Work on portals directly improves flatpak

This entry was edited (2 months ago)
in reply to Leaflet

Haven't seen the video, I'm only commenting based on the summary in the comments.

It's good that flatpak is switching to OCI containers. Hopefully that will end the flatpak's dependency hell. This week I was looking at flatpak as a way to publish my app and found the user experience (user is the app publisher in this context) quite bad. Could be skill issue obviously.

I thought I could just look into a database of flatpak runtimes, pick the one with the software I need, add additional packages and be done with it. Unfortunately it is not that simple.
First of all as far as I know, there is no "database" like archlinux.org/packages. You have to download the runtime and then search /usr/include/ or /usr/bin/ to check if particular piece of software exists in it.
Adding additional packages is also quite difficult. There are these runtime extensions which are like "baby runtimes" for special software like ffmpeg, java, etc. They kinda suffer from issues similar to the issues of the runtimes. And unlike in regular distros where you can get a package for almost anything, here you don't have the luxury and have to bundle that not so popular dependency.

I hope that with OCI I will be able to just provide the binary, a link to the base image and a list of dependencies to install and be done with it.

This entry was edited (2 months ago)

I swapped the entire school computers to linux mint


I go to a programming school, where there were computers running ancient windows 8 and some were on windows 10, they ran really slow and were completely unrelaible when doing the tasks that are required, those computers in question had either i5-4750 (I think?) or i7-4970 so running windows 10 with all its bloat was not going to be an easy task for em, so long story short I decided to talk to the principal about it explaining why linux is so much better than windows and gave him reasons why linux will be better for us for education and he agreed after considering it for a bit, he let me know that some students play roblox or minecraft in middle of the lesson and he asks if linux would stop em from doing that, I stated that as long as they dont know how to work with wine/lutris or know any specific linux packages that run windows games on linux they should not be able to play in the middle of lessons.
he gave me the green light to do it, so I spent like 3 days migrating like 20+ computers to linux (since I had to set them up and install some required applications for them)
in the last day where I was doing a last check up on the PCs to make sure they are in working order, there was a computer having a problem of which where it didnt boot, I let the principal know about this to get permission to work on it, he said yes, so after some troubleshooting I realized the boot order was all screwed, so since Ive worked with arch before I knew how to fix it, I booted up linux mint live image, chrooted, and fixed the boot order and computer went back to life, prinicipal came in checked on everything to make sure everything works, told me to wait for a bit, and then came back and paid me for his troubles (was a bit of a surprised since I expected nothing of the sort), the next day I came to school, sat down, turned PC on, noticed something was in the trash bin, opened it, found "robloxinstall.exe" on it, told the principal about it, he was pleased with it, so now 2 weeks later he seems now to be confident about linux, as he told me there is another class he is considering to move to linux.

so my question here would be: does this mean linux now is ready for the education sector?

(considering now, that I got a win win situation, I get to use an OS that I like in school, students gets to focus on the lessons instead of slacking.)

What's a good, beginner-friendly distro that allows for easy switching between GNOME and KDE?


I'm thinking of switching to Linux as my daily driver after trying it out both Fedora Workstation and KDE using Live USB, but I'm wondering if I should consider other distros besides Fedora. I've heard of openSUSE, is that decent? Not many people really mention them. Linux Mint is great, but I don't like Cinnamon all too much.

What's a good desktop-agnostic distro that lets you easily swap between the two?

edit: Woah, it seems that you're able to swap between DEs from the login manager as long as you install both. Okay then, new question, for a beginner friendly distro, should I go for Fedora, OpenSUSE, or something else?

edit 2: a bit more information about my device and my preferences...

On KDE Plasma vs GNOME, I would like to try both out and see which I like better long-term. KDE Plasma seems a bit more familiar (closer to Windows 10) whereas GNOME is a bit more different but I'm open to using either.

I'm running a laptop with an Intel i7-1360P. It's one of those 2-in-1 convertible 360 degree hinge laptops.

I would say I'm open to learning how to work with the terminal and customising the distro a bit, but I don't want to do anything too out of my scope. I don't want to spend too many hours setting it up, I'd rather have something that works mostly out of the box 😁

I want a stable distro as in I don't want to break my system after an update, but still want something up-to-date though. I'm open to rolling release distros, but to my knowledge those are usually less stable with more breaking changes than fixed release options.

edit 3: just installed Fedora Workstation and it works really well! Multi-touch with my trackpad works fine and everything runs smooth. File read/write speeds were also strangely a bit more consistent (on Windows it jumps between <100KB/s and 60MB/s whereas on Fedora it’s consistently around or over 45MB/s…weird…)

My only issue right now is that the touchscreen doesn’t work anymore, how do I install the drivers for that?

edit 4:

Touchscreen and even rotating the screen when the device works now after an update :DDDDD

now I’m slowly installing my programs again…

This entry was edited (2 months ago)
in reply to Vopyr

I want a more stable distro, so I'm not considering the rolling release options (like manjaro and EndeavourOS). I've also heard that not many people like Ubuntu because of snaps, why is that?

edit: are rolling release distros stable enough (e.g. will it randomly crash/have weird issues?) and is it possible/easy to roll back to a previous version if there's a breaking update

This entry was edited (2 months ago)
in reply to sbird

I’ve also heard that not many people like Ubuntu because of snaps, why is that?


Well, people don't like snaps for a number of reasons, because they are forced on users, bloated and slow, Canonicals themselves are quite shady, systemd, etc.

I would rather use several different types of packages than trust one that is tied to a shady company.

This entry was edited (2 months ago)

Progress update on the Ventoy blob problem


Posting this since quite a bit has changed since I last posted about this on !technology@lemmy.world.

Here's a rough breakdown of the current status:

  • shared Ventoy components: build and seem to work, needs more testing
    • grub / menu - builds
    • EDK II apps / UEFI chainloader and more - builds
    • iPXE / BIOS chainloader - builds, with fixes for newer toolchains
    • ISO9660 and UDF drivers - TODO


  • Ventoy CPIO / Linux ramdisk: builds; I deemed musl xzcat unneeded, so I skipped it; needs more testing
  • wimboot / Windows chainloader (?) - stalled, I lack the necessary knowledge to work on it
  • geom-ventoy / FreeBSD disk mapping kernel module - is being worked on, slowly; not ready for testing
  • anything else is a TODO

This should be enough to boot Linux with just what's built manually, but I haven't tried that yet.

Secure Boot is just done by using a pre-built bypass package. I'll deal with that later.

Having more people testing this would be nice. 😀

Cheers

Fediverse Corporate and National Sabotage


The GenP subreddit got banned on Reddit. We can only take a guess as to why(I seriously don't know, please let me know if you do).

But regardless, it brings up a serious question. How will big corpos and nations force their control on lemmy and other fediverse communities?

Places like reddit, twitter, instagram and even "fediverse" bluesky cave to demands from corporates and countries all the time. But what happens when the real fediverse platforms get attention?

How will they ban, sabotage and coerce instances and communities to cave into demands?

I know lemmy and other fediverse platforms are still very small right now, but I believe it's only time before the sabotage begins. Instagram stepping into the territory tells you how scared zuck already is.

And How will we get around this?

This entry was edited (2 months ago)

Which (Lenovo) notebooks to buy when coming from Apple Silicon?


Which notebooks are recommendable when coming from Apple Silicon-MacBooks in terms of runtime and efficiency, preferrably for Fedora or Manjaro with KDE Plasma? For now, I am looking towards Lenovo T14(s) or X1 Carbon - mixed use scenario including simple media (photos, cutting 1080p-videos, media management, Office & mail) stuff? Still love the "Lenovo"-brand and its keyboard and look 'n feel so this vendor would be my favourite.

Can anyone of you here recommend Snapdragon-devices yet which would be the best comparison as it's also architecture based on ARM? Both Fedora and Manjaro have ARM-builds so I hope that the Snapdragon-devices could get along with my desires here...

Thanks for any input!

in reply to Oliver

I'm also making the slow transition from Apple to Linux, and I (relatively) recently bought a Framework 13. I went with kind of a minimum-specs loadout, figuring I didn't really know what I was getting into and I could upgrade it later (the primary selling point of Framework). I've been satisfied with running Fedora/Gnome on it for several months. I get the impression that the distro is more important than the hardware in terms of having a comfortable MacOS-to-Linux experience. But because Framework explicitly supports Fedora, I felt like it was a smaller step away from the walled garden, "it just works" experience of being a Mac user team just going straight to a distro and manufacturer that was likely to require a lot more manual setup and knowledge.
This entry was edited (2 months ago)

Anyone here rocking the Linux Format magazines?


Believe this is one of the few vendors left making and distributing Linux magazines still(?). Would be interesting to hear what peoples feedback on these are, whether its this one or another. Seems like a fun monthly delivery to get!

Source;
magazinesdirect.com/az-single-…

This entry was edited (2 months ago)

GitHub - vinifmor/bauh: Graphical user interface for managing your Linux applications. Supports AppImage, Debian and Arch packages (including AUR), Flatpak, Snap and native Web applications


Unknown parent

lemmy - Link to source

Vincent

They're saying they want something like Synaptic (mostly for its "multi-select", apparently, though I'm not sure what that means?), but have it support AppImages, Flatpaks, Snaps, etc., instead of just Debs like Synaptic does.
in reply to Vincent

Don't feed the trolls, especially the ones that are bad at it. But yeah, this app doesn't let you select and uninstall multiple things nor does it have all the functionality of Synaptic (which is amaze). I'd settle on a CLI tool for this too, I just want a one stop shop because I get so triggered having to juggle different managers. It's just fucking annoying really. Like, I found the cli tool Topgrade and it is just the best thing ever for keeping things up to date from all package managers, I want that with extended functionality as even this tool doesn't manage every manager that Topgrade does. Something modular, otherwise I waste time fucking around with everything.
This entry was edited (2 months ago)

A load of mastodon users think groups are just autoboost accounts.


Just realised this, most mastodon users who have had experience with groups think they are just bots that auto-boost any posts they are mentioned in.

This is kinda annoying me.

watty doesn't like this.

Request for Opinion - JCL but for Linux??


Any interest in this:

LJL is a job creation language that takes a job file, gathers items mentioned in its various lines and here-documents, and generates a runnable .deck file (short for "deck of cards").

The .deck file is a complex Bash script that creates a log spool and several temporary files in /tmp/. It automatically cleans up scratchable files after the run. The log file contains the output of each step, including any program results.

Any questions about it? Any suggestions?

This entry was edited (2 months ago)

Download and play a windows only steam game?


Hey !
I bought a game on steam, but I cannot install it on lutris as it's not even listed...
It's a windows only game. Is there a way to play it? Am I doing something wrong?

The game is Wednesdays : store.steampowered.com/app/274…

Thanks!

The time has come: how do I safely resize the C: partition and move Linux to that disk?


cross-posted from: lemmy.world/post/28921393

It may be too much to ask but here it goes:

I have temporarily installed LMDE6 on an HDD where I had a bit of free space, worked with it, experienced Steam with Proton and now I am convinced: I want to move to Linux from Windows for good.

Have another disk, an SSD in which most of the space is taken up by the Windows C: partition.
Would like to move Linux there after shrinking the Windows partition a bit more than what it currently occupies now.

I have tried to do this with Paragon on Windows, but after restarting no change can be seen, despite no error being presented.
Tried from Linux with GParted but all attempts end up with an error when running ntfsresize.

So
1. What do I use to do this and how do I do it safely?
2.How do I move the content of my current Linux partition (less than 50 GBs) to that disk keeping the bootloader and everything else working? And what filesystem is best to use?

Thank you in advance for your help!

in reply to biofaust

Others have pointed out what may he going wrong (drive locked due to Windows fast startup).

A slightly different tack - dual booting windows and linux on the same drive is a bad idea. One reason is the messy boot set up which can cause issues with windows not booting or linux not booting, or either/both fighting over the boot partition. It can get to the point of using repair disks to repair one or the other or both. It can be managed but make a mistake and its a real headache to fix (I say that as someone who has been their and done that and learned the lesson)

If you want to switch to linux but keep windows "just in case" and have a desktop I'd get a new SSD and use it as a dedicated linux drive. SATA or even better an m.2 card if your motherboard has the slots.

A separate drive is far better as linux can be the drive booted by the BIOS and then Grub can then point back to your untouched windows drive to boot it when you want. If linux updates it won't affect windows, and if windows updates it won't affect linux. Also if you have a drive failure you won't lose 2 OSes and all data in one go.

Personally I have 5 drives in my PC - easy expansion of storage is a big benefit to a nice full size PC. I have one largely unused windows drive, and 4 ext4 drives.

This entry was edited (2 months ago)
in reply to biofaust

If I was to install one more home partition from the LMDE installation USB, would it automatically fix things for me in Grub or would I have to fix things myself before or after?


If I understand you right, you want to install two additional SSDs, one for Linux root (system), probably ext4 formatted, and one 'home' for your personal data?

If that's the case, the boot loader GRUB is going to be installed onto the system SSD and will usually automatically detect the Windows boot loader on your current, Windows only, hard drive. If it didn't, you need to toggle an option in GRUB's configuration file and run update-grub again.

For your home-partiotion on the other SSD, there exist two options:
1. The home partition is Linux exclusive, probably ext4 formatted (this doesn't work with NTFS), and all your data will be stored there. Yet, afaIk, you need to install an ext4 driver in Windows to access the data when you're on Windows.

  1. The home partition is mutually accessible. (This the setup on my wifes laptop). There it's NTFS formatted and the respective folders (Documents, Downloads, Pictures,... ) are mounted one by one using bind in /etc/fstab to their Linux counterpart.

Edit: I've forgot to mention that, first I created folders named Documents, Downloads,... on the new partition before being able to mount them in Linux.

After copying the data in Windows from the old folders to the new ones, the old folders can be deleted and replaced by hardlinks to their new counterparts using the Windows command line or PowerShell.

This entry was edited (2 months ago)
in reply to biofaust

Just a possibility: Check if the m2 slot is for disk. There are many boards where there are WiFi exclusive m2 ports. For disks there are also m2 sata and m2 nvme port variations. You need to find out what yours are. Consult your motherboards technical documentation if in doubt. If the BIOS can boot from it, Linux can too.

Edit: that beeing said I never encountered problems with a similar setup ( I boot from Linux on nvme m2 then there is a combined windows /data disk)

This entry was edited (2 months ago)

Fediforge - An easy way to host a lemmy instance


Hello

After about a year working on Fediforge, I have finally launched it. Fediforge provides managed hosting for lemmy and there will be added support for other fediverse platforms(Such as Mastodon, Peertube and more) in the future.

A little info on the setup of Fediforge.
- Hosted on servers from OVH + Colocrossing and are located in east USA(Around chicago)
- Automated backups of database with 10 days retention
- Replicated s3 storage for media files
- Active monitoring of all instances hosted.

Let me know, if you have any issues, ideas or feedback(and optionally add it here).

This entry was edited (2 months ago)

Transport endpoint is not connected


Hi, folks! 👋

I want to create a local ip address for my virtual machine. I use virt-manager + QEMU. So, as I got it - I need to create a bridge for doing this. But... When I'm trying to connect a created bridge to a virtual machine:

Then trying to start a virtual machine, I gets this error:

Ошибка запуска домена: /usr/lib/qemu/qemu-bridge-helper --use-vnet --br=br0 --fd=32: failed to communicate with bridge helper: stderr=failed to create tun device: Operation not permitted
: Transport endpoint is not connected

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
    ret = fn(self, *args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 1402, in startup
    self._backend.create()
  File "/usr/lib/python3/dist-packages/libvirt.py", line 1373, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: /usr/lib/qemu/qemu-bridge-helper --use-vnet --br=br0 --fd=32: failed to communicate with bridge helper: stderr=failed to create tun device: Operation not permitted
: Transport endpoint is not connected

For creating bridges I use the standard network manager for Xfce:

I use MX Linux operating system for the host machine.

So, what do I do wrong, and how can I fix this problem? 🤔

This entry was edited (2 months ago)
in reply to HungryLemon

Thanks so much! 😄 I finally solved my problem 😉

First step that I've do - I found this article 👉 **mike632t.wordpress.com/2021/04… and doing all from there.

The next step - I've add a bridge to an existing network interface:

sudo brctl addif br0 eth0

And the next step - I've started up this bridge:

sudo ip link set br0 up

And now everything works fine 👍

This entry was edited (2 months ago)

How I gave up a one-game addiction to switch to 100% Linux (long story warning)


Let me apologize first. I'm both old and new to Linux and have made a ton of noob moves since switching back. I know most people in this community are probably already Linux users, but I'm hoping that some Linux-curious people will stumble upon this.

Lets start with the game. I am a former League of Legends addict. Embarrassing, I know, but I had been playing since the glory days (I started right at the beginning of season 2). I never ranked; I would play ARAM and URF to either pass time or keep myself awake if I felt drowsy. I was good, too. Not great, but more often than not I'd go 16/2/12 or something similar. It released massive amounts of dopamine for me. The ARAM bridge felt like a home away from home.

Moving on from League... I had been starting to smell Microsoft's shit from a long loooong ways away. Like, Win7 days (rest in peace, XP). I had been introduced to Linux and the basics of maintaining Linux from a class I took in high school. Lets be honest, though, Linux wasn't really in a gaming state then. You could, but you would be jumping through a lot of hoops for a 50/50 chance it would be stable gameplay. Honestly, though, Microsoft's stink flows much further back than you'd think and it was already grating on me then. I was already considering the move.

I sat on Win10 for a while and even opened my PC to the Win11 beta. It was okay, I didn't auto-hate it like most because a lot of the Windows UI I used was third party and I changed theme colors through the registry. There were ways to remove bloat and most Microsoft snooping garb, but it took work. Thinking I knew what I was doing, I messed with the system32 folder. If this were the Win7 days, I probably would have known what I was doing. I simply wanted to change the internal image viewer to a 3rd party viewer. Microsoft gave default selections for a lot of things, but changing photo gallery was a fight for some reason.

Needless to say, I messed up. No default apps would open anymore. Couldn't even get calculator running. So I reinstalled. Back then, you still had to use Win10 and update to 11. I reinstalled, saw my windows old folder, knew everything was safe, and updated. Huge mistake. Win11 was not just an update, even if you start it from the update panel. It's a full OS install. My ignorant self thought it was just a Win10 glow up. My windows old folder got overwritten by an empty windows old folder.

After a whole day of recovery process I probably recovered 99% of my files, but my time with Windows was quickly closing. My friend pointed out that this was a good time to try Linux. Steam Deck had just launched and Linux was gaining ground in the gaming scene and FAST. So I backed everything up to external (which I should have done earlier, smfh) and grabbed the most likely candidate, Pop!_OS. Soon after, at my friend's pestering, I switched to Arch- Manjaro- and then later EndeavourOS.

I messed up EndeavourOS by using topgrade. It didn't occur to me that it was user error, and I just thought it was something EOS didn't rub shoulders well with in my system. So back to Manjaro. Then D4 came out. Another shame of mine. I'm a huge Diablo 2 fan and played my fair share of D3. I got the early access. Couldn't play. Panicking, I reinstalled Windows 11... just to find that the game was pure garbage. I played for a bit, hoping things would improve but.... Blizzard got me again. But I was not moving back. I had moved so much already. Funny thing is: Proton came out with an update not even 24 hours later that fixed D4... Doh.

During my second time on Win11, Riot pushed out their knuckleheaded kernel-level anticheat. I wasn't worried, I was on Win11, w/e. Then Microsoft dropped some big shits on Windows. Snapshots of your screens ("it'll be held in a private encrypted partition of you drive!", yeah fucking right... pull the other one), ads in the start bar, and then pushy af popups to integrate your system with their AI. I was insulted. Win11 was already one giant piece of malicious software even before all this. Granted, I used startallback so I didn't get the ads, but it was the idea of the thing.

So I did it. I dropped League and moved to base Arch. I will not let Microsoft have even 100gb of my drive now. I make do by playing other games, being actually productive in life, or diving into something new within Linux. I grew up. I said no. PC owners should be banding together and dropping Windows right into the garbage. Screw their proprietary plugins, screw their insecure kernel access, screw their ads and data-harvesting AI, and screw their sneaky photos of my screen. I knew when they backpedaled on that screenshot shit that they'd push it more quietly later. I told everyone that they would. And they did.

Dive into VSCodium, or Neovim, or VIM, or emacs. Explore open source and, like me, find that most apps are pleasantly better than their commercial counterparts. Play with your terminal. Wreck things and reinstall (just hard copy everything to external first). Lets make ODF industry standard, like it should have been before Microsoft outbid and muscled docx in. It may take ten, twenty, fifty years but fuck it. I'm all in and my bet is on Linux. My next big project for my next PC build? Gentoo (I am not quite ready for Linux from Scatch, lmao). Its time I actually learned more. I've already dived deep into the Arch Wiki and I've already dived into NixOS and nixlang. We need to go deeper now.

Linux is easier than ever now. Experiment with it! Scared to fully make the move? Grab a small SSD to test it out safely! Just... know what you're doing with partitions before you do. Either that or take your main SSD out before installing. However, most Linux distros let you use them right from the USB stick to check them out. Just ignore the installer and play around a bit. Remember that USB is going to be substantially slower, so don't make your decision off of speed. You'd be surprised at how much faster Linux can be.

tl;dr: Switch to Linux and stop giving out your data for free. Ad analytics should be a choice, and one you're paid to do. Your information is incredibly valuable and so is your privacy. If you pay for a product, that company should NOT be triple dipping and making more money off of you, no matter how non-invasive it is. Its all invasive, even if its hidden.

PS: I won't mention mac here. I really have no experience in iOS or macOS. Apple garden is Apple garden and that's about all I know. Microsoft and I go way back (Windows 3.14), and I've watched them slowly and then quickly corrupt over time. Like a turd rolling downhill and collecting garbage.

This entry was edited (2 months ago)

Sausage, a terminal word puzzle in Bash, inspired by Bookworm


gitlab.com/christosangel/sausa…

sausage is a terminal word forming game, written in Bash.

This game was inspired by en.wikipedia.org/wiki/Bookworm….

https://friendica.eskimo.com/photo/preview/1024/7186470

The aim is to score points by creating words, moving around in six directions in the grid, using consecutive letters.

When the user created longer words, coloured letters appear. The user can score more points by using these coloured letters.

More points can also be scored, when the user manages to create the bonus words.

When smaller words are created, or low point yielding words, red letters appear in the grid. If not used, these red letters will drop one cell in every turn.

When a red letter reaches beyond the bottom of the grid, the game is over.

The user can also reshuffle the letters in the grid, in order to be able to create words. However, there is a price to this action: the existing red letters will drop one cell, all other bonus coloured letters will be lost, and more red letters will appear.

If the score is among the 10 best scores achieved, it makes it in the Top Ten Highscores.

This entry was edited (2 months ago)

Selfhost offline software


Recently in Spain we have suffered a complete power outage, with no electricity for a long time.
Some were able to have power on their computers with generators, solar panels, etc.
And I know you can have data connectivity with SDR or HAM radio.
But my question here is, what are some good self-host/local offline software that we can have and use for when something like this happens.
I know kiwix, and some other for manuals. Please feel free to share the ones you know and love, can be for any type of thing as long as it works completely offline, just name it.
Of course for GNU/Linux (using Arch myself BTW).
Thanks in advance.
in reply to 6R1M R34P3R

You mentioned ham radio --- definitely fun! It's a process to get into it though, as you need to study/pass an exam, and then you need a radio. Radios range from cheap ($25 or so) in the VHF/UHF ("walkie talkie"-style) to more expensive for an HF rig ($1000 range for 100W HF). If you want to get into low power ("QRP") it can be much cheaper. You also need a fair amount of space for a good antenna setup...

There are tons of different communication modes, some without a computer and, like you mentioned, some that use computers. wsjtx and fldigi are popular programs.

Good luck!

This entry was edited (2 months ago)
in reply to 6R1M R34P3R

So... I've done that May 2023 for a holiday trip.

I left with my RPi4 and fee gadgets but no Internet.

There I built git.benetou.fr/utopiah/offline… and my main take away is

  • you can build what is missing

and more importantly the meta take away is

  • you need to iterate preparations

because just like first aid you need to be actually ready when needed and knowledge change over time. You need to actually try though, test your setup and yourself genuinely otherwise it is intelectual masturbation.

Have fun!

Now introducing "haxx", a nonsense hacking generator.


Gives you a bollywood experience right into your terminal, with more than 1000 ips simulated! An INFINITE amount of simulated names! Over 100 different types of glitches! An overly dramatic hack, just like seen in the movies! And more (If you -REALLY- have a lot of time to spend staring at this command.)

Click here to grab the C code, followed by instructions on how to compile it.

This entry was edited (2 months ago)

[Solved!] No EFI system partition found (dual booting Mint/win10)


Hello, im trying to install mint to try getting away from Microsoft, but im running into issues installing, and all my troubleshooting is making me even more confused (I am not very techy)

I have windows installed on my nvme drive, and a 30gb section partitioned off for mint. I also have an empty ssd for more storage (/home). When I go through the installation process, it doesn't recognize another operating system on the computer, and when I try "something else" to install it, I get an error saying "no EFI system partition was found".

I know I can partition off a small section for the EFI partition, but I am trying to dual boot and I assume this is not the right way to do it, especially considering it doesn't recognize that windows is on the system. I'm also very hesitant to just send it, as I don't want to lose any of my stuff (the most important stuff is backed up)

Edit: I'm trying to install mint 22.1, but almost all of the resources online are talking about 21

Edit 2: I have learned my BIOS mode is legacy, not UEIF (i assumed it was since my bios screen says UEIF when booting)

Edit 3: got it working!

This entry was edited (2 months ago)
in reply to FilthyShrooms

Edit: I just realised your Edit was saying you've got legacy bios! So this is all irrelevant. I'll leave it up in case it helps someone else.


Could it be selecting the wrong SSD to put the boot loader on?

When I reinstalled mint the other day on my laptop with an nvme and SSD (also dual boot) it labelled the extra SSD as sda and the original nvme as sdb, so it was going to try to put the bootloader on sda.

I set up the partitions on the third option (1. Install alongside windows; 2. Wipe everything; 3. Set it up manually) and on the manual setup there's a selector for the bootloader device just underneath the main section where you select partitions to use for /, /home, etc.

IIRC you set the bootloader to the full device (in my case sdb) not the EFI partition (sdb1) and it works out out.

This entry was edited (2 months ago)

Is there any lemmy instance that's truly liberal enough to tolerate a completely divergent point of view ? The EU norms are not for me, and I'm also far far away from the MAGA politics of USA !!!


in reply to Curious Mind

That's what I wrote. Lemmy is a software, which can be ran on servers. You're currently on somebody else's server. In a group that is moderated by yet different people.... They gave some rules to you and you now have to choose whether you're willing to play by their rules.

Obviously, they haven't banned you yet, despite you saying lots of unproductive, short sentences. I'm not sure if your original question got answered here. If you're more interested in the details of how Lemmy works, read for example the documentation and Wikipedia article.

This entry was edited (2 months ago)

[SOLVED]Unity Hub hangs at login: what terminal commands can I use to see what it's doing?


I switched to a Linux Mint/Win11 dual boot system over the weekend and installed Unity from Flathub. Running Unity Hub is fine but when I try to login, it hangs with no errors. I can log into the asset store just fine, so nothing wrong with the credentials. I'd like to know what terminal commands I could use to see what it's actually doing and figure out why it hangs.

I really don't want to continue using it in Windows and only keep it to run work programs, and really need to use Unity for University.

Edit: Troubleshooted via the terminal, then uninstalled the .Deb package that I downloaded from the Unity website and then followed another tutorial from another part of their website with terminal commands. Managed to log in and run my projects.

This entry was edited (2 months ago)

[SOLVED] Weird root permission issue on Sway which is not present in i3


Hello fellow lemmings

I am a long-time i3 user and have decided to switch to Sway.
I have encountered a weird error which has left me utterly bamboozled.

I am using Ubuntu 24.04 which has gone from 20.04 -> 22.04 -> 24.04.
It has Ubuntu-Gnome, i3 and Sway currently installed.

The issue


The error that I'm facing is when I'm using Sway, I simply don't have sudo access.

This is what the error looks like

$ sudo visudo
[sudo] password for xavier666:
Sorry, user xavier666 is not allowed to execute '/usr/sbin/visudo' as root on <HOSTNAME>.

When I switch back to i3, my permissions are fine for the same user.
I have not done any crazy modifications to the sudoer's file as far as I can remember.

PS: I have added a command to no-sudo xavier666 ALL = NOPASSWD: /usr/bin/brightnessctl

The "fix"


I temporarily solved it by adding xavier666 ALL=(ALL:ALL) ALL to the sudoer's file.

IMO, I think this should not be required.
I don't remember ever adding the default user to the file for all the installations that I have done.
(But this is the first time I've installed Sway)

Logs/Outputs


Running sudo -l without the fix (on Sway)

Matching Defaults entries for xavier666 on <HOSTNAME>:
    env_reset, mail_badpass,
    secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin,
    use_pty

User xavier666 may run the following commands on <HOSTNAME>:
    (root) NOPASSWD: /usr/bin/brightnessctl

When I run the same command on i3, i get this (ALL : ALL) ALL extra line in the output.
And when I run sudo -l with my fix on Sway, (ALL : ALL) ALL is present and the permission issue is fixed.

What is causing Sway to remove the root permission for the user?

Note: I'm just asking for the standard sudo behaviour. I'm not trying to run GUI applications as root.

Edit:

The issue was caused by swhkd.
It was installed as a setuid binary (as instructed by the developer of the project).
Once I switched back to sway's default keybinds and disabled swhkd, the permissions were back to normal.
I removed my previous "fix" in the sudoers list and I still have sudo access.

Thanks a lot everyone and specially @gnuhaut@lemmy.ml for pointing me in the right direction.

This entry was edited (2 months ago)
in reply to xavier666

Yeah so this does not confirm my hunch, and I don't think sway is changing your group membership. Version 1.9 does not allow sway to be installed setuid root, and it isn't, as confirmed by the ls output.

So it must be something else. It could be anything between the login shell in the console and the shell started with the messed up groups. What's weird is that in order to change group membership, you would need root permissions (technically you only need CAP_SETGID, but why would you have that?). I think there are really only two ways to do that: Run a binary that has the setuid bit (like e.g. sudo) or CAP_SETGID, or talk to some process (e.g. a daemon like systemd) that is already running as root, and ask it to do that for you.

I cannot imagine why anything between the login shell -> sway -> ??? -> zsh would be either setuid root, or have any reason or permission to change groups in any way. So that's really weird and interesting.

How do you open the shell inside sway? Keyboard binding from sway config? Launcher? Which terminal? Do any of the involved programs have setuid root bit set (looks like rws instead of x in ls -l output)?

About zsh: I mean I guess in theory one could change groups in the zsh configuration if you had the permissions (which you shouldn't have), but I cannot think of any reasonable explanation why anybody would want do that.

in reply to gnuhaut

Issue resolved!

It was swhkd. Thank you very much for your insight and extremely detailed response!

$ ls -l $(which swhkd)
-rwsr-xr-x 1 root root 2583192 Mar 10 17:16 /usr/bin/swhkd

Since we know what's causing it, can you make a "guesstimate" of what it's doing? Why are other applications are getting infected by it? And why is a keybind manager affecting permissions?

I will raise an issue on their github. The project is already looking for maintainers.

This entry was edited (2 months ago)

~/bin vs. ~/.local/bin for user bash scripts?


For one user account, I want to have some bash scripts, which of course would be under version control.

The obvious solution is just to put the scripts in a git repository and make ~/bin a symlink to the scripts directory.

Now, it seems on systemd systems ~/.local/bin is supposedly the directory for user scripts.

My question, is mostly, what are the tradeoffs between using ~/bin and ~/.local/bin as directory for my own bash scripts?

One simple scenario I can come up with are 3rd party programs which might modify ~/.local/bin and put their own scripts/starters there, similar to 3rd party applications which put their *.desktop files in ~/.local/applications.

Any advice on this? Is ~/.local/bin safe to use for my scripts or should I stick to the classic ~/bin? Anyone has a better convention?

(Btw.: I am running Debian everywhere, so I do not worry about portability to non systemd Linux systems.)

in reply to wolf

I migrated to fish recently and at first I was really annoyed that I had to decompose my ~/.bash_aliases into 67 different script files inside ~/.config/fish/functions/, but (a) I was really impressed with the tools that fish gave me to quickly craft those script files (-

~> function serg
    sed -i -e "s/$1/$2/g" $(rg -l "$1")
end
~> funcsave serg
funcsave: wrote ~/.config/fish/functions/serg.fish

) - and (b) I realized it was something I ought to have done a while ago anyway.

Anyway, all this to say that fish ships with a lot of cool, sensible & interesting features, and one of those features is a built-in place for where your user scripts should live. (Mine is a symlink to ~/Dropbox/config/fish_functions so that I don't need to migrate them across computers).

in reply to applemao

Thank you all so much for your help, here is my output of systemd:

It must be something weird with my initial boot. I am dual booting, but on separate hard drives. My PC does have 6 hard drives in it however. Or, maybe something is messed up in my install?


<br />43.616s fstrim.service
11.630s plocate-updatedb.service
10.593s systemd-suspend.service
 4.389s plymouth-quit-wait.service
 4.277s ufw.service
 4.028s systemd-resolved.service
 3.964s systemd-timesyncd.service
 3.330s NetworkManager-wait-online.service
 2.759s apt-daily.service
 2.293s fwupd.service
 1.563s logrotate.service
 1.316s NetworkManager.service
  835ms apt-daily-upgrade.service
  693ms motd-news.service
  653ms blueman-mechanism.service
  458ms user@1000.service
  450ms dev-sda2.device
  432ms dpkg-db-backup.service
  404ms udisks2.service
  349ms accounts-daemon.service
  335ms gnome-remote-desktop.service
  309ms ubuntu-system-adjustments.service
  307ms apparmor.service
in reply to applemao

fstrim.service is disk tool (that's supposed to only be run once a week, not every time you boot) that automatically cleans up old deleted SSD data. opensource.com/article/20/2/tr…

It looks like it's running too often, or on the wrong devices, every time you boot your computer. You can actually safely disable it; askubuntu.com/questions/116512… but it's worth looking into why it's taking so long and being run so often.

Running this should show you the log results of fstrim doing it's thing without actually doing anything;
sudo fstrim --fstab --verbose --dry-run

These two will show the status of fstrim and it's autorun service;

systemctl status fstrim systemctl status fstrim.timer

I got most of this from a quick google search; duckduckgo.com/?q=fstrim.servi… You can do the same for the other major time-takers on your boot list. For comparison, here's the top results of my semi-fresh install of linux mint;

dageek247@mintPC:~$ systemd-analyze blame
2.237s NetworkManager-wait-online.service
2.077s systemd-binfmt.service
2.003s systemd-resolved.service
1.976s systemd-timesyncd.service
1.916s fwupd-refresh.service
1.365s logrotate.service
1.326s NetworkManager.service
933ms fwupd.service
401ms blueman-mechanism.service
334ms udisks2.service
263ms apt-daily-upgrade.service
254ms dpkg-db-backup.service
229ms dev-nvme0n1p3.device
215ms accounts-daemon.service
201ms power-profiles-daemon.service
199ms polkit.service
197ms smartmontools.service
183ms rsyslog.service
173ms ubuntu-system-adjustments.service
169ms systemd-udev-trigger.service
156ms user@1000.service
155ms proc-sys-fs-binfmt_misc.mount
146ms ModemManager.service
132ms apparmor.service
123ms avahi-daemon.service
121ms bluetooth.service
114ms grub-common.service
111ms lm-sensors.service
106ms switcheroo-control.service
105ms secureboot-db.service
in reply to applemao

On my last computer I found that the boot process was looking for things that weren't there but that the motherboard had rudimentary functionality for like a floppy drive. It didn't even have a connector for one.

For whatever reason, that caused a 10-30 second delay while the kernel tried to determine if there was a floppy drive connected. Pretty sure I had everything disabled via the BIOS but apparently it wasn't disabled enough and the kernel could still see it.

That required throwing something into the system config, probably somewhere in /etc/modprobe.d, to blacklist that particular kernel module.

There was another problematic module as well; I can't remember what that was, but I'm pretty sure it was the same fix. Got the boot time to login screen down to less than 10 seconds.

But all that said, even on this computer where the boot time is pretty quick, I usually put the computer into suspend mode to keep times down.

Sausage, a terminal word puzzle in Bash, inspired by Bookworm


gitlab.com/christosangel/sausa…

sausage is a terminal word forming game, written in Bash.

This game was inspired by en.wikipedia.org/wiki/Bookworm….

https://friendica.eskimo.com/photo/preview/1024/7186456

The aim is to score points by creating words, moving around in six directions in the grid, using consecutive letters.

When the user created longer words, coloured letters appear. The user can score more points by using these coloured letters.

More points can also be scored, when the user manages to create the bonus words.

When smaller words are created, or low point yielding words, red letters appear in the grid. If not used, these red letters will drop one cell in every turn.

When a red letter reaches beyond the bottom of the grid, the game is over.

The user can also reshuffle the letters in the grid, in order to be able to create words. However, there is a price to this action: the existing red letters will drop one cell, all other bonus coloured letters will be lost, and more red letters will appear.

If the score is among the 10 best scores achieved, it makes it in the Top Ten Highscores.

https://friendica.eskimo.com/photo/preview/1024/7186458

This game is named sausage as a tribute to

Renowned writer and lexicographer Dr. Samuel Johnson starts to read a tiny scrap of paper containing Baldrick's miniscule novel:

Once upon a time, there was a lovely little sausage called...


...only to realize that after 18 years of arduous work, he failed to include the word SAUSAGE in his magnum opus.

This entry was edited (2 months ago)

My Thoughts on the Fosstodon Drama | Kev Quirk


in reply to Ulrich

I have to ask, then: what motivates people to do it?

If mods are not financially compensated for it, the only rational explanation is that they are either getting some form of benefit (soft power, access to privileged information) or they are getting some pleasure out of it, i.e, power tripping.

don't like this

in reply to Ulrich

Ah, I thought you were talking about something here on the Fediverse.

In any case, I wish people didn't feel afraid to talk about business here. Maybe more people would realize that behind the majority of "business" there are genuine people and not just the cartoon capitalist pigs.

This entry was edited (2 months ago)

don't like this

in reply to poVoq

Some people chose to do the right things because they are right


This is just another way of saying that people do things for moral validation - a.k.a, self-righteouness - and is no at all different from "power tripping".

don't like this

in reply to rglullis

That is a rather toxic way of looking at the world. I get it, I kind of can rationally understand the idea that you can explain all selfless behavior as being selfish because the least you get out of it is dopamine, so you are wired to feel good doing what you think is right.

Now, can you tell me how this is just not a very shitty and cynical lens to view humans through? I've had my nihilistic phase in my 20's. I hope you also find a way out of the hole of the "arbitrariness" of ethics.

Because each other is all we have, and ethics is ultimately what makes us human. The ability to reprogram our own pleasure circuit and maybe, just maybe, just use it to be not an asshole, just to start with. And then at some point just do something nice for others. Because if everybody did that, the world would not be the shithole it is.

I'm thankful to mods who volunteer their free time to tend to the garden of the communities they care about.

in reply to zenforyen

I am not at all talking about the cases of someone who is passionate about some topic and then goes on to cultivate a community around it, and I am not saying "every moderator is doing it for some ulterior motive".

I am talking specifically about the types that put on themselves to become mods of dozens of subreddits. Or instance admins that go months in a row begging for money to be able to pay their own bills, instead of shutting down the instance or make it only for those that contribute back.

IOW, I am talking about the cases where people act beyond what anyone would consider "healthy".

This entry was edited (2 months ago)

don't like this

in reply to rglullis

Okay wow, thanks for the clarification. That is indeed weird. Yeah, then I guess I agree, it's really ... Just not very healthy behavior.

Okay I mean for some people maybe this whole Internet thing, becomes too much an end in itself, maybe they are missing something in life and trying to get it that way.

If you are employed, have family and/or friends and a hobby or two, how do you even have the time to mod dozens of subs and stuff like that?

So if they are doing it while being nice, one can actually say they could need some empathy. If they are not being nice, well, for such cases it might explain why the other things in life might be lacking.

This entry was edited (2 months ago)
in reply to poVoq

Hey, any comparison to Ayn Rand or their fans should be an immediate ban. No need to go that low.

All I've been arguing with you could be summed up as "if we want the Fediverse to be universal, we will need to grow a lot faster and we need to accept the reality that not everyone values the same things as you do" and you responding "No, I don't to make the Fediverse universal because most people are too morally weak to stand for the things I care about".

(And if you think I am exagerating: don't make me look for the conversation where you said that people should be okay using this crap because the other open source alternatives committed the grave sin of "raising money from investors".)

don't like this

in reply to rglullis

Fine I didn't need to go as low as Ayn Rand.

But I think you still didn't get my argument last time. Tl;dr: there is no point in doing what you propose as it just results in recreating the same shit we already have. This has nothing to do with moral failings and everything with strategy and not repeating the same mistakes all over again.

And besides that I agree that Siskin isn't great, and most likely suggested this instead. And that "open-source alternative" is now open-core and can't pay their bloated expenses now that VC funding has run dry. I hope you see the irony in what you just wrote, because that is really a clear example of how unsustainable and ill advised that kind of growth is.

This entry was edited (2 months ago)
in reply to poVoq

it just results in recreating the same shit we already have


This is you passing opinion as undisputed truth. I am not proposing "Let's take on the big corporations by building another big corporation", I am saying "we can get rid of the dominance from big corporations if we help foment an economy of small, independent businesses." and I am saying "if we keep this anti-business culture where we are hostile to even some food truck owner trying to connect to their customers, then don't complain when the food truck owner continues using Facebook/Instagram/Twitter".

And that “open-source alternative” is now open-core


Synapse is still AGPLv3. Their closed parts are for Enterprise. No one is being locked out of crucial features. No one is being locked out of reaching out other users of the network. No one is being forced to "upgrade" after reaching a certain size. To call it open-core is just yet-another display of bias.

and most likely suggested this (Monal) instead.


Monal does not make video calls! Not having video calls was a non-starter in 2015, let alone today.

because that is really a clear example of how unsustainable and ill advised that kind of growth is.


Is it? Because so far I managed to talk with a lot more people on Matrix than I ever did on XMPP, and that wouldn't change even if Element closed shop tomorrow. And even if it did, the odds would be highly in favor of some other company like Beeper picking up the pieces to serve its customers and it would still be in their interest to keep things open to have the ecosystem around.

So, at the end of the day, yes, I'd rather have this "unsustainable" growth than claiming any moral victory for sticking to the Betamax of chat protocols. This "unsustainable" system gave me and few hundred million people something that is far from perfect, but at least it can make video calls on iOS.

This entry was edited (2 months ago)

don't like this

in reply to rglullis

I like high quality communities, which cannot maintain quality without staff, and which would probably struggle to maintain any funding.

One example of a community I became a moderator for often had trolls occasionally show up and post obviously malicious content, and commercial ad spam. Due to timezone differences, these often took hours to be deleted by existing staff.

So it wasn't about morality, righteousness, money or power. It was about me wanting to develop a community I cared about.


Edit: in a comment chain, you mentioned people who clearly moderate for other motives. They exist, I've seen them and helped get some removed in one particular community. Like you said, there are other motivators.

This entry was edited (2 months ago)
in reply to JoeTheSane

it gives them personal satisfaction to help out with something that is meaningful to them.


What about the cases where "what is meaningful to them" conflicts with "what is meaningful to the others"?

I said on a sibling comment but it bears repeating: I am not talking about someone who enjoys a hobby and goes on to create/mod a community about it. I am thinking about the cases where someone finds themselves as part of a large community and realizes that the majority of the members keep pushing you to things you either don't want to or disagree with.

LandedGentry doesn't like this.

in reply to LandedGentry

It is a broader issue, namely: there is no such thing as doing a "thankless" job for purely altrustic reasons. This is not an issue on a small scale, but once it reaches it some critical mass we should wonder what motivates those who keep a position of authority.

(And before I get another barrage of people saying "I do it because I care about it/ I want to help / someone needs to do it"... yeah, sure, but if you are cultivating something because you happen to like the thing at hand , then you are doing for your own personal interest and it is not entirely altruistic. And that is totally fine.)

in reply to LandedGentry

No, I missed it before.

My "axe to grind" is not against mods. My "axe to grind" is against Small Fedi. I can elaborate more later if you want, but now I need to get back to work...


As I often do, I made a poll on the fediverse about two concepts I am interested in: Big Fedi versus Small Fedi. Although I think these are interesting topics, I couldn’t come up with exact summations of what the “Big Fedi” and “Small Fedi” positions are. So, I wanted to write down what I could here.

The fediverse, in this case, is an internetwork of social networks. It works a lot like email; you can have an account on one network and follow, message, and react to people (or bots) on other networks. The biggest software tool for making fediverse networks is Mastodon; there are a lot of other Open Source servers for setting up nodes. There are also some proprietary nodes — Meta Threads and Flipboard are two of the biggest.

The following are some clusters of ideas that I think coalesce into “Big Fedi” and “Small Fedi”. I haven’t been able to tie them all back to some fundamental principle on either side.

Big Fedi


The “Big Fedi” position is a set of ideas that roughly cluster together. Not everyone who agrees with one or a few of these agrees with them all, but I think they tend to be related.

  • The fediverse should be big. Real big. Like, everyone on the planet should have an account on the fediverse. It will make the internet better and the world better.
  • We should make choices that help bring the fediverse to new people. Because the fediverse should be big, we should be doing things to make it bigger; in particular, to bring it to more people.
  • There should be a lot of different account servers. (I’m using “account servers” instead of “instances” or “servers”.) It’s good to have a lot of choice, with a lot of different parameters: software interfaces, financial structure, what have you.
  • Commercial account servers are welcome. This variety includes commercial services. If they provide the right mix of features and trade-offs that certain people want, it’s good to have them, especially if they have a lot of users.
  • Moderation can be automated. Shared blocklists, machine learning, and other tools can be used to catch most of the problematic interactions on the fediverse.
  • Account servers can be big. It doesn’t matter how big they are: 1M, 10M, 100M, 1B people is fine.
  • The fediverse should have secondary services. In order to grow, we need secondary services, like people-finders, onboarding tools, global search, bridges, and so on.
  • The individual is central. People should be able to set up their environment how they like, including their social environment. They have the tools to do that. The account server may set some parameters around content or software usage, but otherwise it’s mostly a dumb pipe.
  • Connections should be person-to-person. The main social connection is through following someone. Building up this follow graph is important.
  • People I care about should be on the fediverse. I have a life outside the fediverse — friends, family, colleagues, neighbours. My governments, media, celebrities, sports figures, leaders in my industry. It would be good to have more of those people on the fediverse, so I can connect to them.
  • People should get to make choices about their account server. Everybody has different priorities: privacy, open source, moderation, cost, stability, features. We can all make our own choices about the account server we prefer.
  • It should be possible to have ad-free account servers. Technically and culturally, we should be able to set these up.
  • It should be possible to have Open Source account servers. People who prefer free network services should be able to run them and use them.
  • It should be possible to have algorithm-free account servers. You should be able to just follow things reverse chronologically.
  • It should be possible to have individually-run account servers. A normal technically-minded person should be able to run their own account server for themself, friends, their household, or even for a larger communty.
  • Harms that are mostly kept to account servers are up to people on those servers to solve. Good fences make good neighbours. If things become unbearable, people can move servers somewhat frictionlessly.
  • Affinity groups should stretch beyond account server boundaries. Groups, lists, and other social network features are important and should be fully federated. They should provide a lot of features.
  • There may be some harm that comes with growth; we can fix it later. We’re going to find problems as we go along. We can deal with them as we come to them.
  • The fediverse is going to look very different over time. The way things work now are not how they’re going to be 1, 3, 5, 10 years from now. Especially as the fediverse grows, different structures and ways of working are going to develop.
  • Open standards are important. By having public, open standards available through big standards organizations, we gain the buy-in from different account network operators to join the network. We definitely don’t have time to negotiate bilateral agreements; we need solid standards.
  • Variety in types of account server operators is good. Different people have different needs and tolerances. If we want to have more people, we need to cater to those different needs with different account servers.
  • Existing organizations can and should provide account servers. Not just existing tech companies; also businesses providing servers for their employees, universities for students, cities or other governments for their citizens.
  • Existing services, even if they’re bad, will become somewhat better if they have fediverse features. People on those services will get to connect with a variety of new people. They’ll find out about the fediverse, and might move to another account server, or try something else new.
  • It’s more important to bring good people to the fediverse than keep bad people off it. More people is good, and the people I care about on other networks are also good. There may be some bad people, too, but we’ll manage them.


Small Fedi


Here is a rough cluster of ideas that I’d call “Small Fedi”. Again, not everyone who agrees with one or two of these agrees with all of them.

  • The fediverse should be safe. Safe from harassment, safe from privacy violations.
  • Growth is not important. We’ve gotten along this long with a small fediverse. It’s OK how it is, so growth is not important. Growth is a capitalist mindset.
  • People who aren’t on the fediverse don’t matter as much as people who are. Their needs, at least. When discussing the future of the fediverse, we don’t need to talk about people on other networks much at all.
  • If people want to get on the fediverse, they can join an existing account server. We don’t need to bring new account servers to the fediverse; there are a lot already. People who really care about getting on the fediverse can join an existing account server, or set up their own. If they’re not willing to do this, they’re probably not that interested in the fediverse, so why should we bother trying to connect to them?
  • If growth could cause harm, we either should fix the problem before growing, or we shouldn’t grow. We should examine opportunities carefully, but by default we should say no.
  • Commercial account servers are discouraged. Most commercial services do harm. Even if they’re on the fediverse, they’re going to try to do harm to make more money. So, they should be avoided as much as possible.
  • Secondary services can cause harm and should be severely limited if allowed at all. People search and content search can be used for privacy invasion or harassment. Shared blocklists can be manipulated to cause echo chambers. Machine learning can be biased. Onboarding services favour big account servers. They should be discouraged or, preferably, closed.
  • The account server is central. Moderation decisions, cultural decisions, account decisions, most social decisions should happen at the account server level.
  • Account servers are the primary affinity group. You should find an account server that feels like home. Any other groups are less important.
  • Feeds like “fediverse” and “local” are important. There is a public community of account servers that your account server connects to, and the public feed from that community is important. You might use it more often than your home feed. Your local feed is also important, because your account server is a group you belong to.
  • Moderation should be primarily by hand. The courage and wisdom necessary to make most moderation decisions can only be managed by hand. Automated tools can be manipulated.
  • Account servers must be small. Human moderators can only do so much work, so the account servers they moderate can only be so big.
  • The fediverse works just about right right now, and shouldn’t change. There’s a good reason for how everything works, and it’s fine. People who want to change the way things work just don’t get it.
  • It’s not important that people from my real life are on the fediverse, and it’s kind of discouraged. The account server is the most important affinity group, then the larger “fediverse”. That’s enough; other people are needed or welcome. People who I know who aren’t on the fediverse don’t care about fediverse stuff, so they’d get bored here, anyway.
  • It is highly discouraged to have ad-supported account servers. Even if they only show ads to their own users, they are causing harm. In particular, they’re showing our content next to ads, or using our content to develop ad algorithms. Either way, harm goes beyond the server border.
  • It is highly discouraged to have proprietary account servers. They just can’t be trusted with their own users’ data. Also, they’re going to get some of our data, just through federation, and who knows what they’ll do with it.
  • It is highly discouraged to have algorithmic timelines. Anyone having these causes problems. If you want one, you just don’t get it.
  • Open standards are less important than making things work the way we want them. In particular, fiddling with standards to keep people safe, and to discourage particular account server structure, is an OK thing to do.
  • Most existing institutions have proved themselves untrustworthy and should not provide account servers. Name any particular part of civil society, and I can come up with an example of at least one bad practice they have.
  • Harms that happen on one account server are a problem for every account server. Server blocks, personal blocks, and protocol boundaries aren’t enough to isolate problems to their account server of origin. Secondary or tertiary effects can happen and cause harm.
  • Existing services, if they’re bad, will make the fediverse worse. Bad practices, bad content, bad members will cause problems for everyone on the fediverse.
  • It’s more important to keep bad people off the fediverse than to bring good people to it. Bad people can be really horrible. There aren’t actually that many good people on bad services, and if they really wanted to connect with us, they’d find another way.


Where do I land?


I’m mostly a Big Fedi person; I did the work on the fediverse that I’ve done in order to bring it to everyone on the planet. I don’t think people should have to pass a test to be allowed on the fediverse.

That said, I respect that harm can come from new technical decisions and new network connections. As someone deeply involved in the standards around ActivityPub and the fediverse, I’d like to make sure that we give people the tools they need to avoid harm — and stay out of the way when they use them. I very much like the Small Fedi suspicion of new services and account servers, and careful consideration of the possibilities.

I’d like to find ways to mitigate the problems of so many people on proprietary social networks being unconnected to the fediverse, but still centre the safety of existing fedizens. I don’t have an easy answer to how this can work, though.

Anyway, thanks for reading this far. Also, an acknowledgment: I borrowed the term “Small Fedi” without permission from Erin Kissane’s great piece on Untangling Threads. I’m also using it differently, stretching it out, which admittedly is an ingrateful thing with something you borrow. I hope it is not ruined by the time I return it.

Another acknowledgment: this framing is loosely based on the worse is better series of essays by Richard Gabriel. His lists of ideas are much shorter, more cohesive, and more algorithmic.

evanp.me/2023/12/26/big-fedi-s…

#bigfedi #fediverse #smallfedi


This entry was edited (2 months ago)
in reply to LandedGentry

I think there is a spectrum between what you did (you were mod until you no longer thought that the pain of dealing with Reddit was worth it or morally justified) and someone who sticks around as a mod of 50+ subreddits because they see as an instrument of control, or someone that keeps running a big Mastodon instance despite financial struggles; and my point is to understand where most people lie.
in reply to rglullis

Ugh, the comments here are so full of BS and distortions of what really happened 🤦

So here is the actual tl;dr: Some people asked the main Fosstodon admins what they think about having an openly Trump supporting, islamo- and transphobic moderator in their team and their response was "not here on Fosstodon and not our problem" (paraphrased, but close to their actual response).

That is pretty much like this scenario: lets say you get (credibly) informed about someone openly corrupt in your organization. If your response is: I have not seen them steal money in our organization and our processes should prevent any theft happening, then you are missing the forest for the trees.

If an organization can't get such basic governance issues right and prefers to hide behind a "neutral" stance on something that is really concerning to a large percentage of their members than they irrevocably lose a lot of trust and that is more than justified.

This entry was edited (2 months ago)
in reply to dblsaiko

Actually, I don't really know differences between. Just all guides use cfdisk and I forgot about mbr and gpt. But I changed mbr to gpt using gdisk(after start he say, that I have mbr and gpt and which I want to use. I chose "create blank gpt" and now I can use gdisk to partition disk. And after gdisk lsblk show right information!
Thats it
This entry was edited (2 months ago)

XrossMediaBar Desktop Environment?


I built a home theater PC and now I'm obsessed with getting an xmb ui on there. I know retro arch has a nice implementation, but I couldn't find any support for jellyfin or spotify menu items. Should I forge ahead and create custom ones? Does anyone know a better way? Any advice is appreciated. Thanks!

peertube recomendation algo alpha build


cross-posted from: lemmy.world/post/28808772

Finally released an alpha build for the PeerTube recommendation algorithm!
Basic UI is complete. If you want to try it out, the link is here:
👉 github.com/solidheron/peertube…

New features since the last build:
- Sort by videos that share your time engagement similarity.
- Sort by videos that share your like similarity.
- Display of like similarity cosine values.
- Basic information shown for recommended videos (title, account, and channel names).
- 404 check for generated instance links (so you don’t get stuck clicking into dead videos—you’ll know which instance hosts the video).
- De-ranking for previously seen videos (simply a 0.5x multiplier on time and like similarity).

Features from previous builds:
- Ability to input multiple instance domain names (DNs) and generate playable video links.
- Limit of 5 recommendations per channel to avoid floods (e.g., during testing, The Linux Experiment would dominate otherwise—this limit is more of a failsafe than a feature).

Personal thoughts:
I still think cosine similarity beats chronological algorithms.
This algorithm also synergizes with other algorithms—it's great for finding videos that appear next to or below what you're currently watching.

You can also revisit videos you previously liked to help strengthen your like similarity vectors.


Moving forward: basic design philosophies and current issues

There’s an issue I’m calling the “Linux pipeline.”
Basically, Linux-related videos tend to dominate PeerTube’s well-produced content.
Since the algorithm relies on English words in descriptions, titles, and tags, Linux videos—which sometimes have fewer general keywords—end up being more "orthogonal" to typical user vectors, causing lower ranking.

Another challenge:
It’s really hard to properly combine like cosine similarity and time engagement cosine similarity.
You could add them, but it doesn’t fully make sense:
- High like similarity + high time engagement similarity = you probably like and will watch the video longer.
- But short videos can be liked even if they contribute almost nothing to time engagement (because time engagement is based on percentage watched × video length).

If I combined them, it would basically enter machine learning territory:
You'd have to adjust proportions dynamically based on user behavior.
Since I want this algorithm scoped to one person only (no data sharing yet), that level of ML is out of scope for now.

(Sharing data across devices could come later—Brave browser has sync features, and PeerTube watch history syncing could be possible.)


Summary:
Most of the data structure is settling into place.
Future updates will probably focus on expanding the data structure and making small improvements.

This entry was edited (2 months ago)
in reply to Cattail

I think open discovery algorithms are the way. We are against algos but sorting by like similarity would be beneficial.

What are you guys thinking? @dessalines@lemmy.ml @nutomic@lemmy.ml Are you optimistic about this or fuck any algorithms?

This entry was edited (2 months ago)

"This Linux thing is better than normal computers"


A few years ago my wife and I built a computer out of old parts for her friend's then 10 years old son. Last month we were visiting them, and I heard the wife's friend say something funny that I thought I'd share with you.

They live on the other side of the city, this was the kid's first computer, and his mom doesn't have much computer experience either, so our goal was to build something that was easy to use and hard to break from the beginning. Originally I choose ElementaryOS since it seemed to fit the bill, but after a year or two it turned out that it couldn't be upgraded to a new major version without a full reinstall so it got stuck with an older version. We didn't visit that often, and the kid's games still worked so it wasn't a major issue until Factorio broke due to glibc incompatibility.

When his birthday was coming up last month we bought him a SSD to make the computer a little bit zippier without a major upgrade, and I thought I'd give him a brand new Linux experience too, so I asked for advice here and in the end chose Bazzite. While I was helping the kid with the installation, I overheard his mom saying in the other room:

This Linux thing.. We've never had any problems with it, he just clicks something to install it and it works. Unlike normal computers, where you always have to do things and fix them.


Perhaps not the most eloquent, but I consider it a very good review.


Recommend a distro for a 13-year-old gamer


Couldn't find a dedicated community for distro recommendations, I hope it's ok to ask here.

A couple of years ago my wife and I built a computer and gave it to a friend's kid. We put ElementaryOS on it since that seemed pretty fool-proof, but it appears to require a re-install to upgrade major versions so it has been stuck with an old glibc and because of that he can't play Factorio.

For his 13:th birthday we bought him a SSD so it would be a good time to reinstall Linux, but is there perhaps some better choice than ElementaryOS? They live quite far away so I can't easily pop over to fix his computer if something breaks, we don't spend enough time there for me to teach him to fix things himself, and he doesn't seem very interested in learning how computers/operatings systems work either.

  • Hardware: Some old Intel CPU with 8GB DDR3 and a GTX1080
  • Usage: Gaming through Steam+Proton, Lutris and browsing.
  • Requirements: Games work, OS never breaks on updates. Doesn't need to be "kid proof", I don't think he touches any stuff he doesn't know what it does.


in reply to Bieren

  • GIMP (with photogimp patch)
  • Steam
  • Librewolf (I could also opt for a chromium based browser)
  • Tor Browser (to browse onion links/throwaway browser)
  • Heroic Games Launcher
  • Prism Launcher
  • latest Java lts (either from adoptium or openjdk i dont care about flashy new features)
  • Libreoffice Still (similar to the second reason above and onlyoffice in appimage due to Libreoffice weird handling with ppsx files and powerpoints)
  • QEMU/KVM with virt manager
  • Gnome evolution (if it's gtk desktop I could opt for other email clients)
  • Proton-GE
  • WINE
  • Ghostty(Kinda sucks it's based on libadwaita and gnome forces this theme on you no matter your desktop)
  • Fish/ZSH(fish not having posix compatibility is kinda annoying)
  • MPV (I could still use vlc but I prefer mpv because it can stream youtube links)
  • ytp-dl(I can opt for a gui for convenience sake)
  • BTOP
  • Fastfetch
This entry was edited (2 months ago)

I have an Asus laptop from 2007


Like the title says I want to install a Linux distro on my old laptop. I am currently looking into installing a SSD, but I want to learn a distro for fun! I haven't been able to find a good current resource aside from the Linux Masters here, so I am actually asking for help on the Internet! What distro is the best!?

imgur.com/8zldESD

EDIT: thanks so much everyone for your recommendations and advice! I installed a couple of different systems before deciding that I think the laptop can support Fedora with KDE plasma, and I'm finding it really attractive and easy to use. You will see once I get some more disk space used how the performance holds up! If it runs into trouble I might switch the machine back over to mint with, that one seemed to run really well and was pretty familiar seeming from my Windows days, also seem more low end and booted a little faster. I think I might even end up switching to Linux on my desktop I had so much fun with it last night!! I really appreciate all the information and will probably be experimenting with a more lightweight build on this computer in the future! I'm a Linux user and it was easier than I ever thought! ❤️

This entry was edited (2 months ago)
in reply to Bristlecone

I want to learn a Distro for fun.


Are you just using this laptop to dip your toes into Linux and see if you like it? I would recommend Debian + XFCE. It's lightweight, it prioritizes stability over new features, and it's a fairly easy UI for a newbie to understand. Alternatively Linux Mint MATE Edition might be worth a try. It's also lightweight but is a bit more "up to date" than Debian feature wise.

in reply to Bristlecone

Debian gets feature updates significantly slower than other distros, instead it focuses on insuring stability and security. It's rock solid.

Linux Mint is actually based on Ubuntu (which itself is derived from Debian), so for the most part the two are fairly similar. There are a few key differences but for someone learning Linux you don't need to worry about them. Pick one of them, get your feet wet, and then google the differences to see if you want to switch.

After all, endless Distro hopping is a right of passage for all fledgling Linux users! 😀

This entry was edited (2 months ago)
in reply to Bristlecone

Objectives of learning and fun?

You do not state noobliness, ease of setup or time to install, number of failures/retries or anything like that.

**EDIT: you did state noobliness later on in comments so . . . i'd go stock debian +lxqt. ****

~~or all that I'd recommend arch. Do not use archinstall script , that reduces both learning and fun. Resource? follow the archwiki and go through lots of linked pages at each step. If you do wuss out and install stock debian (+lxqt)~~

maybe partition off a spare 10-20GB so you can play around with an arch install after you realise how boring and uneducational the others are (joke)

This entry was edited (2 months ago)

Allow traffic only through tun0 via wlan0, ssh, and localhost in and out


Hi all, I'm trying to have my rpi5 running raspberry OS communicate with the Internet only through the tun0 interface (vpn). For this I wanted to create a ufw ruleset. Unfortunately, I've hit a roadblock and I can't figure out where I'm going wrong.

Can you help me discover why this ruleset doesn't allow Internet communication over tun0? When I disable ufw I can access the Internet.

The VPN connection is already established, so it should keep working, right?

I hope you can help me out!

This is the script with the ruleset:
sudo ufw reset

Set default policies


sudo ufw default deny incoming

sudo ufw default deny outgoing

Allow SSH access


sudo ufw allow ssh

Allow local network traffic


sudo ufw allow from 192.168.0.0/16

sudo ufw allow out to 192.168.0.0/16

Allow traffic through VPN tunnel


sudo ufw allow in on tun0

sudo ufw allow out on tun0

Add routing between interfaces (I read its necessary, not sure why?)


sudo ufw route allow in on tun0 out on wlan0

sudo ufw route allow in on wlan0 out on tun0

sudo ufw enable

This entry was edited (2 months ago)

How I made a blog using Lemmy - a write-up


This is a followup to my introduction of BlogOnLemmy, a simple blog frontend. If you haven't seen it, no need because I will be explaining how it works and how you can run your own BlogOnLemmy for free.

Leveraging the Federation


Having a platform to connect your content to likeminded people is invaluable. The Fediverse achieves this in a platform agnostic way, so in theory it shouldn't matter which platform we use. But platform have different userbases that interact with posts in different ways. I've always preferred the forum variety, where communities form and discussion is encouraged.

My posts are shared as original content on Lemmy, and that's who it's meant for. Choosing for a traditional blog style to make a more palatable platform for a wider audience, and in this way also promoting Lemmy.

Constraints


Starting off I did not want the upkeep of another federated instance. Not every new thing that is deployed on the Fediverse needs to stand on its own or made from the ground up as an ActivityPub compatible service. But rather use existing infrastructure, already federated, already primed for interconnectivity. Taking it one step further is not a having a back-end at all, a 'dumb' website as it were. Posts are made, edited, and cross-posted on Lemmy.

The world of CSS and JavaScript on the other hand - how websites are styled and made feature-rich - is littered with libraries. Being treated like black boxes, often just a few functions are used with the rest clogging up our internet experience. Even jQuery, which is used by over 74% of all websites, is already 23kB in its smallest form. I'm not planning on having the smallest possible footprint*, but rather showing a modern web browser provides an underused toolset of natively supported functionality; something the first webdevs would have given their left kidney for.

Lastly, to improve maintainability and simplicity, one page is enough for a blog. Provided that its content can be altered dynamically.

*See optimization

How it's made


Graphviz

1. URL: Category/post


Even before the browser completely loads the page, we can take a look at the URL. With our constraints only two types of additions are available for us, the anchor and GET parameters. When an anchor, or '#', is present websites scroll to a specific place in a website after loading. We can hijack this behavior and use it to load predefined categories. Like '#blog' or '#linkdumps'. For posts, '#/post/3139396' looks nicer than '?post=3139396', but anchors are rarely search engine compatible. So I'm extracting the GET parameter to load an individual post.

Running JavaScript before the page has done loading should be swift and easy, like coloring the filters or setting Dark/Light mode, so it doesn't delay the site.

2. API -> Lemmy


A simple 'Fetch' is all that's required. Lemmy's API is extensive already, because it's used by different frontends and apps that make an individual’s experience unique. When selecting a category, we are requesting all the posts made by me in one or more lemmy communities. A post or permalink uses the same post_id as on the Lemmy instance. Pretty straight forward.

3. Markdown -> HTML


When we get a reply from the Lemmy instance, the posts are formatted in Markdown. Just as they are when you submit the post. But our browsers use HTML, a different markup language that is interpretable by our browsers. This is where the only code that's not written by me steps in, a Markdown to HTML layer called snarkdown. It's very efficient and probably the smallest footprint possible for what it is, around 1kB.

Optimization


When my blog was launched, I was using a Cloudflare proxy, for no-hassle https handling, caching and CDN. Within the EU, I'm aiming for sub-100ms* to be faster than the blink of an eye. With a free tier of Cloudflare we can expect a variance between 150 and 600ms at best, but intercontinental caching can take seconds.

Nginx and OpenLiteSpeed are regarded as the fastest webservers out there, I often use Apache for testing but for deployment I prefer Nginx's speed and reliability. I could sidetrack here and write another 1000 words about the optimization of static content and TLS handling in Nginx, but that's a story for another time.

* For the website, API calls are made asynchronously while the page is loaded and are not counted

Mythical 14kB, or less?


All data being transferred on the internet is split up into manageable chunks or frames. Their size or Maximum Transmission Unit, is defined by IEEE 802.3-2022 1.4.207 with a maximum of 1518 bytes*. They usually carry 1460 bytes of actual application data, or Maximum Segment Size.

Followed by most server operating systems, RFC 6928 proposes 10x MSS (= Congestion Window) for the first reply. In other words, the server 'tests' your network by sending 10 frames at once. If your device acknowledges each frame, the server knows to double the Congestion Window every subsequent reply until some are dropped. This is called TCP Slow Start, defined in RFC 5681.

10 frames of 1460 bytes contain 14.6kB of usable data. Or at least, it used to.
The modern web changed with the use of encryption. The Initial Congestion Window, in my use case, includes 2 TLS frames and from each frame it takes away an extra 29 bytes. Reducing our window to 11.4kB. If we manage our website to fit within this first Slow Start routine, we avoid an extra round trip in the TCP/IP-protocol. Speeding up the website as much as your latency to the server. Min-maxing TCP Traffic is the name of the game.

* Can vary with MTU settings of your network or interface, but around 1500 (+ 14 bytes for headers) is the widely accepted default

10kB vs 15kB with TCP Slow Start
\
Visualizes two raw web requests, 10.7kB vs 13.3kB with TCP Slow Start\
- Above Blue: Request Starts\
- Between Green: TLS Handshake\
- Inside Red: Initial Congestion Window

Icons


Icons are tricky, because describing pixel positions takes up a considerable amount of data. Instead SVG's are commonplace, creating complex shapes programmatically, and significantly reducing its footprint. Feathericons is a FOSS icon library providing a beautiful SVG rendered solution for my navbar. For the favicon, or website icon, I coded it manually with the same font as the blog itself. But after different browsers took liberties rendering the font and spacing, I converted it to a path traced design. Describing each shape individually and making sure it's rendered the same consistently.

Regular vs. Inline vs Minified


If we sum up the filesizes we're looking at around 50kB of data. Luckily servers compress* our code, and are pretty good at it, leaving only 15kB to be transferred; just above our 11kB threshold. By making the code unreadable for humans using minifying scripts we can reduce the final size even more. Only... the files that make up this blog are split up. Common guidelines recommend doing so to prevent one big file clogging up load times. For us that means splitting up our precious 11kB in multiple round trips, the opposite of our goal. Inline code blocks to the rescue, with the added bonus of the entire site now being compressed into one file making the compression more efficient to end optimization at a neat 10.7kB.

* The Web uses Gzip. A more performant choice today is Brotli, which I compiled for use on my server

In Practice


All good in theory, now let's see the effect in practice. I've deployed the blog 4 times, and each version was measured for total download time from 20 requests. In the first graph we notice the impact of not staying inside the Initial Congestion Window, where only the second scenario is delayed by a second round trip when loading the first page.

Scenario 1. and 3. have separate files, and separate requests are made. Taking priority in displaying the website, or the first file, but neglecting potential useable space inside the init_cwnd. We can tell when comparing the second graph, it ends up almost doubling their respective total load times.

The final version is the only one transferring all the data in one round trip, and is the one deployed on the main site. With total download times as low as 51ms, around 150ms as a soft upper limit, and 85ms average in Europe. Unfortunately, that means worldwide tests show load times of 700ms, so I'll eventually implement a CDN.

Speedtest 4 scenarios

  1. Regular (14,46kB): no minification, separate files\
    - dev3.martijn.sh/
  2. Inline (13,29kB): no minification, one file\
    - dev1.martijn.sh/
  3. Regular Minified (10,98kB): but still using separate files\
    - dev2.martijn.sh/
  4. Inline Minified (10,69kB): one page as small as possible\
    - martijn.sh/

I'll be leaving up dev versions until there's a significant update to the site

Content Delivery Network


Speeds like this can only be achieved when you're close to my server, which is in London. For my Eurobros that means blazing fast response times. For anyone else, cdn.martijn.sh points to Cloudflare's CDN and git.martijn.sh to GitHub's CDN. These services allow us to distribute our blog to servers across the globe, so requesting clients always choose the closest server available.

GitHub Pages


An easy and free way of serving a static webpage. Fork the BlogOnLemmy repository and name it 'GitHub-Username'.github.io. Your website is now available as username.github.io and even supports the use of custom domain names. Mine is served at git.martijn.sh.

While testing its load times worldwide, I got response times as low as 64ms with 250ms on the high end. Not surprisingly they deliver the page slightly faster globally than Cloudflare does, because they're optimizing for static content.

Extra features


  • Taking over the Light or Dark mode of the users' device is a courtesy more than anything else. Adding to this, a selectable permanent setting. My way of highlighting the overuse of cookies and localStorage by giving the user the choice to store data of a website that is built from the ground up to not use any.
  • A memorable and interactable canvas to give a personal touch to the about me section.
  • Collapsed articles with a 'Read More'-Button.
  • 'Load More'-Button loads the next 10 posts, so the page is as long as you want it to be


Webmentions


Essential for blogging in current year, Webmentions keep websites up-to-date when links to them are created or edited. Fortunately Lemmy has got us covered, when posts are made the first instance sends a Webmention to the hosters of any links that are mentioned in the post.

To stay within scope I'll be using webmention.io for now, which enables us to get notified when linked somewhere else by adding just a single line of HTML to our code.

Notes


  • Enabling HTTP2 or 3 did not speed up load times, in fact with protocol negotiations and TLS they added one more packet to the Initial Congestion Window.
  • For now, the apex domain will be pointing directly to my server, but more testing is required in choosing a CDN.
  • Editing this site for personal use requires knowledge of HTML and JS for now, but I might create a script to individualize blogs easier.

Edit: GitHub | ./Martijn.sh > Blog

This entry was edited (2 months ago)

PewDiePie using Hyprland on Arch wasn't on my 2025 bingo card!


What he did was half a decade ago! The comment section is wiled, keep it down.

I saw this in my Mastodon feed and wanted to share, and that was a mistake.

Edit: I label myself an anarcho-syndicalist, and I don’t watch PewDiePie. I have my fair share of opinions about him from his early days but there is no need to label Felix as a nazi. I used my brain cells to check some of his latest videos and I don’t see any mention of nazism fascism or any political mentions! What I do see is Felix starting a family in Japan, traveling around Japan, and just being a human living his life!

This entry was edited (2 months ago)

PewDiePie: I installed Linux (so should you)


I don't normally watch him but this popped on my feed, and I'm pretty impressed. Dude really fell the Arch+Hyprland rabbit hole and ended up loving it.

Probably one of the largest YouTuber switching to Linux, and is very positive about it.

That Hyprland rice is pretty sick too.

in reply to Max-P

It's good, and it's funny. So much so that I'm jealous.

With this potential critical mass combined with the gaming community it's all downhill for Windoze from here.

PS To force GPU on Steam games in Linux, because games might unknowingly perform needlessly bad.

- -
✍︎ arscyni.cc: modernity ∝ nature.

This entry was edited (2 months ago)

The power of Linux


Today i took my first steps into the world of Linux by creating a bookable Mint Cinamon USB stick to fuck around on without wiping or portioning my laptop drive.

I realised windows has the biggest vulnerability for the average user.

While booting off of the usb I could access all the data on my laptop without having to input a password.

After some research it appears drives need to be encrypted to prevent this, so how is this not the default case in Windows?

I'm sure there are people aware but for the laymen this is such a massive vulnerability.

in reply to Aussiemandeus

This is not that big of a deal most of the time, since you are the only person interacting with your computer, but it's worth remembering when you decide to recycle or donate -- you have to securely wipe in that case. Also bear in mind, if you do encrypt your drive, there are now more possibilities for total data loss.

Oh, fun fact: you can change a users windows password inside Linux. Comes in handy for recovery, ie, user forgot their password.

This entry was edited (2 months ago)
in reply to Aussiemandeus

Yes, any laptop without an encrypted storage drive will have its data accessible by someone booting from a live USB.

It really is a massive vulnerability, but it's not well known because so few people even understand the concept of a 'live USB' to make it a widespread threat or concern.

So yeah, if you're ever in possession of a Windows machine that doesn't have an encrypted disk, you can view the users' files without knowing their password via a live USB.

It's also not limited to laptops.

This entry was edited (2 months ago)