Spyke
linux·LinuxbyKelp

Saved my parents 2015 MBA

My parents have this old 2015 MacBook Air that they wanted to use but couldn’t due to no security updates and slow running. I convinced them to let me load up fedora on it instead of junking it. They only really need it for some basic document writing, email, and web surfing so I figured this is perfect for them.

Made a bootable drive with Fedora 43 work station on it, figured gnome would be the most Apple like spin. Everything went super smooth until I realized that the WiFi drivers weren’t installed lol. I also didn’t have a Ethernet adapter for usb-a so I had to overnight it to me while my parents swore I bricked their Mac all night. Got the adapter this AM, hooked it up, installed the drivers and other necessary tweaks, and viola! This Mac has new life.

So far my parents are liking it and understanding it (even though my mom seems more excited about the snoopy wallpaper and Firefox theme, lol). Getting their emails on thunderbird was driving me crazy. Nothing to do with thunderbird, they just didn’t know their passwords smh. All in all not bad. To new Linux converts

View original on lemmy.world
programming.dev

I got a laugh at the end as I have also experienced that the hardest part about converting parents to Linux is them not knowing their passwords.

74

Oh the pain. You should’ve heard the accusations of someone else changing their passwords…somehow. Yet they’ll both bring up me bricking the fam computer dl linkin park from limewire…like 20+ years ago lol

34
WFHreply
lemmy.zip

This. Migrating my father to Bluefin was absolutely eventless. Except the 8 hours of fighting over passwords. Because I'm supposed to know all his passwords, apparently.

22

+1 for bluefin. I'm actually running that on my own laptop. Fw13, it's been rock solid, which is exactly what I wanted.

6
feddit.org

Mine didn’t want to migrate and I had to build them a new PC with Win11 (their old one was barely able to run win 10 and had already some hardware problems, so a new one was on my bucket list for a while) - but… yeah the most time was spent tracking down all these passwords and accounts they were constantly using without knowing which email address and which password was used for the account…

6
IronKrillreply
lemmy.ca

This is going to get so much worse with passkeys becoming more common...

3

I get the idea, and in general I love it - especially since they eliminate phishing in theory. BUT making my device my "password" now shifts the single point of failure from me forgetting my password to me protecting my devices from any kind of error/damage/data loss/... Collecting all passkeys in your Google Account is probably also not the best idea, considering how little chance you have to get your account back if it ever gets locked by a random event you may or may not have participated in.

Having them device independent (e.g. in a password safe) is nice, though. But then, if I use my password safe right, I should already be somewhat protected from phishing, as my auto fill won't trigger on a random phishing site.

1

I’m confused. How did you save your parent’s Masters in Business Administration? /s

(Sorry. I can’t help but think that every time someone acronym’s Macbook Air.)

47
lemmy.ca

MBA

I'm glad he specified it later, but dereferencing the jargon the first time it's used - especially an initialism often linked to something else - is much better.

Hands up if you also saw "Masters of Business Administration" and were a little confused.

26

Same, I was incredibly impressed that installing Linux ended up getting them a masters degree in business admin, and then realized they meant Macbook Air. I was let down a little, but still happy to see life of technology extended further.

4
lemmy.ml

Webcamera also should not work btw, cause it need firmware which is not part of linux-firmware package also webcamera need color correction files ,I wrote 2 scripts which fix it,if u need webcamera let me know

25
Kelpreply
lemmy.world

Oh that would be great if you could. I’d appreciate it!

8
anon5621reply
lemmy.ml

First one

#!/usr/bin/env bash
set -euo pipefail


URL="https://updates.cdn-apple.com/2019/cert/041-88431-20191011-e7ee7d98-2878-4cd9-bc0a-d98b3a1e24b1/OSXUpd10.11.5.dmg"
RANGE=204909802-207733123
OSX_DRV="AppleCameraInterface"
OSX_DRV_DIR="System/Library/Extensions/AppleCameraInterface.kext/Contents/MacOS"
FILE="$OSX_DRV_DIR/$OSX_DRV"

DRV_HASH="f56e68a880b65767335071531a1c75f3cfd4958adc6d871adf8dbf3b788e8ee1"
FW_HASH="e3e6034a67dfdaa27672dd547698bbc5b33f47f1fc7f5572a2fb68ea09d32d3d"

OFFSET=81920
SIZE=603715


WORKDIR=$(mktemp -d)
cd "$WORKDIR"

echo "Downloading macOS driver..."
curl -k -L -r "$RANGE" "$URL" | xzcat -qq -Q | cpio --format odc -i -d "./$FILE" &> /dev/null || true

mv "$FILE" .

echo "Extracting firmware..."
dd bs=1 skip=$OFFSET count=$SIZE if=./$OSX_DRV of=./firmware.bin.gz &> /dev/null
gunzip ./firmware.bin.gz


echo "$DRV_HASH  $OSX_DRV" > firmware.sha256
echo "$FW_HASH  firmware.bin" >> firmware.sha256

sha256sum -c firmware.sha256


TARGET_DIR="/lib/firmware/facetimehd"
echo "Installing firmware to $TARGET_DIR (requires sudo)..."
sudo mkdir -p "$TARGET_DIR"
sudo cp firmware.bin "$TARGET_DIR/"

echo "Done. Firmware installed."

and second

#!/bin/bash

set -e

BOOTCAMP_ZIP_URL="https://download.info.apple.com/Mac_OS_X/031-30890-20150812-ea191174-4130-11e5-a125-930911ba098f/bootcamp5.1.5769.zip"
TMPDIR=$(mktemp -d)
FIRMWARE_DIR="/lib/firmware/facetimehd"
DAT_FILES=(
    "9112_01XX.dat:1663920:33060:479ae9b2b7ab018d63843d777a3886d1"
    "1771_01XX.dat:1644880:19040:a1831db76ebd83e45a016f8c94039406"
    "1871_01XX.dat:1606800:19040:017996a51c95c6e11bc62683ad1f356b"
    "1874_01XX.dat:1625840:19040:3c3cdc590e628fe3d472472ca4d74357"
)


for cmd in unzip unrar dd md5sum curl; do
    if ! command -v $cmd &> /dev/null; then
        echo "Missing required command: $cmd"
        exit 1
    fi
done


cd "$TMPDIR"
echo "Downloading Boot Camp Support Software..."
curl -L -o bootcamp.zip "$BOOTCAMP_ZIP_URL"


echo "Extracting Boot Camp package..."
unzip bootcamp.zip


cd BootCamp/Drivers/Apple/


echo "Extracting AppleCamera64.exe..."
unrar x AppleCamera64.exe


if [[ ! -f "AppleCamera.sys" ]]; then
    echo "AppleCamera.sys not found!"
    exit 1
fi


cd "$TMPDIR"


echo "Extracting calibration data..."
for entry in "${DAT_FILES[@]}"; do
    IFS=":" read -r filename skip count expected_md5 <<< "$entry"
    echo "Creating $filename..."
    dd bs=1 skip="$skip" count="$count" if=BootCamp/Drivers/Apple/AppleCamera.sys of="$filename" status=none
    actual_md5=$(md5sum "$filename" | awk '{print $1}')
    if [[ "$actual_md5" != "$expected_md5" ]]; then
        echo "Checksum mismatch for $filename (expected $expected_md5, got $actual_md5)"
        exit 1
    fi
done


echo "Copying .dat files to firmware directory..."
sudo mkdir -p "$FIRMWARE_DIR"
sudo cp *.dat "$FIRMWARE_DIR"


echo "Reloading facetimehd module..."
sudo modprobe -r facetimehd || true
sudo modprobe facetimehd

echo "Done. Please Reboot ."
32

You are awesome!!! That got everything working swimmingly well. Thank you sooo much

12

That hardware still has plenty of power for basic use. It should be good for another 10 years running Linux.

22
lemmy.zip

Where did you got wifi drivers? From the distro repo? Why didn't you used a flash drive to pass them w/o an adapter?

16
Kelpreply
lemmy.world

I enabled the free and non free repos and entered

sudo dnf in broadcom-wl

That got everything working. I used the Ethernet method cause I am a noob and was not aware of using a flash drive until just now lol. Guess I got something else to learn

20
MentalEdgereply
sopuli.xyz

You can also just hook your phone up via usb and enable usb tethering, allowing the PC to use wifi or mobile broadband via the phone.

13
Kelpreply
lemmy.world

Someone told me that too, lol. I’m learning all sorts today. Oh well. At least now I have Ethernet adapters for every sort of port

5

No one is born knowing this stuff; everyone learns it somewhere. But omg it's still frustrating after you spend days taking the difficult route and someone says "oh you could have just done this in 2 mins". My sympathy to you! :D But GG on getting your parents onto Linux and saving them from wasting money on a new laptop!

9
sopuli.xyz

Gnome is closer out of the box.

But you can make KDE work almost exactly like macOS. The top bar context menu, power menu, bottom dock, left-hand window buttons, etc.

It just involves changing a bunch of settings.

16

Yeah KDE is incredibly flexible. You can get most of the way there downloading a Global Theme from KDE's settings menu (such as MacOS Big Sur) - that lays out all the panels, including the top bar context menu, power menu, dock, left sided window buttons. There are then some extra visual themes such as cursors, icons that people can get separately if they really want to completely mimic a Mac.

6

I in the process of doing that, but the most problematic thing is the keyboard shortcuts IMO. All the apps have their own default shortcuts, all defaulting to ctrl + * instead of cmd + *

5
Kelpreply
lemmy.world

I personally use Fedora plasma on my thinkpad. Love it even though I’ve done like no customizing of it. I chose gnome for my parents cause I wanted a close out of the box experience…and I also wanted to play with Fedora workstation 43 before upgrading my plasma os

4

KDE is genuinely incredibly flexible - you can make it into pretty much any GUI that exists. The default windows like set up is fine, but there are so many easy tweaks and changes you can make to get it however you want. I have a floating dock-like set up instead of a window-like taskbar, with application launcher, icon-only view, system tray, clock and power button.

For simple tweaks yoy can right click on most component of your KDE panels and select "Show alternatives..." to see different official versions of the same component. For example, the Application Launcher offers an alternative Application Menu with cascading menus like an old-school windows start menu, or a full screen gnome-like Application Dashboard. And there are also loads more user made tools if you right click and select "Add or Manage widgets". Every component of the desktop is a widget and can be moved, swapped out, duplicated or replaced.

8
MentalEdgereply
sopuli.xyz

KDE can be set up such that a ex-mac-user barely has to re-learn anything.

The difference is that while gnome looks a lot like MacOS, it isn't exactly like it in terms of layout. An ex-mac-user will look for certain things in certain places, and won't always find them. (such as power off/restart being up in the left corner)

Meanwhile, the customizability of the KDE desktop means you can manually put the same things in the same places as on MacOS. You can put a krunner search button in the same spot as the spotlight search button. You can make a panel that behaves like the dock, floating and shrinking to fit the number of icons in it. You can have a top panel with a power menu on the left end, and you can display a global menu to the right of it. Even the krunner keybind is the same, and spotlight people tend to pickup krunner like nothing.

Finally, the KDE settings application seems to be the most similar to the modern MacOS settings application.

The big caveat being that the user will need someone who can instruct them with setting this up, or who can set it up for them.

14

It's really not that difficult with a Global Theme; anyone can do it. There are step by step tutorials on line (such as this one from howtogeek) for people who want to do it manually. The benefit of manual is if there is a major KDE update it is more likely to be completely unaffected; very rarely Global Themes can break and need their own updates.

The Mac ones are the 2nd most popular in the Global Theme store and well maintained though.

4
lemmy.world

KDE will never work the same as MacOS until its control panel looks about the same as MacOS' system preferences app. Idk what it's like now, but back in my day KDE's settings looked more like Windows' registry editor, and KDE was obviously influenced by Windows while Gnome 2 was influenced by MacOS.

0
MentalEdgereply
sopuli.xyz

Don't be difficult.

You really cannot argue that the layout, and hence how people would actually navigate it is not "about the same". Your words.

To bring up a cosmetic difference is a nitpick. It's the breeze theme, with a personal color scheme on top, not something explicitly made to look like MacOS. Which it could be.

2
lemmy.world

TIL the amount of things to twiddle is a ‘cosmetic difference’.

0
MentalEdgereply
sopuli.xyz

It is.

That MacOS doesn't display the scrollbar except while scrolling, does not reduce the height of the total list.

Both have search fields for good reason.

3

Yeah sure. One needs to wade through dialogs for three days every time they want to change something, that's the Windows and KDE way!

-2

In this case, I would say Gnome was a good choice.
Just looking the same as macOS would not be the real requirement, as long as the user gets a sense of familiarity.
You really want to give them as simple a configuration system as possible, for which Gnome is a good idea.

I won't be going to Gnome, because I am fine with putting a few extra seconds to understand the options to get the high configurability in return but that might not be the case for OP's parents.
And if some specific unavailable feature was required, they would probably ask OP, who can then install a corresponding extension.

0
lemmy.world

Congrats on saving your parents' master of business administration!

15

I came in thinking this was some data recovery story using Linux to get an MBA certificate.

3
Kelpreply
lemmy.world

Overly cautious and slightly tech illiterate. I’m working on the latter though!

20

For reference, sharing your local IP address is a little like saying “I’m in room 223” (local IP address) and not saying what building (network) you’re in. Someone can’t walk into 223 in a different building and get to the same room you’re in.

Honestly, even if someone knew what network you were on, a local IP address wouldn’t be that useful because even if they successfully got on your network, as long as you have a properly-configured firewall and no vulnerable network-exposed services on your system, they can’t really do anything.

Honestly, while it’s still not a bright idea to tempt fate like that, even sharing your public IP isn’t that bad for the same reasons if it’s a competent home user; the worst that can happen on a properly-configured network is that someone tries and fails to exploit vulnerabilities that aren’t there and MAYBE drum up your internet bill. Also, for most ISPs, your public IP changes pretty often anyway, usually something like every few days to a week, due to changing DHCP leases.

5

Thank you for all that info! I appreciate it. Definitely furthers my goal of tech literacy. I’ve always been competent at using computers but don’t know much about anything more in depth.

3
Kelpreply
lemmy.world

She’s starting off on the…right foot :) I still gotta finish her. Literally just haven’t done the right leg/foot armor

5

Love to see it! I got my parents onto Linux Mint about a year ago and it's been great for them.

Their home PC is way too old to upgrade to Windows 11, plus I didn't want them subjected to Microsoft's trash software and spying, so Linux it was.

Themed it similar to Windows 10, even changed the "Start" menu icon to the Windows 10 logo so my parents felt safe using it lol.

10
lemmy.world

I like the snoopy wallpaper as well. I'm glad your parents seem to enjoy it (the wallpaper and the computer lol).

Also, why is there a toothbrush on the right?

10
Kelpreply
lemmy.world

Ah, that’s my gunpla toothbrush. I build Japanese model kits and the toothbrush is great for getting dust and plastic residue out of paneling and corners

7
wolfehreply
lemmy.blahaj.zone

I think there's probably a raccoon guy up near Boston who could use that toothbrush.

3

Greatest technician already has my mothers toothbrush lol

2

If only my mom was also open minded about switching to Linux.

Offering her IT assistance wasn’t enough..

8

Luckily my mom is pretty open minded. Throw snoopy on it and she’ll like it lol

6
modusreply
lemmy.world

Just tell her it's a free version of MacOS.

2
sh.itjust.works

Even worse, shés using Windows 11. But a friend of her’s who’s the IT guy for every old lady in the area loves Microsoft products and I can’t do anything against it.

Even proposing to be available to help wasn’t enough..

3

Super Ultra Windows 11' X Turbo Hyper Fighting Plus Extra Special Champion Edition Revival: The World Warrior New Challengers Tournament Battle Grand Master Challenge

3

That’s for my girlpla kit to the right of the mba. I just have the right leg to finish lol. It’s the Ludens kit made by Kojima and Kotobukia. Really great kit so far. No fitment issues yes and tons of features

6
LeFantomereply
programming.dev

Without OCLP, the latest release of macOS that a 2015 MacBook Pro will run is Monterey (5 releases ago).

The final release of Monterey was July 2024. So no, it is not getting updates anymore. Worse, many programs require a newer release of macOS to run at all.

This is a perfect system to migrate to Linux. It will run faster, be more secure, and will have totally up-to-date software.

11
maccentricreply
sh.itjust.works

I still run Monterey on my MBP 2015 and haven’t found anything that doesn’t work for me.

I tried using newer OSs via OCLP but they were notably less performant and I seem to dislike most of the design changes Apple is making of late (they keep hiding shit I use all the time)

3
LeFantomereply
programming.dev

Had to upgrade my wife as she could not use Zoom and I think Teams. Plus Office could not get final updates and even Numbers and Keynote wanted a newer version of macOS. I cannot remember what else.

2

Yes, I’ve seen those issues. Thankfully I don’t have to use Teams or Zoom and I use LibreOffice whenever I’m in need of office apps, which is rare for me.

1
Linearityreply
piefed.zip

Dawg
My 2017 MacBook Air stopped getting security updates a year ago, I doubt yours does

5

I seeee
Thank you for the tip but I’m very happy with Linux now 😆

4
piefed.world

I haven’t had to go that route yet because they’re still doing security updates for the last os that’s officially supported on it.

0

Really? I thought the last version for those was Monterrey and that that went EOL in 2024.

That reminds me; the other day a client walked up to the help desk I work at with a 2015 MBP still running El Capitan.

4

I make a point not to work with people that don't have password managers. I'd tell them that's a prereq

-2