[OC] vmi - a cli tool to verify media file integrity
▲ 4 r/linux

[OC] vmi - a cli tool to verify media file integrity

I can't possibly be the only one who has no idea how to backup an Android phone and somehow always ends up with about half of their files completely unreadable.

... Right?

So I made an app for that. This way you can backup drives' worth of data then quickly verify that 100% of them are completely wacko.

If you also love wasting CPU resources attempting unfeasible MTP transfers over and over, please give it a shot. Any feedback more than welcome (feedback about how to properly back up from Android also welcome).

u/cherrynoize — 10 hours ago

Why is it so difficult to backup smartphones?

I've been looking for years for a solution that just worked the same way as it did 10 yrs ago on a Samsung Galaxy with a removable SD card that I'd just plug into my laptop and had no issue with ever.

I tried adb, mtp apps, I tried just dragging files on Windows Explorer (God have mercy), I even tried KDEConnect which allegedly has some functionality that lets you move files between devices over wifi. Point is, every single time:

  • slow as ass
  • half the time end up with some corrupted files on destination
  • won't ever WARN ME OR SAY I'M SORRY when that happens
  • if I ever try to use the phone or accidentally unplug stuff it goes full Christopher Nolan mode when I try to put back things together
  • honestly most of the time I can't even reach the end of a transfer, it all goes awry way before that unless I do very small transfer batches

To be fair I move heavy loads (I make shitloads of pics/audios) but it's 2026 how can it be so difficult for two electronic devices to share a goddamn piece of data? And also why does no one ever talk about this? Am I seriously the only one unable to do this? Even my grandma told me I was joking when I said I couldn't backup her phone (I study CS, she thinks Bill Gates writes Microsoft's no-reply emails and still I'd bet she could do this faster than me). What am I missing?

P.S: btw, obvly talking regular Android phones. My gf had an iPhone like 3-4 yrs ago and that shit's stuck like glue in there hiding in the drawer. No idea what's going on with Apple vs the world and why they hate us so much.

reddit.com
u/cherrynoize — 11 hours ago

What do you do with your old configs?

I don't mean old versions of config files for stuff you actively use. I mean like config files for software you've completely ignored for years now.

A great example for me is WMs. When I switch WM I don't exactly keep going back and forth just 'cause I miss the other ones. I stick to the one I like and old WMs' config files are left to rot in my .config until some major event happens (basically reinstalling the system would be the only thing).

I actually have a bare git repo which includes those config files, so I wouldn't even truly lose them if I deleted them. But I'd just feel terrible removing the part I wrote with my very hands of the thing I once spent everyday working, improving, doing most stuff on.

And yet, I still feel some amount of guilt keeping it, or I wouldn't be asking you this. I know that old awesome/Openbox config's down there ogling me in the worst kind of way - begging me to let it go 'cause even it knows its time to shine will not come again. So, I just thought I'd ask: how do you guys deal with old config files?

reddit.com
u/cherrynoize — 11 hours ago

JRPGs that are actually fun to play? (possibly very opinionated post, I apologize)

Sorry to anyone who actually enjoys them but I feel very attracted towards the "idea" of a JRPG (I love manga/anime) only to feel like shit for having wasted a couple hours forcing myself to play that game. I just can't see the point.

My main issue

I watch isekai/anime about videogames (such as Shangri-La Frontier, or Solo Leveling is a good example though it's neither) and I love the key concepts: leveling up, learning skills, crafting weapons, collecting items, etc... so I naturally looked into modern JRPGs and they all feel more like gacha games with cute anime girl animations.

What I like

I don't need fancy gfx or anything. In fact, my favorite RPGs ever are the early Pokemons. I did look into other early RPGs such as Final Fantasy but it hit very differently. Don't know why but it felt a lot more sluggish to me.

What I'm looking for

I somehow hoped there was something that plays like Hollow Knight (meaning you actually have to learn how to move your character) but where you can level/build up more like in an RPG.

reddit.com
u/cherrynoize — 6 days ago
▲ 1 r/mead

First mead (?)

Hi, on the 20th I just felt like making mead and didn't have a whole lot of stuff for meadmaking - pretty much nothing actually. So I activated some baker yeast with water and threw it together with some honey (this honey's super good though).

I did read something beforehand and watched some videos of people doing/explaining it so I knew you can make mead with baker yeast - though not really the recommended first choice - and from my understanding it's a pretty safe hobby, i.e. you generally clearly see/smell bad mead. So that's nice, especially since I didn't really sanitize anything. Just threw everything in the jar, as I said.

Since I'm obviously no expert here, I still wanted someone else's opinion on whether this is enough mead-looking and especially if there's any risk I have no clue about or something else to consider.

These are pics after 7 days covered with a paper towel and a loose lid on top.

I'm adding the eyeballed "recipe" I used:

- 150g honey

- 350ml water

- approx. 1/4-1/2 tsp active dry yeast

From the looks of it that's probably a lot of honey. Does this mean the end product's just more honey-ish/sweet tasting? Can I still dilute with more water if necessary?

And you think this could turn out to be mead? Think it's safe to taste now?

u/cherrynoize — 1 month ago

systemd resume from sleep unit sets off prematurely

I've been trying to set up a suspend and a resume systemd unit as shown here but unfortunately the script specified in the resume unit is executed before the system goes to sleep and not after as I'd expect.

I've been trying to set up the exact same unit as described in the wiki with no luck, but also other versions such as my current:

[Unit]
Description=User resume from sleep actions
After=suspend.target hibernate.target

[Service]
User=%I
Type=forking
ExecStart=/home/%I/.local/bin/resume-actions.sh

[Install]
WantedBy=suspend.target hibernate.target

resume-actions.sh is executed before the system sleeps. I even tried adding a sleep at the beginning of the script but the system waits for any amount of timeout I set before going to sleep.

This is my suspend unit in case that helps:

[Unit]
Description=User suspend actions
Before=sleep.target

[Service]
User=%I
Type=forking
Environment=DISPLAY=:0 WAYLAND_DISPLAY=wayland-1 XDG_RUNTIME_DIR=/run/user/1000
ExecStartPre=-/home/%I/.local/bin/suspend-actions.sh
ExecStart=/usr/local/bin/screenlock

[Install]
WantedBy=sleep.target

The main reason why it bothers me is that I'm trying to turn the screen off before it suspends and back on after resume.

I'm using Arch with Hyprland and the screenlock is swaylock.

reddit.com
u/cherrynoize — 1 month ago