Linux on a 2014 macbook air?


A friend of mine has an old macbook air. It still works, more or less, but the OS isn't getting any updates anymore, and updating to the latest OS seems dicey.

Has anyone had experience installing linux on an old macbook? From a quick internet search it looks like you can just make a bootable USB and have at it. Thinking mint because it's popular and my friend is a pretty basic user. The laptop will be mostly used for like youtube/netflix and basic web browsing.

Edit: a little extra context: I am moderately comfortable with Linux. I ran mint for a while on my desktop, and I've done software development for a job. I can install docker and start a python project fine, but I'd use a GUI for like partitioning a hard drive.

This entry was edited (1 month ago)
in reply to jjjalljs

Update: installed mint. Seems work. Had a problem where it couldn't see the HD. Had to change an option in grub

Pasting what I found online to fix it:

"""
thank you so much! what was the solution!

for anyone might read this in the future: in the bootmenu where u can select which version of linux u wanna boot u can press "e" and then u need to add intel_iommu=off at the end of the line of the "linux" row - i had some double dashes at the end for me it did the job when I add them before the double dashes.

Then I could see the harddrive and install mint mate on my old macbook air

also needed later on to set the parameter permantent by opening a terminal and used this command
sudo nano /etc/default/grub

edited this line like this: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=off"
then save and exit nano and this command for updating the boot thingy

sudo update-grub
"""

Best game engine to start with as a beginner to gamedev and linux?


I switched to catchyos not too long ago but i also want to get into gamedev im just not sure which engine to go with? I looked in scratch but i find it annoying (visual scripting). Im not sure if i should try godot or some other engine now. Im also not sure where to post at sense itch has become questionable, i also want to try game jams aswell.
in reply to GrumpyCat

Hi, game developer here.

If you're just starting out, Unity is a bit more mature and established - and it works fine on Linux. There are also quite a few resources for getting started that apply to the current version out there (E.g. It isn't rapidly changing too much at the moment for someone just starting out). It also has the best mobile support of any engine out there, so if you want to test your game on a phone that's your best bet.

Godot is popular among hobbyists, and could be a fun start, but I don't know of any serious games being made in it yet (having said that, I know quite a few folk who are currently evaluating it, so maybe in a few years).

But, really, my recommendation is to focus on learning a programming language first. Figure out the ins and outs of basic C#, then start learning about an engine that utilizes it.

I'm only saying this because it sounds like you're looking into how to build games, not just one specific role of the process: if that's the case, starting with some basic C# tutorials/classes would help a lot.

Once you know the be basics it will be much simpler to work with an established Engine, and jumping from one to another will also have less friction.

Finally, remember that scratch is a good tool to learn about how to program. If you're feeling like you've mastered it, now is a great time to move on to a proper programming language.

This entry was edited (1 month ago)

I made a simple graphical SSH connection manager


sshPilot is an ssh connection manager made with GTK and Python.

Here are the features:

  • Manage multiple SSH connections
  • Open eac h connection in a separate tab
  • Both password and SSH key authentication methods are supported
  • Automatically detects SSH keys in ~/.ssh/
  • Use your desired color theme and font style for the terminal
  • Uses secure password storage (GNOME secure password storage)

If you manage multiple remote machines, this might come in handy.

This entry was edited (1 month ago)
in reply to WaffleWarrior

I havent used Ubuntu in a long time but im guessing its a similar process to Debian. Open terminal and type

sudo apt install gnome-tweaks

sudo apt install gnome-shell-extensions

sudo apt install gnome-shell-extension-manager


Go into the extension manager. Click browse and search for and get blur my shell, and User Themes. Go to gnome-look.org and go to the gnome shell section and find a theme you like. Place it in the /.themes folder (located in Home create this folder if needed), then click the gear next to User Themes and select the theme you added.

Make sure you get a gnome theme that is made for your current version of gnome or itll look janky. Blur my shell will take your desktop background and fill in some of the dead space with that. There are other nice extensions too. Lock screen Background, AppIndicator and KstatusNotifierItem Support, Caffeine, Weather O'Clock, are some i use.

Mess around with it a bit and get a feel for it is my suggestion. It should be easily reversible so dont be afraid to try stuff out. (You can turn extensions on/off with a click)

This entry was edited (1 month ago)
in reply to WaffleWarrior

You know, putting up a black theme on your desktop environment is not difficult, you can probably find some online for your DE. The problem is the screen of your laptop/PC. Unless your laptop/monitor is a very expensive one, or a Mac, chances are you're using a cheaper panel. And slapping a 100% black theme there won't make it as black as you imagine it to be (as in your phone, for example, which usually use good quality screens).
in reply to Fredthefishlord

That's not true. Some of the original libertarians were socialists. I had a libertarian phase once upon a time. One thing that was very apparent was that nobody could agree on what libertarianism meant. The only thing they seemed to agree on was that the government should be smaller. The maga movement has adopted the libertarian label for some reason. Despite the government, especially the authoritarian elements being expanded. In the current climate, anybody that proudly claims to be libertarian is either pretending the meaning hasn't changed, or is a maga idiot. Even Penn Jillette, one of the most outspoken libertarians, has since shed the label.

LOW-maintenance distro solely for VPN hosting?


I want to run a small VM running a very low-maintenance distro for the sole purpose of running a private VPN (preferably WireGuard).

I do this because I want to access all of my ESXi VMs from WAN.

I'm thinking Fedora Server because it has roling-release, so I don't have to reinstall, I guess? But I want it to be very stable, because if it fails I lose access to ALL my VMs.

This entry was edited (1 month ago)
in reply to dysprosium

As said by @iii@mander.xyz, bog standard Debian Stable.

You really don’t want a rolling release distro for something like this - major software updates might change the behavior of your software, break your configs,
etcetera. Stable distros do as much as they can to make sure that software behaves the same, only porting security fixes.

This way, you don’t really have to touch it except for updates with a nearly nonexistent chance of going wrong (and there’s stuff like unattended-upgrades so updates are automatic) and major upgrades.

You can go several years without a major upgrade just fine - Debian versions are supported for 5 years, and we’re only a few days from getting Trixie, which will last into 2030. New versions come out every two years, and it’s not that hard to upgrade between consecutive ones; I don’t think sitting down on a weekend every two years is that bad.

I kind of hate Ubuntu, but it’s pretty based in this case due to really long support. This might be a really great case for Rocky Linux though, as it also gets 10 years support.

This entry was edited (1 month ago)

[Proxmox/Debian 12] Drives randomly disconnect an unmount


Hey y'all

I've been running into this issue on my home's server, the host OS is Proxmox while i have a Debian 12 VM running within it as a VM i have two external HDD's (1tb, 5tb) running in a drive bay which are randomly disconnecting from the server and i can't seem to make heads or tails of the error in my journalctl, i don't think there is corruption on the drives but i'm hesitant to run any checks as i cannot back these up given how full they are.

The drives typically get recogniced under a different device name/ID right away. for example, /dev/sdb1 will now be /dev/sdd1, and that cycle just repeats every time they disconnect

This is kinda frustrating having to re-mount and re-add these to the VM, is there any way i could simply automate the re-mount of these drives and have the VM pick it up right away?

Jul 30 21:00:53 proxmox kernel:  sdb: sdb1
Jul 30 21:00:53 proxmox kernel:  sdc: sdc1
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:1: [sdc] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:1: [sdc] Preferred minimum I/O size 4096 bytes
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
Jul 30 21:00:53 proxmox kernel: xhci_hcd 0000:00:0d.0: bad transfer trb length 112 in event trb
Jul 30 21:00:53 proxmox kernel: xhci_hcd 0000:00:0d.0: bad transfer trb length 112 in event trb
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:1: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:1: [sdc] Mode Sense: 67 00 10 08
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:1: [sdc] Write Protect is off
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:1: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] Mode Sense: 67 00 10 08
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] Write Protect is off
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] 9767541168 512-byte logical blocks: (5.00 TB/4.55 TiB)
Jul 30 21:00:53 proxmox kernel: scsi 3:0:0:1: Attached scsi generic sg2 type 0
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: Attached scsi generic sg1 type 0
Jul 30 21:00:53 proxmox kernel: scsi 3:0:0:1: Direct-Access     WDC WD10 EZEX-21WN4A0     0009 PQ: 0 ANSI: 6
Jul 30 21:00:53 proxmox kernel: scsi 3:0:0:0: Direct-Access     ST5000DM 000-1FK178       0009 PQ: 0 ANSI: 6
Jul 30 21:00:53 proxmox kernel: scsi host3: uas
Jul 30 21:00:53 proxmox kernel: usb 4-1: SerialNumber: RANDOM__1CC4CDBF833E
Jul 30 21:00:53 proxmox kernel: usb 4-1: Manufacturer: JMicron
Jul 30 21:00:53 proxmox kernel: usb 4-1: Product: JMS56x Series
Jul 30 21:00:53 proxmox kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
Jul 30 21:00:53 proxmox kernel: usb 4-1: New USB device found, idVendor=152d, idProduct=0565, bcdDevice= 0.09
Jul 30 21:00:53 proxmox kernel: usb 4-1: new SuperSpeed USB device number 8 using xhci_hcd
Jul 30 21:00:53 proxmox systemd[1]: Unmounted root-mnt-1tb\x2dhdd.mount - /root/mnt/1tb-hdd.
Jul 30 21:00:53 proxmox systemd[1]: root-mnt-1tb\x2dhdd.mount: Deactivated successfully.
Jul 30 21:00:53 proxmox systemd[1]: Unmounting root-mnt-1tb\x2dhdd.mount - /root/mnt/1tb-hdd...
Jul 30 21:00:53 proxmox systemd[1]: Unmounted root-mnt-5tb\x2dhdd.mount - /root/mnt/5tb-hdd.
Jul 30 21:00:53 proxmox systemd[1]: root-mnt-5tb\x2dhdd.mount: Deactivated successfully.
Jul 30 21:00:53 proxmox systemd[1]: Unmounting root-mnt-5tb\x2dhdd.mount - /root/mnt/5tb-hdd...
Jul 30 21:00:53 proxmox pvestatd[1165]: status update time (17.646 seconds)
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] Synchronizing SCSI cache
Jul 30 21:00:53 proxmox kernel: EXT4-fs (sde1): unmounting filesystem 181f4235-7fbf-4e0a-8ad1-fd4813367644.
Jul 30 21:00:53 proxmox kernel: JBD2: I/O error when updating journal superblock for sde1-8.
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost sync page write
Jul 30 21:00:53 proxmox kernel: JBD2: previous I/O error detected for journal superblock update for sde1-8.
Jul 30 21:00:53 proxmox kernel: Aborting journal on device sde1-8.
Jul 30 21:00:53 proxmox kernel: EXT4-fs (sde1): shut down requested (2)
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost async page write
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost async page write
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost async page write
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost async page write
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost async page write
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] Synchronizing SCSI cache
Jul 30 21:00:53 proxmox kernel: EXT4-fs (sdd1): unmounting filesystem f966a59f-db1a-433c-9977-040037e7d69e.
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: rejecting I/O to offline device
Jul 30 21:00:53 proxmox kernel: JBD2: I/O error when updating journal superblock for sdd1-8.
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sdd1, logical block 610304000, lost sync page write
Jul 30 21:00:53 proxmox kernel: Aborting journal on device sdd1-8.
Jul 30 21:00:53 proxmox kernel: EXT4-fs (sdd1): shut down requested (2)
Jul 30 21:00:53 proxmox kernel: device offline error, dev sdd, sector 2002831328 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: usb 4-1: USB disconnect, device number 7
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 2002831328 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 9159739392 op 0x0:(READ) flags 0x200000 phys_seg 8 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: rejecting I/O to offline device
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 6653857768 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#9 CDB: Read(16) 88 00 00 00 00 01 8c 99 cf e8 00 00 00 08 00 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#9 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=52s
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 6438292752 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#10 CDB: Read(16) 88 00 00 00 00 01 7f c0 8d 10 00 00 00 08 00 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#10 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=52s
Jul 30 21:00:53 proxmox kernel: I/O error, dev sde, sector 822151464 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] tag#8 CDB: Read(10) 28 00 31 01 09 28 00 00 08 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] tag#8 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=52s
Jul 30 21:00:53 proxmox kernel: I/O error, dev sde, sector 973345232 op 0x1:(WRITE) flags 0x808800 phys_seg 3 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] tag#11 CDB: Write(10) 2a 00 3a 04 11 d0 00 00 18 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] tag#11 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=47s
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 9155874912 op 0x0:(READ) flags 0x200000 phys_seg 64 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
Jul 30 21:00:53 proxmox kernel: xhci_hcd 0000:00:0d.0: bad transfer trb length 112 in event trb
Jul 30 21:00:53 proxmox kernel: xhci_hcd 0000:00:0d.0: bad transfer trb length 112 in event trb
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:1: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:1: [sdc] Mode Sense: 67 00 10 08
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:1: [sdc] Write Protect is off
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:1: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] Mode Sense: 67 00 10 08
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] Write Protect is off
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: [sdb] 9767541168 512-byte logical blocks: (5.00 TB/4.55 TiB)
Jul 30 21:00:53 proxmox kernel: scsi 3:0:0:1: Attached scsi generic sg2 type 0
Jul 30 21:00:53 proxmox kernel: sd 3:0:0:0: Attached scsi generic sg1 type 0
Jul 30 21:00:53 proxmox kernel: scsi 3:0:0:1: Direct-Access     WDC WD10 EZEX-21WN4A0     0009 PQ: 0 ANSI: 6
Jul 30 21:00:53 proxmox kernel: scsi 3:0:0:0: Direct-Access     ST5000DM 000-1FK178       0009 PQ: 0 ANSI: 6
Jul 30 21:00:53 proxmox kernel: scsi host3: uas
Jul 30 21:00:53 proxmox kernel: usb 4-1: SerialNumber: RANDOM__1CC4CDBF833E
Jul 30 21:00:53 proxmox kernel: usb 4-1: Manufacturer: JMicron
Jul 30 21:00:53 proxmox kernel: usb 4-1: Product: JMS56x Series
Jul 30 21:00:53 proxmox kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
Jul 30 21:00:53 proxmox kernel: usb 4-1: New USB device found, idVendor=152d, idProduct=0565, bcdDevice= 0.09
Jul 30 21:00:53 proxmox kernel: usb 4-1: new SuperSpeed USB device number 8 using xhci_hcd
Jul 30 21:00:53 proxmox systemd[1]: Unmounted root-mnt-1tb\x2dhdd.mount - /root/mnt/1tb-hdd.
Jul 30 21:00:53 proxmox systemd[1]: root-mnt-1tb\x2dhdd.mount: Deactivated successfully.
Jul 30 21:00:53 proxmox systemd[1]: Unmounting root-mnt-1tb\x2dhdd.mount - /root/mnt/1tb-hdd...
Jul 30 21:00:53 proxmox systemd[1]: Unmounted root-mnt-5tb\x2dhdd.mount - /root/mnt/5tb-hdd.
Jul 30 21:00:53 proxmox systemd[1]: root-mnt-5tb\x2dhdd.mount: Deactivated successfully.
Jul 30 21:00:53 proxmox systemd[1]: Unmounting root-mnt-5tb\x2dhdd.mount - /root/mnt/5tb-hdd...
Jul 30 21:00:53 proxmox pvestatd[1165]: status update time (17.646 seconds)
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] Synchronizing SCSI cache
Jul 30 21:00:53 proxmox kernel: EXT4-fs (sde1): unmounting filesystem 181f4235-7fbf-4e0a-8ad1-fd4813367644.
Jul 30 21:00:53 proxmox kernel: JBD2: I/O error when updating journal superblock for sde1-8.
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost sync page write
Jul 30 21:00:53 proxmox kernel: JBD2: previous I/O error detected for journal superblock update for sde1-8.
Jul 30 21:00:53 proxmox kernel: Aborting journal on device sde1-8.
Jul 30 21:00:53 proxmox kernel: EXT4-fs (sde1): shut down requested (2)
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost async page write
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost async page write
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost async page write
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost async page write
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sde1, logical block 121667584, lost async page write
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] Synchronizing SCSI cache
Jul 30 21:00:53 proxmox kernel: EXT4-fs (sdd1): unmounting filesystem f966a59f-db1a-433c-9977-040037e7d69e.
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: rejecting I/O to offline device
Jul 30 21:00:53 proxmox kernel: JBD2: I/O error when updating journal superblock for sdd1-8.
Jul 30 21:00:53 proxmox kernel: Buffer I/O error on dev sdd1, logical block 610304000, lost sync page write
Jul 30 21:00:53 proxmox kernel: Aborting journal on device sdd1-8.
Jul 30 21:00:53 proxmox kernel: EXT4-fs (sdd1): shut down requested (2)
Jul 30 21:00:53 proxmox kernel: device offline error, dev sdd, sector 2002831328 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: usb 4-1: USB disconnect, device number 7
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 2002831328 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 9159739392 op 0x0:(READ) flags 0x200000 phys_seg 8 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: rejecting I/O to offline device
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 6653857768 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#9 CDB: Read(16) 88 00 00 00 00 01 8c 99 cf e8 00 00 00 08 00 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#9 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=52s
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 6438292752 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#10 CDB: Read(16) 88 00 00 00 00 01 7f c0 8d 10 00 00 00 08 00 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#10 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=52s
Jul 30 21:00:53 proxmox kernel: I/O error, dev sde, sector 822151464 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] tag#8 CDB: Read(10) 28 00 31 01 09 28 00 00 08 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] tag#8 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=52s
Jul 30 21:00:53 proxmox kernel: I/O error, dev sde, sector 973345232 op 0x1:(WRITE) flags 0x808800 phys_seg 3 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] tag#11 CDB: Write(10) 2a 00 3a 04 11 d0 00 00 18 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: [sde] tag#11 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=47s
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 9155874912 op 0x0:(READ) flags 0x200000 phys_seg 64 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#13 CDB: Read(16) 88 00 00 00 00 02 21 bb 90 60 00 00 02 00 00 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#13 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=41s
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 9159851824 op 0x0:(READ) flags 0x200000 phys_seg 5 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#14 CDB: Read(16) 88 00 00 00 00 02 21 f8 3f 30 00 00 00 28 00 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#14 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=41s
Jul 30 21:00:53 proxmox kernel: I/O error, dev sdd, sector 6438525440 op 0x0:(READ) flags 0xa00000 phys_seg 1 prio class 0
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#15 CDB: Read(16) 88 00 00 00 00 01 7f c4 1a 00 00 00 00 08 00 00
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: [sdd] tag#15 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=30s
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: Device offlined - not ready after error recovery
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: Device offlined - not ready after error recovery
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: Device offlined - not ready after error recovery
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:1: Device offlined - not ready after error recovery
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: Device offlined - not ready after error recovery
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: Device offlined - not ready after error recovery
Jul 30 21:00:53 proxmox kernel: sd 4:0:0:0: Device offlined - not ready after error recovery
Jul 30 21:00:53 proxmox kernel: scsi host4: uas_eh_device_reset_handler FAILED to get lock err -19
Jul 30 21:00:53 proxmox kernel: scsi host4: uas_eh_device_reset_handler FAILED err -19
Jul 30 21:00:52 proxmox kernel: usb 4-1: device firmware changed
Jul 30 21:00:52 proxmox kernel: usb 4-1: reset SuperSpeed USB device number 7 using xhci_hcd
Jul 30 21:00:52 proxmox kernel: scsi host4: uas_eh_device_reset_handler start
Jul 30 21:00:52 proxmox kernel: sd 4:0:0:0: [sdd] tag#15 CDB: Read(16) 88 00 00 00 00 01 7f c4 1a 00 00 00 00 08 00 00
Jul 30 21:00:52 proxmox kernel: sd 4:0:0:0: [sdd] tag#15 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD IN 
Jul 30 21:00:41 proxmox kernel: sd 4:0:0:0: [sdd] tag#14 CDB: Read(16) 88 00 00 00 00 02 21 f8 3f 30 00 00 00 28 00 00
Jul 30 21:00:41 proxmox kernel: sd 4:0:0:0: [sdd] tag#14 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD IN 
Jul 30 21:00:41 proxmox kernel: sd 4:0:0:0: [sdd] tag#13 CDB: Read(16) 88 00 00 00 00 02 21 bb 90 60 00 00 02 00 00 00
Jul 30 21:00:41 proxmox kernel: sd 4:0:0:0: [sdd] tag#13 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD IN 
Jul 30 21:00:35 proxmox kernel: sd 4:0:0:1: [sde] tag#11 CDB: Write(10) 2a 00 3a 04 11 d0 00 00 18 00
Jul 30 21:00:35 proxmox kernel: sd 4:0:0:1: [sde] tag#11 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT 
Jul 30 21:00:30 proxmox kernel: sd 4:0:0:1: [sde] tag#8 CDB: Read(10) 28 00 31 01 09 28 00 00 08 00
Jul 30 21:00:30 proxmox kernel: sd 4:0:0:1: [sde] tag#8 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN 
Jul 30 21:00:30 proxmox kernel: sd 4:0:0:0: [sdd] tag#10 CDB: Read(16) 88 00 00 00 00 01 7f c0 8d 10 00 00 00 08 00 00
Jul 30 21:00:30 proxmox kernel: sd 4:0:0:0: [sdd] tag#10 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD IN 
Jul 30 21:00:30 proxmox kernel: sd 4:0:0:0: [sdd] tag#9 CDB: Read(16) 88 00 00 00 00 01 8c 99 cf e8 00 00 00 08 00 00
Jul 30 21:00:30 proxmox kernel: sd 4:0:0:0: [sdd] tag#9 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN 
Jul 30 20:59:59 proxmox kernel: critical medium error, dev sdd, sector 6653857080 op 0x0:(READ) flags 0x4000 phys_seg 128 prio class 0
Jul 30 20:59:59 proxmox kernel: blk_print_req_error: 47 callbacks suppressed
Jul 30 20:59:59 proxmox kernel: sd 4:0:0:0: [sdd] tag#9 CDB: Read(16) 88 00 00 00 00 01 8c 99 cd 38 00 00 04 00 00 00
Jul 30 20:59:59 proxmox kernel: sd 4:0:0:0: [sdd] tag#9 Add. Sense: Unrecovered read error
Jul 30 20:59:59 proxmox kernel: sd 4:0:0:0: [sdd] tag#9 Sense Key : Medium Error [current] 
Jul 30 20:59:59 proxmox kernel: sd 4:0:0:0: [sdd] tag#9 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Jul 30 20:56:01 proxmox postfix/smtp[3945942]: 2F670200A1A: to=<proxmox.snowcap946@passmail.net>, relay=mx2.simplelogin.co[176.119.200.136]:25, delay=330448, delays=330369/0.01/79/0, dsn=4.4.2, status=deferred (l>
Jul 30 20:55:42 proxmox postfix/smtp[3945942]: 2F670200A1A: lost connection with mx2.simplelogin.co[185.205.70.136] while receiving the initial server greeting
This entry was edited (1 month ago)
in reply to ohshit604

I had a similar issue with a SAS drive In the backplane of a dell server. I thought for sure the drive was failing. Reseated it, cleaned the ports, ran some tests, just kept failing without any obvious signs why it was. Replaced it with a spare and same issue. That seemed very unlikely, so I put the old drive in another slot and its still running just fine going on 2 years without an issue. If you have another toaster give it a try.

The market is rife with cheapo junk tech. Ive seen several crapo off brand drive toasters fail, so thats possible. I don't know the brand of yours so I can't speak to them.

It could also just be the power supply for the toaster is crapping out, or doesn't provide enough amperage. Those power supplies dont always keep providing the same amount of power forever, sometimes it drops over time, and that could be the cause too. Or they could be poorly made, meaning they probably drop in even short time periods.

If you have another power supply with the same voltage and higher amperage, you could try that. You could also try running only one drive in there and see if it keeps failing, if no issues, you could try the other drive and see if that one has issues. If that one doesn't have issues either it could indicate power issues.

About to throw my first install party, any tips?


Hi there, I'm about to organize an install party for my local community with the help of two other Linux enthusiasts. Has anyone ever done that here? Do you have any tips on which distro to install or what people absolutely need to know before leaving the room?

On the distro side I'm thinking fedora or Linux mint buy I have no experience with the latter, it just seems very beginner-friendly.

I'm also planning to start with a quick presentation on what is linux and the basis (distribution, package manager, root, ...).

Also, I don't know how much time we need (I guess it depends on how many people show up but we'll certainly limit to 10 or so per party).

Thanks for your help 🙂

in reply to Courant d'air 🍃

I've never run an installfest, but I've been to my university's Linux Users Group installfests, and here's what they did:
- Brought USBs with Fedora and OpenSUSE, which are their standard noob recommendations. Personally, I've used Debian for a long time, but I can get why Debian might not be something they want to recommend for noobs.
- Be there to help them
- If they're a bit squeemish about it, have them install in a VM software like VirtualBox on Windows or something like UTM on macOS.

Also, I'd recommend you bring extra USB peripherals in case the internal devices need a little bit of work; bring some extra mice, keyboards, and ethernet adapters. You hopefully won't need any of them, but they'll certainly make life easier if you do.

As for time, I'd imagine doing the basic install and ironing out some (not all) of the kinks probably takes less than it takes for a group to stat D & D characters, if that's a helpful comparison for you.

This entry was edited (1 month ago)

[Unpopular Opinion] There are too many distros. The diverse distro-landscape hindering Linux adoption.


tldr:
For Linux adoption it would be better for devs to focus on 2 ("main") distros which are very similar to Windows and macOS and then 2-3 further ("big") distros which give a bit more room to experiment. All the other distros create confusion and analysis-paralysis for the user who wants to switch or wants to help others to do the switch.


Edit because some people got emotional and I was being imprecise:

Disclaimer: I dont want to dictate any foss dev, I understand that "Linux" isnt a company. By "Linux" in this post I only ment the desktop OS for personal and work use.


--- (sorry for the long paragraph, i ranted and brain dumped the idea)

I see a problem: Even "stable" distros like Debian and big and "fully developed" DEs like KDE or GNOME arent ready for the majority of the users switching from windows.
Missing software compatibility and the need to fall back on the commandline are just some of the problems.
The biggest one is the confusion for the average user: They google "install Linux" and then need to do research for at least 30minutes, figuring out which of the popular distros is the right one for them. If decided, then (depending on the distro) they then have to choose the DE.

Its a sinilar problem to the adoption of the Fediverse: You are expected to decide what instance you want to be part of.
This makes it also very hard for a linux enthusiasts to convince/help install a distro for a family member, as you dont know their preferenced or how they use their Win/Mac machine. So either you as an expert have to observe and then do research on what distro+DE fits the usecase or the enduser themselves need to distro-hop, which is obviously not happening.

Now you are thinking: But just install Linux Mint and they probably do most of the things in their Browser anyways.

But in my experience the switch of potentially the browser, the mail-client and ontop of that the OS is a pretty tall ask for an average end user. So the whole switching thing becomes a multi year operation where they first switch the software they use to FOSS one. Which is a tall order and it makes it even harder to explain and convince someone.
Heck, it already takes multiple days to get my grandma up to speed after the change Win10 -> Win11, because some buttons moved and the context menue looks different.

Now my utopian idea:
If there were only a handful of popular distros+DEs, one could map them on a 2D-plane or even on a spectrum of "fixed, you have to adapt" to "flexible, you have to adjust the settings".
Mac users could switch to a distro which is quite fixed (comparable to macOS). This fixed distro should out of the box be close to the mac experience.
With windows the same.

Very very rough prototype of the spectrum to visualize my idea. I dont know enough about it but tried anyways:

flexible

Windows 10

MacOS

fixed

If then most of Linux Devs (from Kernel to distro to UI to software) mostly focus on the 4-5 main distros, then they would get more stable and they could be made to behave closer to their proprietary counterparts.

This then could make the switch from Mac/Win so much more easy because:

  1. The distro is closer to the old proprietary OS. So the enduser just has to learn other "new" software, the OS doesnt demand a learning curve but just replicates the Win/Mac experience.
  2. The decision which distro to use is easier, as there are the main ones which are easy to choose because they are distinct from one another.

Disclaimer: No, i am no expert, I probably dont know enough of the technical side, I just wanted to share the enduser experience.
Obviously there will always be countless distros by enthusiasts who tinker with their dozends of dev-friends for their personal-perfect distro. There will always be the people who deliberately do some frankensteined distro, and I am not here to forbid any of this.
The confusing diversity of all the options is just not helping the wider public.

This entry was edited (1 month ago)
in reply to freeman

I agree with the sentiment because it is a pain to find a distro which you want. But the reason for this is that Linux has given you the luxury to pick and choose what distro and DE you want. When you go to Windows or Mac, people just accept that it is what it is.

That being said, I will blame the Linux community to some extent for promoting "complicated" (like Arch) or too barebones distros (like Debian) to newbies. The shock of moving from Windows to Linux is already a hurdle for most. When you add the need for tinkering and troubleshooting from day one, I can see why people would quit.

We are indirectly focusing on a handful of "distros" as most distros ship with KDE, Gnome or something similar.

Is there an applauncher/dock (not menu replacement) that can be launched with custom shortcuts (ps button)?


I feel like I'm googling the wrong thing since I'm mostly getting start menu replacements and not a supplement. I want to click the ps button or a keyboard button and have a grid pop up over my apps that displays pinned apps/games that I can scroll through and launch with my controller or keyboard. Does something like that this exist?

Really good Guile Scheme crash course


cross-posted from: lemmy.today/post/34561505

Cool even if you're not interested in learning Scheme. It has some neat features.

Code as data? 😵‍💫

Microsoft bans LibreOffice developer's account without warning, rejects appeal


Recently, we reported on LibreOffice, accusing Microsoft of intentionally using complex file formats as a tactic to lock in users to Microsoft Office, hindering open source alternatives like LibreOffice.
Now, Microsoft has banned LibreOffice developer, Mike Kaganski, from using its services, citing an "activity that violates [its] Services Agreement".

According to Mike, this happened last Monday when he tried to send a technical email to the LibreOffice dev mailing list, which is a normal part of his routine, but Thunderbird returned an error saying the message couldn't be sent. His account was blocked upon retry, and he found himself completely logged out of his Microsoft account.....

Useful CLI tools like ffmpeg, ani-cli, yazi, etc.?


Been using the CLI more and more and for whatever reason it gives me more dopamine than using apps with a GUI and I'm curious about what else is out there since I was a windows user til 6 months ago.

Discovering ish and the ability to use alpine linux on my iphone, also has me curious if there is anything useful/fun out there that isn't openssh, ranger, and ffmpeg. (a-shell is still updated and comes with those two by default but doesn't have access to alpine repo and apk, uses its own iphone based thing) Tho im curious about cli tools/apps in general to use on my pc or over ssh, not just those that could be installed on my phone

I mostly use ffmpeg to convert video and compress stuff for size limits (so I can convert before sftp when away from my pc after the render finishes) Ranger file manager on phone since it can easily exit at a path, and yazi with the shell script that lets it exit at whatever path your on on pc.

Will update this list as people comment.
- Conversion/Compression: ffmpeg
- Email: mutt, neomut
- File management: mc, nnn, ranger, yazi, sfm
- File editor: vim, neovim
- Git: lazygit
- Piracy: ani-cli (anime) rip (music)
- Pdf Management: pdftk (pdftk-idk, or stapler)
- Python: rich, pythondialog, textual
- Docker management : lazydocker
- Performance monitor: btop, nvtop (nvidia), ncdu (disk usage)
- Network management: nmtui
- Web browser : browsh (firefox backend)
- Video downloader: yt-dlp
- Shell scripts: dialog, whiptail
- Misc: netpbm (plaintext image creation)
If you can't comment this post seems to be bugged for me at least, says I've deleted it and I can't reply to anyone.

This entry was edited (1 month ago)
in reply to dil

Some I haven't seen mentioned yet:

  • bottom, a process manager written in rust.
  • starship.rs, a smart prompt that works with most shells. Fish is my fav.
  • broot. A unique file explorer and search.
  • dua-cli a space analyzer.
  • fdupes . Find and remove duplicate files.
This entry was edited (1 month ago)

How to make custom appearance settings apply to all users?


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

I'm setting up a computer with linux mint debian editon, and the computer is going to be used by a lot of people who sign in via AD. I have custom display settings (background, pinned applications, theme, custom menu icon) that I would like to apply to all users, but right now they only show up when I log into the account that I set it up on.

Also, is there a way to get a custom firefox esr config to apply to all users as well? I want to remove pocket and make duckduckgo the default browser.

Many thanks.

in reply to countrypunk

For Firefox, I believe the way you'd usually want to do this is with Policies: support.mozilla.org/en-US/kb/e…

Side-note: Mozilla is shutting down Pocket, so you might not need to adjust that config.
I'm not sure, how they handle disabling it in browsers, but given that the backend has already been turned off, presumably they would disable it even on ESR with some update...

Bazzite or Suse?


I'm installing a second disk in my desktop, and I'm going to install Linux.

I've had dual boot on all my machines since forever. As in decades. I'm an old hand. Perfectly happy in a terminal.

I have Mint in (on?) my laptop because lazy.

I'm asking about QOL. The only "Gaming" I do are flight Sims, and although I haven't tried, I believe X-plane is Linux native. However, I do use some apps which are not Linux native, so I'd need some form of wine or performant VMs.

The PC is a Ryzen 9+64Gb, so it should handle a lot of things quite well.

I've been playing with both in VMs, but I can't get a feel for what my virtualization and wine use would be.

BTW, I might do an install of both, maybe side to side, without commitment to either, and then decide. It's going to be a blank slate install anyway.

From my trials, both seem comfortable enough.

I've heard good things about both.

Opinions?

This entry was edited (1 month ago)

Pop! os-really trying, but constant crash has me frustrated.


So I have been using mint on my other pics with little issue. Wanted to try something different. Got pop all setup, it does work pretty well and is fun (other than God awful pop shop) but I keep gettung an issue that seems to be totally unique to me.

No Nvidia.

Amd fx 8320 (yes. Its shit but was free)
12 gb ram
Radeon ellesmere xfx rx580

My issue. After varying times of usage. Either running vms, gaming. Browsing web, doesn't matter, ill get pink diagonal squares across the screen, full freeze up, kicked to the login screen, and then I am not able to log in at all until I hard shutdown.

I just put a bunch of stuff on this pc and would rather not have to switch back to mint. I am thinking it's maybe my graphics card driver but I am unsure how to see. I do have the correct popos for my hardware.

I know there is logs but im unsure where.

Edit: ofc amd drivers should be native so that shouldn't be my issue.

Edit for anyone who may see in the future: I fixed the issue temporarily by throttling down the wattage allowance to my gpu, using LACT. I will need to get a higher power PSU in the future. Thanks all!

This entry was edited (1 month ago)
in reply to bridgeenjoyer

I didn’t even know there were still cases bundled with power supplies! But yes, in general, throughout the history of PC building, I’m pretty sure included power supplies in any brand tend to be very low wattage. The power supply probably isn’t even broken - I’m just guessing the PC’s was upgraded to an RX 580, and the RX 580 was more power hungry than the original graphics card and the power supply just wasn’t designed for it.

Just a tip - next time you build or upgrade a PC, use this tool to estimate what power supply you need; newegg.com/tools/power-supply-…

You can get a 700 watt PSU that should work in the $50-70 range, although honestly, it might be worth it to go a bit bigger so you can cannibalize it for a future build when the time comes - even the RX 580, which is newer than your CPU, is getting a bit old and I hope to replace it if I build a new PC in 2028.

in reply to data1701d (He/Him)

Oh yeah, the cheap ones do, and this was just a second hand pc I got for 40 bucks to have for messing around with. The psu may not even be name brand as there's no labeling at all on it.

Right now, throttling the wattage allowable from the card has fixed it! I ended up using LACT for this, which works perfectly.

Yes im very behind in the pc world. My brain still thinks 4 gigs of ram is massive, ha. My main pc is another rx 580 with a little bit better fx proc and 16g ram, and it does an excellent job for everything I do. The proc is definitely a bottleneck though. Maybe ill go am5 next year

in reply to bridgeenjoyer

Luckily, I can probably live with using mine a few more years. Mine's an early AM4 system with a Ryzen 5 2600 in it. My CPU performance isn't a huge bottleneck (although I'd like a couple more cores for faster compilation).

Really, it's my graphics card. The 580's fine for some basic gaming, but it sort of got left in the dust with ROCm support - it's kind-of-sort-of supported, but not well enough for Blender to work with it.

I think the situation's improved with ROCm on consumer GPUs enough now that so long as I buy a newer card, I should be fine. Debian support's improved a lot as well - for many GPUs, it should just be a matter of sudo apt install hipcc now. However, Debian is still a few versions behind in experimental and doesn't support the latest AMD cards, but I suspect that getting it packaged was the hard part, and that once Trixie releases, Forky/Testing will catch up in a few months.

in reply to bridgeenjoyer

Unrelated thing - just found out something funny.

Apparently, Torvalds himself uses a 580.

phoronix.com/news/Radeon-RX-59…

in reply to nothingcorporate

instead of searching and installing all your apps one-by-one


And... that takes what, a good all 5 minutes?

Honestly unless you either re-install an OS frequently (which is a weird thing to do on a day-to-day system) or plan to go offline for a long period of time I bet you'd spend more time finding a "solution" then not doing so manually.

I'm not you but when I install a fresh OS (maybe once every couple of years, at most!) on my desktop (not counting other devices, handheld, servers, etc) I install

  • Firefox (if it's not already by default, if it's ESR then I might get a different update mechanism)

...well honestly that's it!

Then yes as I start to work I add KDEnlive, OBS, Blender, Cura, OpenSCAD, etc.

My point being that I can't imagine a moment when, as you start the OS you actually need all the other software at the same time. You usually need one, then another, e.g. Inkscape to edit a PDF document you just received, then you pass the extract image to e.g. LibreOffice Writer.

So... not having everything from the start is IMHO a good moment to consider what you actually need, keep things lean.

TL;DR: there are technical solutions but on a desktop connected to the Internet it's not worth it.

PS: I do personally keep my bash history or my ~/bin/ and ~/Apps/~ directories across installations (because I do keep~` on a dedicated partition) with some AppImages in but honestly I don't rely on these.

in reply to SpiderUnderUrBed

man switch_root

switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new
root filesystem and starts init process.

WARNING: switch_root removes recursively all files and directories on the current root filesystem.


If you look at the source code, it uses mount(2) with the MS_MOVE flag to move the /proc, /dev, /sys, /run to the new root, then deletes all the files on the old root fs recursively, then MS_MOVE-mounts the new root over the old one. As the comment in the source code points out:

/* Don't try to unmount the old "/", there's no way to do it. */


This is presumably why it deletes the files on the initrd, because it is a ram disk and the files would be eating up memory if left there.

This entry was edited (1 month ago)

How bad is my partitioning?


I just got a new laptop and installed Linux on it. I mainly run OpenSUSE.

Getting full encryption on both was a bit of a challenge and I had no idea what I'm doing. Will having the swap partition in the middle break things? Did I really need so many partitions (Mint and OpenSUSE don't show up in eachother's boot menu)?

I'm probably not gonna change this layout (because reinstallation seems like a pain) unless the swap partition's position is a problem. I'm just curious how many mistakes I made.

EDIT: I'm not upgrading my drive capacity. I do not need it.

This entry was edited (1 month ago)
in reply to Tenderizer78

Is there any reason? You're effectively wasting half the drive by using that space for OSes you almost never use.

If you ever happen to need Windows, which I don't see happening as you yourself can't imagine an actual use case, you can just go to the library or borrow a friend's computer or maybe use your phone.

As for Mint, do you just have it to experiment with? If you're just trying to try out other distros, a virtual machine or even live USBs are much easier ways to quickly try out new systems without having to clear actual partitions.

If you had much more storage then sure, waste some of it, but you're really gonna be missing that 120gb if you use your computer for... basically anything.

The order of the partitions basically doesn't matter at this point -- I think having a boot partition first used to be important for MBR schemes but I'm pretty sure in the UEFI era you can have them in whatever order. As others have mentioned, you could combine your EFI partitions, but doing so to an already installed system is slightly complex. You also could shrink some of your EFI and boot partitions, I'm not sure of the recommended sizes off the top of my head but I think they could be smaller. On the other hand, your swap partition should probably be bigger -- making it the same size as your RAM is a good rule of thumb and will enable hibernation (I think).

in reply to Tenderizer78

If you don't plan to expand the swap partition, I would recommend just deleting the swap partition -- you could either make it a new ext4 and use LVM to combine it with the shared storage, or if you're going to combine your EFI partitions you could grow your Mint partition to include both the SUSE EFI and the swap partition -- and using a swap file instead, as another commenter mentioned. You honestly really don't need swap space regardless with 16gb of RAM if you're really just using this to run a web browser, but you can easily set up a swap file if you want one.
in reply to verdigris

Some of the responses I got were about how the swap partition is useless, and someone else replied to them that they were wrong. I haven't responded to these people because I don't yet understand who's right. I'll use a swap file or just no swap altogether once I check for myself if the anti-swap people are nutters. I assume temporary files aren't saved to swap but instead to temp so I can't imagine what it's used for on an SSD.

I found yet another thing I'd need to manually install with OpenSUSE Leap (and at that point I may aswell use Arch with all it's documentation glory). I didn't have any of these issues with Ubuntu-based distros so I'm doing a fresh install with Kubuntu.

I'm gonna LVM it with two distros and a shared data partition.

in reply to Tenderizer78

Scared

On a more serious note, as others have said, you'll probably burn through these weird storage limitations quickly.

Also, what do you mean by "sensitive matters" on Mint? Because almost any way you spin it, I feel like it's not a great idea:
- If you're talking professional, confidential work with clients, keeping it on the same device where you do anything personal sounds like a terrible idea, and it's probably worth it to shell out for a dedicated device just for this.
- If it's more personal things like government documents, medical records, and other things I'll neglect to name here, running a separate operating system just for those just feels like unnecessary paranoia and will cause you unnecessary trouble. If you're careful, it shouldn't be a problem - the major browsers prevent file access through protections against cross-site scripting.

Also, as I said in another comment here, please upgrade that drive before you put a lot of data on it. If you don't and you run out of storage later (a near-certainty on 256GB), you'll have to go through the effort of getting everything copied, which may include equipment purchases and several hours of your time when you could jut do it right now while your important files are still small enough to fit on a flash drive right now. Save yourself the future trouble.

Anyhow, I wish you happy Linux usage.

in reply to merompetehla

Mobile CPUs (any any direct-die cooling for that matter) are more prone to pump-out, where the chip and heatsink expand at different rates with temperature changes, and the varying gap between the two creates a pumping action. It's best to use a thicker paste to avoid it, or even better, a thermal pad. Not that it's the best in the long run, but I have gotten away with the thinner MX-4 in my laptop for about a year.

If you have maybe $30 to spare, consider buying some PTM 7950 since it's second only to liquid metal (very hard to get right), and should be good for many years. Be sure to get it from reputable sellers though since there are fakes for PTM 7950.

Why do atomic distros not contain good backup tooling by default?


I have tested a lot of atomic and traditional distributions lately. Tons of desktop environments strictly for fun and branching out. Having a 1 2 3 backup strategy and not just having it in place, but being able to restore your backup in a timely manner to keep continuity is paramount. You can list infinite reasons why.

Why do atomic distros which are supposed to me more stable, superior to some degree immutable environments lack good backup options? You can hack things together and there are somewhat installable tools. Like timeshift or etc etc. But it seems they place a lot more emphasis on rolling back poor updates in the event than total system backups.

By default it you should have true backups then layer in rollbacks. Not the other way around. Am I missing something?

in reply to OhVenus_Baby

Fam, I loathe saying this, but -please- if you desire engagement, then at least put some honest effort into proofreading your writings before posting them. I'm just assuming stuff at this point because I can barely grasp your intent/writing. *sigh*

Why do atomic distros which are supposed to me more stable, superior to some degree immutable environments lack good backup options? You can hack things together and there are somewhat installable tools. Like timeshift or etc etc.


Which distros even come by default -so installed OOTB- with "good backup options"? Which atomic distros is this statement even based on?

But it seems they place a lot more emphasis on rolling back poor updates in the event than total system backups.


Because their atomicity barely goes beyond updates. The 'atomic' in "atomic distros" mostly describes how its updates are atomic; i.e. the system either updates successfully or doesn't update at all. Thus, by design, we have two possible states after an update: a 'successfully' updated system or a 'failed' update resulting in the same state as the previous. Atomic distros aren't smart enough to catch all 'breakage' occurred by 'successful' updates. As such, most of these breakages will only show them after trying to boot into updated system. Deleting/erasing the previous known good state without verifying that the new/upcoming state works well is foolish. Especially on a distro that's got robust updates otherwise. Hence, the functionality of rollbacks on updates is almost trivially done/applied to atomic distros, as it (almost) follows by design.

So, what I'm interested in is the following:
- Are you familiar with the notion of stateless systems? Is this (perhaps) what you're (actually) seeking?

By default it you should have true backups then layer in rollbacks. Not the other way around. Am I missing something?


I think my previous paragraph should be enlightening in this regard. If you disagree (or something/otherwise), then please feel free to elaborate why you think so. Btw, what do you even mean with "true backups?

in reply to Luke

Based on their post history, I strongly suspect the OP has English as a non-primary language.


While I believe your intent and attempt is noble, in OP's comment history we find their admittance to being American.

Furthermore, I'd argue their history actually suggests that they're very much capable of writing perfectly sound English. In fact, this isn't my first interaction with OP. So I know they can do better. But, for whatever reason, they haven't demonstrably shown the same diligence when writing up this particular post.

They are doing fine, their posts are perfectly understandable.


The bold part is probably directly targeting the "proofreading your writings before posting them"-part of my original comment. And I'll admit that I should have done a better job at conveying that this doesn't intend to allude to a structural problem. So, to be clear, it was meant as general advice after being bothered by (only) this post.

::: spoiler Uno Reverse
Outwardly suspecting ESL for native speakers ain't nice either, but I digress...
:::

This entry was edited (1 month ago)

[FIXED]I need help rescue my archlinux system


Hi all,

Today my system was working fine until I reboot. It do not boot into my desktop anymore. It boot into shell.
It look like this:

ibb.co/TMmj6d88

I am not really an expert in file system, so I am not really sure what is the first step or is this recoverable. Which mean I will need a lot of help from you guys. Any help would be appreciated thanks.

I followed this fix blog.fyralabs.com/btrfs-corrup…

This entry was edited (1 week ago)

Looking for a Desktop Environment recommendation for my Mother's new 2-1 laptop.


My mother has never daily driven a laptop more recent than a nearly decade old macbook running macOS Sierra. (except, briefly, a quite nice work-provided windows laptop that she hated using.)

She is, however, about to buy a 2025 Lenovo Yoga 7 14", and wants to use linux on it.

As the designated "techy person" in my family, I have been tasked with choosing which distro to put on it. I chose fedora it supports modern hardware nicely, and it's what I use, which would make tech support easier.

What I'm not sure about is what desktop environment she should use. I'm currently split between GNOME and KDE, since they're the two that are the most polished and work the best on the kind of hardware she'll be using.

She seems to prefer a more traditional desktop paradigm (dislikes overly flattened ui's and autohiding ui elements like scrollbars), but given she's not very techy and currently uses an iphone and ipad quite a bit, so gnome might feel more friendly with how simple it is, and be a bit more touch-friendly.

I asked her and she's not sure either, so I'm asking here which one is might be better given the hardware and the preferences she's expressed.

This entry was edited (1 month ago)
in reply to jackeroni

i object to this because the phrasing "invasion" still makes it out like the DPRK are the bad guys

it was a civil war, the lead up to the civil war seeing the South have a police dictatorship supported by the U.S. which did literally every awful thing the u.s. has accused the DPRK of doing, including killing people for the wrong fucking haircut

notice how literally no american ever talks about the U.S. civil war with "the North invaded the South"

and they're the good guys because they "ended slavery"*

*terms and conditions apply

What are the best alternatives to youtube that have a community?


Im not sure if this goes here like a major amount of my posts. Im looking for a alternative to youtube for beginners who just want to be apart of the community in a old school youtube perspective but not too old that it feels outdated. I sadly created a movie recap just to see how hard it was, it took me almost 2 hours just to slice and remove parts of the movie only to get a copyright warning by youtube. I mostly just blame my newbie editing skills, but is there a alternative to youtube that allows me to post videos youtube dosent want me to?

If you want to see my horrible cliche recap here it is. Be warned its not great and it has one of those text to speech voiceovers and such. I feel like i worked hard but at the same time i may have made slop. (please dont steal)

Big movie recap

in reply to GrumpyCat

If you are trying to get monetized, make some $$, a lot of creators are using Youtube as sort of a cross-posting system, ie edited or partial content so they won't get a copyright strike, or offend the fascist YT censorship, then in the video reference your Peertube/Odyssey/Rumble for the full version. It helps also to transition or train viewers on alternative platforms.

wifi drivers - ubuntu


Every time i installed an ubuntu distro , wifi dont appear to me and i need to install drivers via a github repo.

I remember people advice to me to do this - forums.linuxmint.com/viewtopic…

and that really solve my problem. However, more im getting into linux, people says to me to be carefully about what i put on terminal.

Being said that, anyone know if this is bad, to do this? Since is the only way i get to putting my wifi working, i would like if this can be danger, since i really dont understand nothing about linux and i am new in this journey.

Does the average american, when naming a price of any given item, takes into account taxes or disregards it?


Watching a documentary, there was aremark from the journalist on how, due to how wildly taxation on goods may vary, from area to area, in the US, most retailers do not put the full prices on the shelves and instead just tally it at checkout.

This made no sense to me, a european, as when I go to any regular shop, prices already include all taxes applicable to the product.

There are specialty stores where VAT and other taxes may not be applied on the price on the shelf but those are usually wholesellers, selling for professionals, that already know what additional taxes will be added and at which rates, at checkout.

Not having the full price you'll be paying, on display, seems very underhanded and a bad practice. The client should know how much they are going to pay from the moment they pick an item.

in reply to TabbsTheBat

There are often nation-wide or region-wide advertising campaigns that proudly display a price. If individual cities have different sales taxes, that would make it hard. Personally, I still don't find this to be a good reason. Just charge a single amount anyway and eat the costs in the high tax area. Price it in.

Edit: now that I'm thinking about it, many chain businesses are franchised. So each McDonald's (for example) is independently owned. So they couldn't just eat the cost in those areas.

This entry was edited (1 month ago)

My family and I are living in a real famine. Help us get food and water .


Please take a moment to read my story from Gaza.
I live with my family in a tent, struggling to survive every day.
Even 1€ can help.
❤️ Please donate or share:
gofund.me/da782c66
My name is Soliman — a young man and student from Gaza, carrying a burden far heavier than my age. Between my studies and the hardships of life, I try to be the backbone of my family in the most difficult of times.

We once had a small farm — olive and citrus trees, and a greenhouse where we planted not just crops, but dreams.
That farm was our only source of income, and more than that, it was a place full of memories, of hope, and of the laughter that once made life a little easier.

But in a single moment, everything was gone.
A fire reduced our years of effort to ashes.
We lost our source of living, our stability — and with it, a part of our souls.

Now, despite the pain, I’m trying to start over. I’m doing everything I can to keep my family standing, to find even the smallest light of hope that might restore our strength, dignity, and sense of humanity.

I share these words with honesty and hope, hoping they reach a kind heart — someone who can help, or even simply share my story with others who might be able to.

If you’re able to support us in any way, here is the link to our GoFundMe campaign:
❤️gofund.me/da782c66
Every share, every kind word, every small donation could be a lifeline for us.

From the bottom of my heart, thank you for taking a moment to read my story.

Deadly airdrops and a trickle of trucks won't undo months of 'engineered starvation' in Gaza, Oxfam says


July 27, 2025 09:28 EDT

Oxfam has said the airdrops into #Gaza are wholly inadequate for the population’s needs and has called for the immediate opening of all crossings for full humanitarian access into the territory devastated by relentless #Israeli bombardments and a partial aid blockade.

Bushra Khalidi, Oxfam policy lead for the Occupied #Palestinian territory, said:

Deadly airdrops and a trickle of trucks won’t undo months of engineered starvation in Gaza.

What’s needed is the immediate opening of all crossings for full, unhindered, and safe aid delivery across all of Gaza and a permanent ceasefire. Anything less risks being little more than a tactical gesture.

Deadly airdrops and a trickle of trucks won't undo months of 'engineered starvation' in Gaza, Oxfam says


cross-posted from: lemmy.ml/post/33751786

July 27, 2025 09:28 EDT

Oxfam has said the airdrops into #Gaza are wholly inadequate for the population’s needs and has called for the immediate opening of all crossings for full humanitarian access into the territory devastated by relentless #Israeli bombardments and a partial aid blockade.

Bushra Khalidi, Oxfam policy lead for the Occupied #Palestinian territory, said:

Deadly airdrops and a trickle of trucks won’t undo months of engineered starvation in Gaza.

What’s needed is the immediate opening of all crossings for full, unhindered, and safe aid delivery across all of Gaza and a permanent ceasefire. Anything less risks being little more than a tactical gesture.


reshared this

in reply to HaraldvonBlauzahn

I am considering this too, as it is a real advance in solving problems of dependencies, stabiliy and slso security / trust roots. So far, I am using Guix shell for smaller development projects in Rist Python and Guilr, and it is great.

Do you have any difficulty with update times?

Does it cope well with larger / more conplex systems ? What were your main difficulties there, if any?

How can ufw do me like that?


EDIT: Thanks for the help guys!

Something strange happened just now, im trying to figure out how exactly did it happen. On my server I was suddely able to bypass my VPN! I looked around what did happened and found that my VPN service had sent me an email that my subscription expired. What is strange is that I have ufw rules like

To                         Action      From

[VPN server]               ALLOW OUT   Anywhere                  
Anywhere                   ALLOW OUT   Anywhere on tun0

So it should be not allowed to access the internet outside of tun0. Why exactly did it happen? Does the VPN service change iptables or something? Any ideas? I was able to ping, wget, even surf on w3m. The thing is that when I rebooted the server, nothing could connect outside the tunnel, as it should be. Here is the whole ufw table.
Status: active
Logging: on (low)
Default: deny (incoming), deny (outgoing), disabled (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW IN    192.168.1.0/24            
53                         ALLOW IN    192.168.1.0/24            
80                         ALLOW IN    192.168.1.0/24            
9091                       ALLOW IN    192.168.1.0/24              # Transmission
2049                       ALLOW IN    192.168.1.0/24              # nfs

[VPN server]               ALLOW OUT   Anywhere                  
Anywhere                   ALLOW OUT   Anywhere on tun0          
192.168.2.77 22            ALLOW OUT   Anywhere                  
2049                       ALLOW OUT   Anywhere                   # nfs

So how in the world did my VPN company do something to bypass my ufw??? Or was it something else completely?

TIA

This entry was edited (1 month ago)
in reply to testman

I'm running a Lenovo Slim 7 with the Ubuntu Concept Image for X Elite Laptops and it rocks! You can see the support (what works & what's not yet there) in their 🧵 Ubuntu 24.10 Concept Snapdragon X Elite

Spineless Mike Johnson Grovels to Trump and Shutters the House Early


The Speaker of the U.S. House of Representatives, Mike Johnson—probably the worst speaker in American history—shut down the House early this week before its five-week vacation. He wants to avoid holding votes on releasing the Epstein files that reportedly include, among other notables, President Donald J. Trump.

This is the latest valet service provided by a spineless Johnson, a Trump toady, whose groveling has no known boundaries. Imagine Johnson, a lawyer, took an oath to uphold the Constitution yet has no interest in safeguarding the independence of the congressional branch of our government.

in reply to sunbeam60

I don't think that the point here was trying to do anything to say that the user did anything wrong. I think it's simply pointing out how frustrating it is that Microsoft's Insistence on various things, as part of their EEE policy, created this situation to begin with, and that it wouldn't have even broken if not for that.

I'm pretty sure that the person you replied to was really just lamenting that that this is what broke it. And that fundamentally, Microsoft is getting exactly what they wanted as a result. And it's just frustrating.

I look for a #ThinClient #Linux distribution?


#Linux community does someone know a tutorial for a kind of self made #ThinClient device?

I have an old notebook with Linux which does not anymore fit my power requirements, but I have a Linuc PC in my cellar which I use as working device over #RDP since a while and I love this way.

Is there a Remote-Desktop Linux Distribution (RDP, #VNC or #Moonlight) with the sole purpose to connect a VPN on startup and directly login to a Remote-Desktop and also redirect USB-Devices to remote?

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

And setting permissions on directories get’s them inherited by newly created/added files in there, right?


No. They're created based on 'umask' and changing directory permissions doesn't automatically change permissions on underlying files (unless you set privileges recursively) nor new files in the directory.

So how can i remove the ability from my homedir to execute current and new files but keep the traverse permission?


For new files set your umask on what you want. By default it's usually either 0002 or 0022. For existing files you can use find: find ~ -type f -exec echo chmod a-x {} \; (remove echo once you've confirmed that it does what you want).

This Week in Plasma: Printer Ink Level Monitoring


in reply to MazonnaCara89

Plasma Browser Integration’s browser plugin no longer breaks random features or various known video conferencing websites when its enhanced media controls setting is active. (Kai Uwe Broulik, link)


THAT'S the reason why I haven't managed to share my screen on Teams from Firefox for months?!?!

🤦

~microsoft won't ever deserve an apology but boy have I bad mouthed them lately~

Second monitor not working on Fedora 42 (Solved) [RTX 4070Ti]


I just got this laptop and the second monitor is clearly detected by Fedora, as the monitor layout popup pops up, but the monitor doesn't actually work.

I assume this to be an NVIDIA problem, but as I have no experience with NVIDIA-based issues, I thought I'd ask here.

Here's my system specs:
Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.3 KDE Frameworks Version: 6.16.0 Qt Version: 6.9.1 Kernel Version: 6.15.7-200.fc42.x86_64 (64-bit) Graphics Platform: Wayland Processors: 24 × Intel® Core™ Ultra 9 275HX Memory: 32 GiB of RAM (30.8 GiB usable) Graphics Processor: Intel® Graphics Manufacturer: LENOVO Product Name: 83LU System Version: Legion Pro 5 16IAX10H

Side note - is it not detecting my GPU?

This entry was edited (2 months ago)

Best os choices and use cases for a netbook with 2ram?


I recently got a 10 dollar working netbook from a thiftstore. It has 2 ram and is from 2010 but isint the up-gradable version. Im wondering what os to run on it do i go with something like a android build or a linux setup? Im could also use some neat use cases. Ive thought about doing retro game on it but there are possible better solutions?
in reply to GrumpyCat

Assuming you mean 2GB RAM, it will run a full Linux. I was using a 2008-vintage laptop with similar specs as a secondary machine until recently, and it was capable of handling many light workloads. Retro gaming up to the 16-bit era should be fine. 720p video playback from local storage (never tried streaming) was fine. Modern websites were very hard on it, though, so I didn't normally use it in that capacity.

Just pick a distro that isn't too bloated, and a desktop environment that's suited to older machines and doesn't expect too much of the hardware, and you'll be fine.

(My laptop still works, by the way. I gave it up because 1. I got a good deal on a machine with much higher specs and 2. I run Gentoo, and compiling a modern version of GCC on a dual-core of that vintage takes longer than you would expect.)

E-ink tablet for note and reading


Well i just saw the remarkable 2. I liked how it workes at feels. But im concerned for the update abillity, like the software support, and the abillity to decide what data is send and so on. Im a noob for Linux, i use fedora on my laptop, and thats it. So yir Pinenote isnt for me,because im not that good in linux development. What is the linux community thoughts on the remarkable 2 (as far as i know, its based on Linux) or are there good alternatives out there?
I want to use it for note taking and reading pdf..

If you dual-boot different distributions and want to keep old versions of distros for upgrades, how do you proceed?


Say you are dual-booting Debian and Arch and want to upgrade Debian oldstable to Debian stable. But you want to keep the old installation available as a fall-back option. And you also want to re-use your configuration files and dot files, but in a way that incompatible changes to your dot files in the new Debian or Arch version do never break the old program versions.

How do you do that ?

(I describe my own approach in a comment below.)

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

Since both Debian and Arch aren't atomic distros or offer rollback... The way I do it is connect my large external USB harddisk, do a backup and then upgrade. If there's something wrong, I restore the backup, but in reality I was always able to resolve issues with the updates.

On my server I do LVM snapshots, that's fairly easy to do. I avoid BTRFS since that messed up one of my filesystems a few years ago, but I heard it got better since and it's not supposed to do that any more.

This entry was edited (2 months ago)

Wayback 0.1 Released As First Preview Release For X11 Compatibility Layer


"Wayback is an X11 compatibility layer that allows for running full X11-only desktop environments using Wayland. It is essentially an X11 server backed by Wayland, leveraging wlroots and Xwayland. Our goal is for Wayback to eventually be a completely drop-in replacement to the Xorg binary, thus reducing maintenance burden for distro maintainers."

is there any way to put my extra memory to use to play av1 files if my cpu overloads? Debian 12.11


debian 12.11

system memory size: 31GiB, 2 15.5 GiB cards

cpu: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz, version: 6.142.9, size: 3268MHz, capacity: 3500MHz, width: 64 bits

no graphics card whatsoever

computer can play h.265 and equivalent without troubles, provided video file is no higher than 1080 p.

Computer can play av1 files no higher than 1080 p only if I shut every other application down. If for example I run a browser and an av1 file with either mpv or vlc, system shuts down.

Can I put all that memory to use and avoid overloading the cpu?

ETA: temperature seems to be the reason why this machine shuts down. Fan is ok, not too much dust, it needs a re-paste

This entry was edited (1 month ago)
in reply to merompetehla

I had an i5-7200u equipped laptop and I could do AV1 playback, not well but it didn't do what you described.

Also is it maxing out memory or cpu? I would check btop during playback. Look at CPU usage, memory usage and temps while doing so and report here.

Edit: Something is definitely wrong with your machine, that is abnormal behavior. Maybe it's overheating, maybe it's trying to do some sort of gpu decode and has no idea what to do with it as it doesn't support it. Can you check what encoder mpv is using? I would assume it would failback to CPU.

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

As a fighting game fan, this one shows promise. The devs are the Cannon brothers. They are the guys that founded Evo, the biggest fighting game event. They also created and freely licensed rollback netcode, the gold standard for fighting game netcode. the core of the game will likely be excellent. The f2p model hasn't really been done at this level in fighting games. Most games are sold at full price and they sell costumes and characters as dlc. I'm hoping this game will get more people to try fighting games and hopefully it doesn't become a loot box simulator.

the order of redirections is significant


In bash, if you put:

ls /Users/*/.ssh/id_rsa 2>&1 > rsa-keys.log

...you're redirecting stderr to the stdout's destination while stdout is still sending output to the screen. So any permission errors encountered will go to the screen, not to rsa-keys.log.

From the bash manpage:

==================

Note that the order of redirections is significant. For example, the command

   ls > dirlist 2>&1

directs both standard output and standard error to the file dirlist, while the command
   ls 2>&1 > dirlist

directs only the standard output to file dirlist, because the standard error was duplicated from the standard output before the standard output was redirected to dirlist.

==================

Commands given to the shell are evaluated and processed in a specific order and fashion, and this is one quirk of that that many people are unaware of.

A power utility is reporting suspected pot growers to cops. EFF says that’s illegal.


According to a motion the Electronic Frontier Foundation filed in Sacramento Superior Court last week, Nguyen and Decker are only two of more than 33,000 Sacramento-area people who have been flagged to the sheriff’s department by the Sacramento Municipal Utility District, the electricity provider for the region. SMUD called the customers out for using what it and department investigators said were suspiciously high amounts of electricity indicative of illegal cannabis farming.

Urgency to Switch from Windows 10 Builds


The openSUSE Project is part of a growing coalition of open-source advocates urging Microsoft users to install a Linux operating system as Microsoft prepares to end support for Windows 10 this October, and urgency to get that message out is building.

Some in the IT industry are suggesting that as many as 50 percent of the devices remain using Windows 10, which comes at great risk to users and businesses.

Those who remain on Windows 10 and don’t upgrade to an operating system providing security and maintenance updates like a Linux OS or Window 11 will be susceptible to vulnerabilities, malware infections, software incompatibilities, and an increasing amount of system instability and failures over time.

The End of 10 campaign and its initiative aims to promote migration-focused type events to help these users shift from Windows 10 to Linux-based operating systems.

The amount of PCs that will become unprotected on October 14 is unprecedented, and getting people to migrate to Linux operating systems like openSUSE’s is reaching a critical juncture as millions face the looming deadline this Fall.

October 14 is just 12 weeks away and the end-of-support deadline for Windows 10 will expose those who have not migrated to increasing cyber threats.

In additions to the the threats, a big part of the End of 10 movement emphasizes environmental responsibility, digital sustainability and long-term cost savings for those with aging computers that could potentially end up recycled or in landfill.

End of 10 advocates and supporting organizations like NextCloud, REPAIR CAFE, KDE, GNOME, FSFE, EU OS and several other organizations would prefer users find a Linux solution for their older hardware rather than have this event create an environmental disaster. Installing Linux on these old systems can breathe new life into perfectly functional machines that may otherwise be discarded.

Several open-source software projects and organizations and been collaborating for more than a year to create unified resources, tutorials, migration tools and support channels to help lower the barrier to entry for those who seek to install a Linux new operating system.

Members of the openSUSE community and others have been vocal about appealing to Windows 10 users that can’t upgrade their devices to Windows 11.

For those ready to act, the campaign website has resources available and links to community events to help people install Linux.

Anyone who wants to install an openSUSE distribution can follow this A Step-by-Step Guide.

The message to Windows 10 users is clear; don’t replace your computer; reimagine it!

Fedora Weighs Dropping Release Criteria For DVD Optical Media


in reply to network_switch

Besides the corrections others have said, I really can’t think of any reason people would intentionally use legacy BIOS on a machine with UEFI for a new install.

Like, I could get doing it for an old install - I know someone who installed Windows 7 in 2015 on their then-new desktop build and later upgraded to 10 but is stuck on legacy BIOS for now with that machine because 7 only ran on that.

I could see something similarly jank happening to someone in the Linux world and then decide not to address it for “if it ain’t broke, don’t fix it reasons”, but certainly not for no reason.

Question About Bash Command Grouping Behavior in Script vs CLI


Question for you all.

I was working on a bash script and working out some logic for command chaining and grouping for executing different functions in my script based on the return status of other functions.

I know you can group commands with (), which spawns a subshell, and within the grouping you can chain with ;, &&, and ||.

I also know that you can group commands with {}, but, within the curly braces you can only separate commands with ;.

EDIT: the above statement of the curly braces only allowing ; is incorrect. I misunderstood what I had read. @SheeEttin@lemmy.zip pointed out my mistake.

The requirement is that the list of commands in the curly braces needs to be terminated with a semicolon or a newline character, and in the script, I unknowingly was meeting the rules by using the newlines to make the code easier to read for myself.

END EDIT:

In the script, for readability I did group the commands across lines kind of like a function.

The script is pretty simple. I created a few functions with echo commands to test the logic. the script asks for input of foo or bar. The first function has an if, and if the input is foo, it executes. If it's bar it returns 1.

The return of 1 triggers the or (||) and executes the second command group.

The idea was, if the user inputs foo, the first group triggers printing foo baz to stdout. If the user inputs bar, the foo function returns 1, the baz function does not execute, the or is triggered, and bar but is printed to stdout

Here's the script (which executes as described):

Can anyone explain why I'm able to group with curly braces and still use && inside them?

(Also, the reason I want to use the curly braces is I don't want to spawn a subshell. I want variable persistence in the current shell)

\#! /usr/bin/bash

# BEGIN FUNCTIONS #

foo () {

    if [[ "${input}" = foo ]]; then
        echo "foo"
        return 0
    else
        return 1
    fi

}

bar () {

    echo "bar"

}

baz () {

    echo "baz"

}

but () {

    echo "but"

}

# END FUNCTIONS #

read -p "foo or bar? " input

{
    foo && 
    baz
} ||

    {
        bar &&
        but
    }
This entry was edited (2 months ago)
in reply to SheeEttin

Ah! I misinterpreted what I read! I found that exact same reference link when looking into this and I misinterpreted this:

The semicolon (or newline) following list is required


to mean that it required the semicolon as the command separator. That explains why my script works. The newline closes each group, and the other operators are allowed, the list just needs to be closed. Thank you!

in reply to SheeEttin

My environment is just my homelab. Ubuntu server on my server, Arch (btw) on my laptop. So I could go with any language , but right now I'm choosing Bash. I know stuff I'm doing would probably be easier in a different language, and maybe I'm a glutton for punishment. I just want to get really good with Bash.

The logic is Bash is gonna be available on just about any computing environment I encounter (linux especially, but even Windows with WSL and zsh on macOS (which I know is different, but still very similar). But really, I am just enjoying the hell out of learning and scripting with Bash. I'll move on to Python or something someday.

Fifteen more Palestinians die from starvation amid Israeli-imposed famine


Fifteen Palestinians died from malnutrition under an Israeli-imposed famine in the Gaza Strip in the past 24 hours, the Palestinian health ministry said on Tuesday.

Four of them were children, including three identified as the infant Yousef al-Safadi, Abd al-Jawad al-Ghalban, 16, and Ahmad Hasanat.
inian health ministry.

more questions about yt-dlp arguments on debian (excluding av1, aborting an active download not shutting the terminal down)


debian 12.11, yt-dlp stable@2025.07.21

aim: to download the best video available with the largest height but no better than 1080p, excluding av1 as well.

What works:

yt-dlp -f bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] -S height:1080 --all-subs


but this command downloads, if possible, av1, which target hardware doesn't support for longer than 5 minutes.

Argument I don't know to add correctly:

[vcodec!*=av01]


I tried:

yt-dlp -f bv[ext=mp4]+ba[ext=m4a]/b[ext=mp4][vcodec!=av01] -S height:1080 --all-subs


and other variations, but it didn't work.

second question, aborting an active download not shutting the terminal down: neither ctrl+c nor ctrl+q work and opening htop to kill the process seems overkill. What I now do is to simply shut the active tab, but there must be a faster way.

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

I think AVC1 is another word for H.264. That's the oldest one with lots of hardware acceleration available in old devices and by far the biggest one in file size. VP9 should roughly be on a similar level with H.265. The main difference is that VP9 is supposed to be royalty-free and H.265 isn't. The best one is of course AV1. But that also takes considerably more resources to encode and decode.
This entry was edited (2 months ago)

Trying Guix: A Nixer's Impressions


One aspect of Guix I found to be really fascinating: That there is basically no conceptual difference between defining a package as a private build script, and using a package as part of the system.

Let me explain: Say you wrote a little program in Python which uses a C library (or a Rust library with C ABI) which is in the distribution. Then, in Guix you would put that librarie's name and needed version into a manifest.scm file which lists your dependency, and makes it available if you run guix shell in that folder. It does not matter whether you run the full Guix System, or just use Guix as s package manager.

Now, if you want to install your little python program as part of your system, you'll write an install script or package definition, which is nothing else than a litle piece of Scheme code which contains the name of your program, your dependency, and the information needed to call python's build tool.

The point I am making is now that the only thing which is different between your local package and a distributed package in Guix is that distributed packages are package definitions hosted in public git repos, called 'channels'. So, if you put your package's source into a github or codeberg repo, and the package definition into another repo, you now have published a package which is a part of Guix (in your own channel). Anybody who wants to install and run your package just needs your channel's URL and the packages name. It is a fully decentral system.

In short, in Guix you have built-in something like Arch's AUR, just in a much more elegant and clean manner - and in a fully decentralized way.

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

I had a go at using guix as a package manager on top of an existing distro (first an immutable fedora, which went terribly, then OpenSUSE). Gave up for a few reasons:

  • As mentioned in the article, guix pull is sloow.
  • Packages were very out of date, even Emacs. If I understand correctly, 30.1 was only added last month, despite having been available since February. I get that this isn't the longest wait, but for the piece of software you can expect most guix users to be running, it doesn't bode well.
  • The project I was interested in trying out (Gypsum) had a completely broken manifest. Seems like it worked on the dev's machine though, which made me concerned about how well guix profiles actually isolate Dev environments. This was probably an error on the dev's part, but I'd argue such errors should be hard to make by design.

All in all I love the idea of guix, but I think it needs a bigger community behind it. Of course I'm part of the problem by walking away, but 🤷

in reply to samc

  • As mentioned in the article, guix pull is sloow.


This one has beem discussed on several forums discussing the original blog post, like here or also here on lobste.rs

Part of the reason for slow pulls is that the GNU projects savannah server, which Guix was using so far, is not fast, especially with git repos. Luckily, this is already being improved because Guix is moving to codeberg.org, a FOSS nonprofit org which is hosted in Europe. So if one changes the configured server URL, it is faster. (On top of that interested people might use the opportunity to directly take influence, and donate to codeberg so that they can afford even better hardware 😉).

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

I think, because of Fedoras atomic desktops. I didn't use any of them yet, but it seems like Flatpaks should be used there, since one should (or can?) not install tradional packages there. Therefore Fedora provides the flatpaks anyway and they can be used on the non atomic desktops as well.

Another reason is, that you might not be able to install the latest version of an application as rpm package if a required dependency in the repo is outdated. A Flatpak usually does not have the issue since a newer version would include the fitting runtime.
This said, I do think its not this big of an issue for fedora which is usually quite up to date. But if you run a distribution with LTS releases or something like Debian you will much more likely have older dependencies in your repositiry.

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

atomic desktops


i guess it makes sense in that case, but i'm really not convinced flatpaks should be used as the default (or only, apparently) way to install every application in the system. flatpak's flexibility is great for the particular cases where you want to install newer versions of applications or if an application isn't available in the official repos somehow. besides that, just use distro packages

Another reason is, that you might not be able to install the latest version of an application as rpm package if a required dependency in the repo is outdated


doesn't flathub solve that already?

This entry was edited (2 months ago)

yt-dlp command on debian to download highest available video and audio, provided that resolution is no higher than 1920 x 1080 p


debian 12.11, yt-dlp stable@2025.06.30.

I used this argument: "-f bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]"

and it works: it downloads the best available video, audio and ffmpeg merges both in a single file. Automatically.

Except that the maximum resolution I need is 1920 x 1080 p. Best available video is oftentimes 4096 x 2160 p, too much for the target hardware.

Using -F to check different resolutions to then select one (like -f 299 or -f 148) is tiresome.

How do I do that? Ideally for whole playlists involving between 25 and 50 videos.

in reply to merompetehla

Taken from github.com/yt-dlp/yt-dlp. Replace 480 with 1080. Multiple options in the documentation to choose from.

Download the best video available with the largest height but no better than 480p, or the best video with the smallest resolution if there is no video under 480p


$ yt-dlp -S "height:480"

in reply to merompetehla

The following numeric meta fields can be used with comparisons <, <=, >, >=, = (equals), != (not equals):

filesize: The number of bytes, if known in advance
filesize_approx: An estimate for the number of bytes
width: Width of the video, if known
height: Height of the video, if known
aspect_ratio: Aspect ratio of the video, if known


So a height<=1080 should be it.

Palestinians Are Collapsing in Gaza's Streets From Israeli-Imposed Starvation Campaign


[can't believe that it keeps getting worse, but it does]

Abdel Qader Sabbah and Sharif Abdel Kouddous
Jul 21, 2025

Over the past five days alone, more than 550 Palestinians have been killed in Gaza, according to ministry of health figures. The confirmed death toll since the beginning of the war crossed 59,000 on Monday in what is widely acknowledged to be a vast undercount. Over the past two months, more than 1,000 Palestinians have been killed as they are forced to seek aid in militarized zones in a system mostly overseen by the Gaza Humanitarian Foundation (GHF), a shadowy U.S.- and Israeli-backed group.

One of the deadliest days for aid seekers came on Sunday, when over 70 people were killed, at least 67 of them in northern Gaza where Israeli troops opened fire on crowds trying to get food from a World Food Program convoy entering through the Zikim crossing.

“The tank came, surrounded us, and started shooting at us and we kept raising our hands,” Ibrahim Hamada, who was wounded in the leg, told Drop Site as he lay on a hospital gurney wincing in pain. “There were many martyrs, no one was able to retrieve them. I crawled on my stomach just to reach a car to take me to the hospital,” he said. “I went there to eat, because there was no food at home.”

Palestinians Are Collapsing in Gaza's Streets From Israeli-Imposed Starvation Campaign


cross-posted from: lemmy.ml/post/33477630

[can't believe that it keeps getting worse, but it does]

Abdel Qader Sabbah and Sharif Abdel Kouddous
Jul 21, 2025

Over the past five days alone, more than 550 Palestinians have been killed in Gaza, according to ministry of health figures. The confirmed death toll since the beginning of the war crossed 59,000 on Monday in what is widely acknowledged to be a vast undercount. Over the past two months, more than 1,000 Palestinians have been killed as they are forced to seek aid in militarized zones in a system mostly overseen by the Gaza Humanitarian Foundation (GHF), a shadowy U.S.- and Israeli-backed group.

One of the deadliest days for aid seekers came on Sunday, when over 70 people were killed, at least 67 of them in northern Gaza where Israeli troops opened fire on crowds trying to get food from a World Food Program convoy entering through the Zikim crossing.

“The tank came, surrounded us, and started shooting at us and we kept raising our hands,” Ibrahim Hamada, who was wounded in the leg, told Drop Site as he lay on a hospital gurney wincing in pain. “There were many martyrs, no one was able to retrieve them. I crawled on my stomach just to reach a car to take me to the hospital,” he said. “I went there to eat, because there was no food at home.”


Flotilla Ship Heads Towards Gaza With 7 U.S. Nationals


The Gaza Freedom flotilla coalition is sailing its next ship to break the illegal Israeli blockade of Gaza.

The Handala departed for Gaza on Sunday from the Italian port of Gallipoli after stops in Augusta and Siracusa in Sicily. The journey to Gaza may take around 7 days.

Twenty-one persons from 10 countries are onboard the Handala, including seven U.S. citizens, representing the hundreds of millions of Americans who are strongly opposed to the U.S. complicity in the Israeli genocide of Palestinians in Gaza.

The following nationalities are represented on the Handala: U.S. 7, France 4, Australia 2, Italy 2, Spain 2, Norway 1, Morocco 1, Tunisia 1, U.K. 1; Israel -2 U.S. citizens have dual citizenship with Israel.

in reply to eldavi

Any amount of civilian ships has zero chance of breaking through even a small Navy's determined effort to stop them. The purpose of these ships is to put Israel in a bind. Hurting foreign civilians that are on a peaceful mission would be bad politically. Letting them through would make Israel's blockade look like a joke and probably encourage others to do the same. Even stopping them without hurting anyone is showing the world that Israel doesn't want civilian aid going into Gaza. They likely know they will be intercepted and stopped by Israel's navy. The point is to make this an international incident that puts pressure on Israel to at least lessen it's genocidal tendencies. If all ships went at one time, it would be one news cycle. This way, they are making multiple news cycles out of it, maximizing the pressure.
This entry was edited (2 months ago)

UK, France and 23 other countries say the war in Gaza ‘must end now’


[now let's see if they do something]

By SYLVIA HUI and JILL LAWLESS
Updated 1:05 PM EDT, July 21, 2025

LONDON (AP) — Twenty-five countries including #Britain, #France and a host of #European nations issued a joint statement on Monday that puts more pressure on #Israel, saying the war in #Gaza “must end now” and Israel must comply with international law.

The foreign ministers of countries including #Australia, #Canada and #Japan said “the suffering of civilians in Gaza has reached new depths.” They condemned “the drip feeding of aid and the inhumane killing of civilians, including children, seeking to meet their most basic needs of water and food.”

The statement described as “horrifying” the deaths of over 800 #Palestinians who were seeking aid...

https://apnews.com/article/europe-israel-hamas-war-gaza-e4062cffa9585790061105236a93d8e5/

This entry was edited (2 months ago)

UK, France and 23 other countries say the war in Gaza ‘must end now’


cross-posted from: lemmy.ml/post/33476377

[now let's see if they do something]

By SYLVIA HUI and JILL LAWLESS
Updated 1:05 PM EDT, July 21, 2025

LONDON (AP) — Twenty-five countries including #Britain, #France and a host of #European nations issued a joint statement on Monday that puts more pressure on #Israel, saying the war in #Gaza “must end now” and Israel must comply with international law.

The foreign ministers of countries including #Australia, #Canada and #Japan said “the suffering of civilians in Gaza has reached new depths.” They condemned “the drip feeding of aid and the inhumane killing of civilians, including children, seeking to meet their most basic needs of water and food.”

The statement described as “horrifying” the deaths of over 800 #Palestinians who were seeking aid...


https://apnews.com/article/europe-israel-hamas-war-gaza-e4062cffa9585790061105236a93d8e5/

VS Achuthanandan, politician who pushed for Linux adoption in India, passed away today


India has one of the highest rates of (desktop) Linux usages in the world - hovering around 10% according to StatCounter. Why is this? One reason is concerns over software controlled by foreign countries - particularly the US and China. But another is cost.

The first major boost for Linux and other free software in India came in 2006, when VS Achuthanandan - who passed away today - was elected Chief Minister of the state of Kerala. His government came up with a policy to shift all government computers to free software, starting with schools and colleges.

When the financial benefits became apparent, other states and the Union government followed suit.

Debian 13.0 Ready To Introduce Formal RISC-V Support (But Still Bound By Slow Hardware)


This is the first release where RISC-V 64-bit is officially supported by Debian Linux albeit with limited board support and the Debian RISC-V build process is handicapped by slow hardware.
in reply to GrumpyCat

I you want open-source then your best choice is either Shotcut or Kdenlive.

Shotcut is one of the simplest editor I've ever used...but only if you have simple edits to do, the more you wanna do something less simple the worst it gets.

Kdenlive on the other hand is fine to use in most use cases, but can be a bit tricky to understand at first.

So I always suggest Shotctut if you're sure you won't do crazy edits, Kdenlive otherwise, or to just use both if you are unsure.

My first installation of linux on a 5 year old laptop


My first hurdle is understanding that i need to add a boot sequence and navigate to the EFI file in my mounted pen drive.

second hurdle is understanding i need to disable secure boot so that the dell bios doesnt think something is wrong and always run the bios repair program.

third is understanding that i need to disable Intel rapid storage for the full install (luckily linux mint tells us this)

and honestly the hardest thing was installing fastfetch cuz theres a lot of outdated information out there on how to install it on Mint.

the process took about 4 hours, i consider it very lucky that i was able to do it so fast.

resources that helped me:

devicetests.com/boot-usb-uefi-…

youtu.be/FY-OSdd1ByQ

refind + booster + encryption doesn't work for me


Hello, i have problem because i can't make it work for like a week.
I tried a lot of different configurations and every time i try refind with encryption when refind starts there is no menu entry for encryptred disk, but with no encryption everything works fine. I looked a lot on arch wiki, some install scripts on github and i do what they do and it doesn't work. Maybe anyone could help?

Script i actually use:

execute_refind() {

BLKID1=$(blkid -s UUID -o value $ROOT)
BLKID2=$(blkid -s UUID -o value $CRYPT)

    refind-install --usedefault "$ESP" --alldrivers
    touch /boot/refind_linux.conf

    if [ "$ENCRYPTION" == "yes" ] && [ "$FILESYSTEM" == "btrfs" ]
    then
        cat >> /boot/refind_linux.conf << EOF 
"Boot with minimal options"   "rd.luks.name=$BLKID2=artix root=UUID=$BLKID2 rootfstype=$FILESYSTEM  rw add_efi_memmap quiet $NVIDIA_MODESET" 
EOF
    fi

    if [ "$ENCRYPTION" == "no" ] && [ "$FILESYSTEM" == "btrfs" ]
    then
        cat >> /boot/refind_linux.conf << EOF 
"Boot with minimal options"   "rootflags=subvol=/@ root=UUID=$BLKID1 rw add_efi_memmap rootfstype=$FILESYSTEM initrd=@\boot\booster-$KERNEL.img quiet $NVIDIA_MODESET" 
EOF
    fi

    if [ "$ENCRYPTION" == "yes" ] && [ "$FILESYSTEM" != "btrfs" ]
    then
        cat >> /boot/refind_linux.conf << EOF 
"Boot with minimal options"   "rd.luks.name=$BLKID2=artix root=UUID=$BLKID2 rootfstype=$FILESYSTEM rw add_efi_memmap quiet $NVIDIA_MODESET" 
EOF
    fi

    if [ "$ENCRYPTION" == "no" ] && [ "$FILESYSTEM" != "btrfs" ]
    then
        cat >> /boot/refind_linux.conf << EOF 
"Boot with minimal options"   "root=UUID=$BLKID1 rw add_efi_memmap rootfstype=$FILESYSTEM quiet $NVIDIA_MODESET" 
EOF
    fi

        execute_modules
}

Linux and Secure Boot certificate expiration


Linux users who have Secure Boot enabled on their systems knowingly or unknowingly rely on a key from Microsoft that is set to expire in September. After that point, Microsoft will no longer use that key to sign the shim first-stage UEFI bootloader that is used by Linux distributions to boot the kernel with Secure Boot. But the replacement key, which has been available since 2023, may not be installed on many systems; worse yet, it may require the hardware vendor to issue an update for the system firmware, which may or may not happen. It seems that the vast majority of systems will not be lost in the shuffle, but it may require extra work from distributors and users.
in reply to ☂️-

There is even a whole section in Wikipedia on issues and criticism with secure boot:

en.m.wikipedia.org/wiki/UEFI#S…

Some people argue that one can work around such locking down of PC hardware. Do this or that to avoid issues with substantial tinkering.

But that is not a bug but a feature. Sure, as a technical Linux user you can work around some nastiness. Like working around privacy invasion on Facebook or Linkedin by "adjusting" settings, or "adjust" settings in Wimdows to make it more private and so on. The thing is: working against the platform becomes quickly a losing game, because you don't control the platform - Microsoft does. And it does not help you if you manage to re-gain control of your device after some hours of tinkering if 99.9% of people around you don't have the knowledge and time and store your data, photos, Emails on OneDrive and so on. Freedom is very much a collective thing and software freedom is no exception.

And this does not mean that the thinkering and hacking is in vain - but it is not enough. We need the practical right to control our devices.