paulrickards on Nostr: 3. A Python script monitors dmesg for /dev/sda messages to detect when a new disk is ...
3. A Python script monitors dmesg for /dev/sda messages to detect when a new disk is inserted, and then use xdotool to keyboard inject "ctrl-2" to cause MiniVMac to mount the disk.
So the only thing I lack now is a floppy drive that can eject itself. That will have to wait for another day.
Published at
2024-12-10 05:13:56Event JSON
{
"id": "c7265041d3e6f303885b667df12e32dcd2c3afbcbd5dd14c5ceccff30ec876b4",
"pubkey": "b0a11a6125c511239cd7a0f1ea8c4eea15a57707dfdd9ef57e27cc22f46aea77",
"created_at": 1733807636,
"kind": 1,
"tags": [
[
"e",
"9fe60b1629875165f31d8e0e0a0659f29f49bf0656e9ffae38b05d7e3436cbf0",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/paulrickards/statuses/113626817233523834",
"activitypub"
]
],
"content": "3. A Python script monitors dmesg for /dev/sda messages to detect when a new disk is inserted, and then use xdotool to keyboard inject \"ctrl-2\" to cause MiniVMac to mount the disk.\n\nSo the only thing I lack now is a floppy drive that can eject itself. That will have to wait for another day.",
"sig": "1ef014335910aec41041f9c31458d14fac3fcdb5fdcad07e4c2a30b7702235b0e9f1a284481b1c55ae9002a48c3730437e6d782616cee88370318286d317ed4b"
}