• 7 Posts
  • 344 Comments
Joined 1 year ago
cake
Cake day: June 5th, 2023

help-circle




  • Very weird, I can think of some things I might check:

    • It is possible that you have files on disk that don’t have a filename anymore. This can happen when a file gets deleted while it is still opened by some process. Only the filename is gone then, but the file still exist until that process gets killed. If this were the problem, it would go away if you rebooted, since that kills all processes.

    • Maybe it is file system corruption. Try running fsck.

    • Maybe the files are impossible to see for baobab. Like if you had gigs of stuff under (say) /home on you root fs, then mount another partition as /home over that, those files would be hidden behind the mount point. Try booting into a live usb and checking your disk usage from there, when nothing is mounted except root.

    • If you have lots and lots of tiny files, that can in theory use up a lot more disk space than the combined size of the files would, because on a lot file systems, small files always use up some minimum amount of space, and each file also has some metadata. This would show up as some discrepancy between du and df output. For me, df --inodes / shows ~300000 used, or about 10% of total. Each file, directory, symlink etc. should require one inode, I think.

    • I have never heard of baobab, maybe that program is buggy or has some caveats. Does du -shx / give the same results?



  • Like this?

    #!/bin/sh
    set -eu
    
    name_from_desc() {
        LANG=C pactl list sinks \
            | awk 'BEGIN {FS=": "} /Name:/ {name=$2} /Description:/ {print name, ":", $2}' \
            | while IFS=' : ' read name desc; do
            if [ "$desc" = "$1" ]; then echo "$name"; fi
        done
    }
    
    id_from_name() {
        pw-cli i "$1" | awk '/id:/ {print $2}'
    }
    
    ret=$(LANG=C pactl list sinks | awk 'BEGIN {FS=": "} /Description:/ {print $2}' | tofi)
    
    wpctl set-default $(id_from_name $(name_from_desc "$ret"))
    

    I don’t get how that case statement of yours is even supposed to work. I’m pretty sure that’s just a syntax error. I guess you want to map from description to name? But that’s not remotely what that does.



  • I’m still skeptical. At the time of the original Pentium (the last 586 from Intel, the fastest of which was 300 MHz), the usual amount of RAM was something like 16 or 32 MB. A 586 with 1 GB of RAM is extremely weird and probably impossible unless it’s some sort of high-end server. This does not check out.

    Oh and DDR is also from around the time of the Pentium 4. I don’t think there exists a machine that has both DDR and an original Pentium (aka 586). Again, this does not check out and is probably impossible.

    There could be another reason it won’t boot.




  • I used unstable for years (don’t anymore). It broke itself in minor and major ways every couple of months. Maybe it wouldn’t boot or X wouldn’t start, or the package dependencies were broken and I couldn’t install certain packages for a couple of days. Stuff like that.

    You will have manually to fix these things from time to time, or do a workaround (like manually downgrading certain packages), or wait a week so stuff gets sorted. Most of the time it works fine though. I imagine the experience is somewhat similar to running arch.

    You do not get security fixes, but it’s not a massive problem usually, since you’ll get the newest version of most software after a couple of days (occasionally longer) after it is released.

    Anyway do not recommend unless you want to be a beta tester. I did report bugs sometimes, but almost always by the time I encountered an issue, it was already reported and a fix was already in the works.


  • I have never used the Steam beta or Proton-GE or whatever information is spreading out there to noobs about what they should do, and I’ve been gaming exclusively on Linux for more than 20 years. Only do this beta or bleeding edge stuff if you have a problem, and a good reason to believe that will help (like people reporting your specific issue is fixed in beta). Or I guess if you’re bored out of your mind. And expect other issues since it’s fucking beta.



  • Reportedly the Russian factory workers are being paid quite well. And the lack of quality is just a myth I think. There’s no indication that’s actually true.

    The real reason prices in the West are so high is that there’s a shortage, and shells are supplied overwhelmingly by private contractors, and so the price has multiplied thanks to supply-and-demand market logic.

    You may think the Efficient Free Market Knows Best™, so shouldn’t they increase production? Think again. They’re making record profits right now. Meaningfully increasing production involves building new factories for billions of dollars/euros, which might be ready in a year or two. By then the war will be over and they would have overcapacity, which would be inefficient and prices would plummet. Why would they do that to themselves?

    So they’re in a great negotiating position vis a vis desperate Western governments. They want guaranteed profits, of the same sort they’re making right now, or else the shortage continues.



  • I haven’t kept up with all the various lines they’re up to now, but that looks about right. Also obviously doesn’t hurt to google the exact model. Someone I know got an old tabletty Thinkpad with a touchscreen (don’t know what model) and on that one the webcam doesn’t work on Linux, so something like that can happen.