[-] [email protected] 2 points 2 days ago

CZ and dd and other "it's 1998" tools copy the entire disk. like, you clone a 500 GB SSD with 50 GB used to another disk, guess how much data gets copied? correctomundo, the entire 500 gigs. that's not super-healthy for the new drive and it recreates the same volume UUIDs on the target disk as the source drive, so you're left with a mess if you keep both drives in a system.

you have a modern tool at your disposal, the mentioned btrfs send subvol | btrfs receive subvol that copies only what's used. GRUB (you can use this opportunity to switch to systemd-boot) won't pick up shit, you need to install it to the new drive (and remove it from the old one).

eons ago, macOS had the SuperDuper! tool, a free utility that clones the entire disk, resizing the partition in the process and copies only the data and it does that from within the OS, no booting off USB installers and such. sad to say, nothing close exists over here, you'll just have to get good at doing things manually.

[-] [email protected] -1 points 2 days ago* (last edited 2 days ago)

look up btrfs send and receive. you'll be copying data from the old disk to the new. prior to that you create the same layout on the new disk (efi, boot, btrfs with LUKS, subvolumes root and home). sadly, there aren't any readymade solutions that do this for you. big time NO on clonezilla and friends.

[-] [email protected] 1 points 2 days ago

Thanks. Just did a check with a zip tie; the rim oscillates all over the place, it's not like there's just a small region that's off and needs adjusting. I don't think fixing it is feasible, so I guess a new wheel it is.

15
submitted 3 days ago by [email protected] to c/[email protected]

I know some wobble is OK, but is this too much wobble on the rear axle? replaced the axle and the bearings, greased them up, screwed all into place. can't remember what it was before I replaced it, am I good here?

[-] [email protected] 0 points 3 days ago

thanks. curse those evil bastards who didn't have the decency to also throw away a functioning controller... I guess I'll give up for now.

thought about maybe installing linux or something, but this thing has like 256 MB RAM, so not much point to it.

15
submitted 3 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]

found a Playstation 3 (model CECHH04) by the dumpster. cleaned it up and inspected - it's missing the BD and the HD and its cage; I jammed a normal 2.5" HDD in there and stuck some cardboard around. the light turned green, the HD spins up, the fans are spinning and the TV shows it's alive - no OS though.

I've downloaded Sony's official firmware and also some evilnat CFW jailbreak; tried both but the prompt on the TV is to attach a controller to the USB and press the PS button, which I haven't got. can I do something without it? tried a noname PC gamepad and keyboard but no go...

[-] [email protected] 2 points 6 days ago

Vista. Tried to make Ubuntu work for a while but that was a shit show back then... Moved over to OS X and I was home - a beautiful UNIX where everything just worked. Stayed there for close to a decade (Lion-Mavericks-El Capitan-High Sierra-Mojave), mostly on non-Apple hardware.

Sadly, the iOS-ization ramped up so I had to rip tons of iCloud related stuff everytime I did a fresh install and then Catalina killed off 32-bit apps and brought other irritants, so I tried Fedora 35 and escaped with close to no issues.

And here I am, on Fedora 40 five years later.

[-] [email protected] 4 points 2 weeks ago

thinkpads are interesting because they are heavy-duty machines that can be had for cheap on the used market. they are cheap because businesses buy them by the truckload and then offload them after three+ years and switch to Newest & Best. flooded market plus a buncha older models still around from earlier floods plus civilians selling their shit -> low price, otherwise nobody would buy them.

if you haven't got access to such a market, either by being around where they're being dumped directly or by having local businesses importing them in bulk and reselling them locally, then you should look elsewhere for value, as they're only interesting if they can be had for cheap.

e.g. you have similar options from hp (elitebook) and dell (latitude), they are also business-class laptops with durability and serviceability in mind, perhaps you can find those locally.

as an aside, you should skip all AMD platforms up until 5000 series; many issues (power management, GPU performance, etc.) especially if you're going to run linux.

[-] [email protected] 4 points 2 weeks ago

first off, if you plan to scan the storage for bad "sectors", that's gonna take eons if the disk is of any considerable size. what's more likely is you running the SMART self-test and that will work over any medium.

the cables absolutely can and do cause corruption, whether it's plain SATA-SATA cables or the USB-SATA with their own controller on it; however, if you don't have reason to suspect this particular cable/adapter is faulty, it's not a worry vector per se.

[-] [email protected] -2 points 2 weeks ago* (last edited 2 weeks ago)

looking for "privacy issues" in iOS is like wondering if the sandwich you found in the sewer has healthy and organic salami, as if that's the only issue preventing you from eating it.

you're being spied on from the moment you activate it, including when it's "off", so does it matter if there are seven or actually nine things invading your privacy?

[-] [email protected] 5 points 2 weeks ago

wish they would say what the "old intel CPU" refers to and which ate the modern ones that don't need the hack.

[-] [email protected] 5 points 2 weeks ago

I have no idea what this challenge is (I automatically assume it's some cringe when I read "challenge" also that pic is... what?), but you don't run Mint/Debian/Ubuntu if you have super-fresh hardware, like AMD 7000-series or Intel 14th gen and so on. in that case you have to go with Fedora or one of its derivatives (Nobara, Bazzite, etc.), because they have the newest kernels that allow this hardware to run OOB.

if you have a bit older hardware (like 2-3 years old), Mint or Debian is your best bet; Ubuntu if you have to, and only as a stepping stone. it's a solid base and if you use flatpak for everything (Firefox, Chrome, Lutris, Steam, etc.) you won't have issues with old packages and you'll get the best of both worlds - stability and supported hardware.

[-] [email protected] 9 points 2 weeks ago* (last edited 2 weeks ago)

what's this "probability" based on?

wine exposes the user's home directory as drive Z: and has full read/write access to it. so, the user's proper fucked.

edit: I misspoke, Z: exposes the entire root file system, whereas only the /home/user/ has full r/w access.

[-] [email protected] 1 points 2 weeks ago

nothing to share about my setup, but I've just checked and I haven't used finamp on my phone since november last year. reason - Innertune. works phenomenally on the shittiest data plan, haven't maxed it out once.

16
submitted 1 month ago by [email protected] to c/[email protected]

anyone got Chromecast with Google TV 4K working with Jellyfin? it runs Android TV, gets the Jellyfin app and then stuff starts breaking.

It can't connect to the server intermittently, playback stutters, stops, breaks... the server reports the file is direct play and no issues.

Five other devices have no problems of any kind, only this fucker has spells constantly.

10
submitted 1 month ago by [email protected] to c/[email protected]

anyone managed to attach a monitor to a Poco F1 or Oneplus 6/6T?

21
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

can someone explain leverage to me as practised by those RE ~~bullshitters~~ finfluencers. I feel their whole spiel is just bullshit but I don't know enough to be sure about it.

according to them, you "buy" a home - you put X% down and pay your first monthly (and then post on r/firsttimehomebuyer). then you go to (another?) bank and say "look I got this house I wanna use as collateral" and they go "wow you own a house! sure, have this bag of money"... repeat until you "own" like a city block.

like, how does that not crash and burn at the first step, just a cursory glance at the asset's status? how are they not "lol you ain't got no house dumbass come back in 20 years when you actually own it"?

8
submitted 1 month ago by [email protected] to c/[email protected]
29
submitted 1 month ago by [email protected] to c/[email protected]

I want to create a minimal install for mpv playback through jellyfin-mpv-shim and macast. this is going to be a base for a FOSS media sink akin to a Chromecast. you attach it to your TV and it plays whatever you send it, like movies from your jellyfin server and youtube/vimeo/piped/etc videos. otherwise, there's no interaction with it, it doesn't handle input (remotes, mice, keyboards, etc.), it's controlled via apps (jellyfin android and allcast).

I've already made a proof-of-concept device running debian 12 with Plasma and it (mostly) works. now I'd like to trim the fat and install only what's absolutely necessary as I currently only have a 2006 macbook with busted screen and GMA950 with a mechanical HD. I'm gonna go with LAN only so I don't have to dick around with broadcom WLAN.

what do I need in terms of DEs and/OR WMs? do I need those at all? I seem to remember that I could run firefox in kiosk mode without anything else but X11, could I run mpv like that? or possibly wayland? what would be the absolute minimum package-wise to achieve this?

to reiterate, it's only going to display full-screen mpv when there's video to play, no menus, navigation, nada. possibly some slideshow-while-idle thingy in the future if it doesn't add too much in terms of software needed, but not right now.

77
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

I hate spending money on hardware when there's a software solution. like, I've got a subwoofer from a 2.1 system (without satellites) for free. instead of sourcing speakers for it, however cheap they might be, I'll just utilize the speakers from my monitor. pipewire to the rescue, it creates a combined sink that outputs sound to both DP and analog audio, et voila - a 2.1 sound system. people are like "your monitor sounds like that!?" and usually I play dumb: "yeah, yours doesn't? well that's linux for ya".

so, I have a desktop and a laptop and I'd like to share the same monitor, keyboard, and mouse. modern monitors have a KVM switch integrated, you connect your keyboard/mouse/etc. to it, one USB Type-C cable to the laptop, a couple to the desktop and you have a seamless switch; it even charges the laptop, how cool is that!

however, my monitor works just fine and I don't replace my hardware unless I really have to. USB KVMs with similar functions aren't cheap. also, the monitor already has multiple display inputs so I got to thinking, how do I re-create this with no money, or as little as possible, with DIY tech?

first, switching the display; this one took me no time at all. I have a USB Type-C to DP cable (with DP-Alt) and with the power of udev (detect a connection then trigger stuff) and ddcutil (sends commands to the monitor) I got it working as seamless as possible - I connect the laptop and it automagically switches the monitor over. when I disconnect it, the monitor falls back to an active connection, which is the desktop. awesome!

now how about switching the keyboard and mouse over? I'd like to do it in software, like barrier/inputleap does it but without having to move the cursor to the adjacent monitor. also, both machines are on wayland which isn't supported. eventual input lag to the laptop is unimportant, I game on the desktop. no idea if that can be accomplished or if that's even a thing...

that is a thing - it's called USB/IP, i.e. sharing your USB device over TCP/IP; it's a kernel module included by default for a long time now and that thing rocks! not only does the USB keyboard work without any perceivable lag on the laptop, it get's "disconnected" from the host, so your keypresses aren't disturbing the host. since it's a kernel module, no need to convince wayland to play ball! this also works for webcams, scanners, readers, etc., the client system thinks this is a local device and it just works.

so all we have to do is expand the shell script to bring over the keyboard and mouse along with switching over the monitor once the USB-C connection is detected annnd... success!

well, sorta. my wireless mouse is second-hand and I haven't got the USB receiver for it, so it connects over bluetooth. tried sharing with usbip and it works, but the radio connection gets interrupted or something and the mouse doesn't work there. maybe there's a workaround but I don't want to dig further.

also, how do I switch back to the desktop to shoot some peggies? I don't want to disconnect the laptop manually so I could come up with a slew of shell scripts and udev triggers and I'd also need a ssh tunnel, I don't want my keyboard input to travel over the LAN in cleartext, etc... kinda cumbersome. also, once the novelty wears off, the automagicallity gets tired, I'd prefer manually switching between devices with a keyboard combo.

enter rkvm. it's written in rust and as everybody knows that's super awesome. unlike usbip, comms are encrypted, so no sniffing possible, and hotkey switching is a default function, and it also handles the mouse!

now, rkvm currently doesn't support triggers, like "do X when hotkey combo pressed", but Plasma can handle running the monitor switch script on each device separately by listening to the same hotkey combo.

both solutions have their advantages and disadvantages, usbip requires more legwork but is more powerful whereas rkvm is simpler and easier to set up.

the final step, powering the laptop over the same cable. sadly, can't handle that in software, but there are power delivery injectors out there, some as cheap as $7. also, there's this cool project, looks easy enough to source and implement. not sure if I'm going that way or just go with a used dock station, as those can be had for a song for popular business ex-flagships, like the Thinkpad T-series, HP Elitebooks, Dell Latitudes, etc..

are there downsides? sure there are. numero uno, the host (desktop, in my case) has to be on all the time. not a big deal for me, it gets woken in the morning and suspended late at night. there are edge cases when rkvm geeks out, but for a thing that's in its 0.x version, this is more than usable.

so, I've been using this setup for the past week or so and haven't yet found it to break or have any negative side-effects. gaming on the desktop is as snappy (or shitty) as ever and using my mech keyboard and giant screen on the laptop allows me to easily compartmentalize my business and private stuff.

thanks for reading!

edit: edited title to clarify I'm talking about a Keyboard-Video-Mouse switch, not a Kernel-Virtual-Machine.

34
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]

I'm considering upgrading to a Ryzen 5 5600, they've finally come down to $100 locally (tray version sans cooler).

currently, I have a 1600AF (lower binned 2600, so Zen+) on a B450 board. the upgrade should be straightforward, my board supports it (latest BIOS) and it has the same power rating, so my cheap-ass PSU and stock cooler don't need upgrading.

reason I want to upgrade is I have a number of issues with it under linux so I'd like to check if someone runs a similar setup.

first, I have Cool & Quiet and C-states disabled and Power Idle Control to "Typical Current Idle"; otherwise the machine freezes when waking from suspend after a short while. the second issue is, I have 3600 MT/s Kingston Hyper-X modules that I have to run at 2400 because both XMP profiles (XMP1-3000 and XMP2-3600) are unstable and cause apps to crash (the latter sometimes won't boot at all, can't unlock LUKS).

supposedly, both those issues are fixed in newer gens; old Zen/Zen+ had issues with faster RAM, and the C-state handling is also better in Zen3. also, I can use the new amd-pstate driver.

my PC is plenty fast as is, I'm only considering upgrading to fix them two issues. if it's the same on the other side of the fence, I'd rather skip it.

anyone had first-hand experiences with this?

edit: thanks everyone who took the time to share their setup, I'm way more optimistic about making the jump!

14
Radarr lists (lemmy.ml)
submitted 5 months ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.ml/post/11999240

anyone know what the last option does? I want to remove movies that were added by the list but were then taken off it. but the way it's written, it sorta implies that all movies that aren't on a list will be removed, which is what I very much don't want.

8
Radarr lists (lemmy.ml)
submitted 5 months ago by [email protected] to c/[email protected]

anyone know what the last option does? I want to remove movies that were added by the list but were then taken off it. but the way it's written, it sorta implies that all movies that aren't on a list will be removed, which is what I very much don't want.

11
submitted 6 months ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.ml/post/10113624

what's a reliable way to determine my device's battery health? something like Coconutbattery for macOS - charge cycles, health, factory/remaining mAh, etc...

tried CPU-Z, says health is "Good". gee, thanks... out of what, "Excellent" through "Shit" or what?

backstory, I got a Samsung Tab S6 used, wiped it and installed LineageOS 20 and I'm using for a couple of months. the battery kinda sucks. granted, I have like 3-4 hours SOT/day but a 7000 mAh battery should last a couple of days; pure guesstimation, I had an iPad some years ago and that thing lasted for eons.

if I leave it overnight with 10ish% battery remaining and battery saver on, it's dead by morning. that sort of drain can't be normal? on the other hand, I don't have google services so every app has its own running service - syncthing, KDE Connect, Allcast, Jellyfin Player, etc.

there's the stuff I can read from /sys/class/power_supply/battery/ but nothing useful in there; like charge_full and charge_full_design are the same (70400) and other promising sounding items are unset or nonsensical.

tried the same on my Redmi phone w/LOS, completely different files there and equally useless.

I don't wanna go through sourcing the battery, prying the thing open and replacing it, only to find out that's how it's supposed to work. any ideas?

view more: next ›

dingdongitsabear

joined 1 year ago