Time Machine backups on regular SMB drive

Fri 13, Mar 2020

I just set up my Mac to save Time Machine backups to a regular SMB share. Doing this is actually quite easy:

Step 1: Create a .sparsebundle

Open Disk Utility and choose File => New Image => Blank Image.

Give the image a name and size (check the Time Machine settings first to see how large your backups will be).


Now click Create.

Step 2: Copy the .sparsebundle to your server

Unmount the .sparsebundle by clicking the eject icon next to the image's name in the Finder sidebar. Now copy the .sparsebundle onto your server. You can now delete the original version from your Mac, just make sure that the copy is on your server.

Step 3: Configure Time Machine

Open up a new Terminal window and type

sudo tmutil setdestination "/Volumes/NameOfYourImage"

(replace NameOfYourImage with the name of your .sparsebundle image)

Congratulations, you're done! Now you can start a new backup in the Time Machine settings.

Clean macOS dot underscore files

Fri 31, Jan 2020

If your directories are full of files like ._filename, simply run dot_clean -n <DIRECTORY> to merge them with their corresponding native files.

The option -n means that every ._ file which can't be merged will be deleted. For more information on that, run man dot_clean (web version).

Restarting the audio process in macOS

Mon 06, Jan 2020

Just in case your Mac refuses to play sounds, try killing CoreAudio, it will restart shortly after:

sudo kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print $1}'`

Works perfectly fine to fix sound output on my Mac on 10.14!


macOS El Capitan: can't verify installer fixed

Fri 01, Nov 2019

Today I tried to install a freshly downloaded copy of macOS El Capitan on a Mac.

Shortly after starting the installation, the installer reported it could not verify itself and said that the image used to create the boot stick may be corrupted.

After opening up a Terminal and typing date it turned out, that the date was set to the year 2000. So the reason why it won't work, is that it can't verify the installer's certificate, because it's not valid before x and after y.

Here's how to fix it:

Hope it helps!

Get rid of the macOS Catalina update badge

Tue 15, Oct 2019

This happened lately. I disabled searching for updates on my Mac, because I want to stay on 10.14, but accidentally opened the update preference pane, which then started to search for an update.

Since then, the settings icon in the dock had this red badge indicating, that there's an update available.

That's really distracting, so I tried out many commands to remove it, but none of them worked. One was working in 10.13 and lower only, another one required you to do it before the update was found, ...

But I ended up with this command, which actually worked: defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 && killall Dock (Source).

Changing the login screen in macOS 10.14

Sun 13, Oct 2019

Changing the login screen wallpaper in macOS Mojave is very different from previous macOS versions.

In older versions, you could simply change the file /Library/Caches/com.apple.desktop.admin.png, but this doesn't work anymore in Mojave.

Instead, it loads the login wallpaper from /Library/Desktop Pictures/Mojave.heic. So, in order to change the login screen wallpaper, you'd have to replace the file with your custom login wallpaper.

I would recommend renaming the original file to something different (like Mojave_Original.heic), so you don't lose the standard wallpaper.

If you are using JPEG, PNG or anything else than HEIC for this wallpaper, make sure you convert it correctly. I tried it using GIMP, but that just gave me a black background instead of the actual new login wallpaper.

After that, I tried it with jpeg2heic.com, which worked perfectly fine.

You are on page 1 right now.

Back to top