Showing posts with label macOS. Show all posts
Showing posts with label macOS. Show all posts

Sunday, September 3, 2023

In zsh, SF CLI retrieving classic email template in Unfiled Public folder

 This seems to be a zsh-only issue, for Salesforce devs who now have followed Apple's recommendation to use zsh as the default shell.  The successful command to retrieve a template needs to be like this:

 sfdx project retrieve start -m EmailTemplate:"unfiled\$public/Employee_Created" -o myDevOrg

The key here is to escape the dollar sign, but not the slash.

Friday, December 17, 2021

How to get rid of icons stuck on screen from macOS Launchpad

 I think this happened to me the most with Zoom.  If I accidentally dragged its icon when I tried to open it from Launchpad, the icon just oddly hung around on screen (and over all windows too).  Goes without saying it's quite annoying.  The solution here is to relaunch Dock by killing the process with this command.

killall Dock

 Restarting of course also works, but that's much less convenient.  Occasionally the Dock doesn't come back after being killed then I'd have to restart anyway, but that's quite rare thankfully.

Tuesday, September 14, 2021

VirtualBox: kernel driver not installed (rc=-1908)

 This is deja vu - I'm sure of it.

 By now I've seen the pattern behind this error, which prevents a VM (mine's an Ubuntu 20.04) from starting.  It always happens after a macOS (host) upgrade, which would usually have a new kernel version I think, thus requiring the kernel extension for VirtualBox to be upgraded - at least that's my theory.  So I downloaded and installed the up-to-date version of VirtualBox.  The first time launching of the app after installation prompts an upgrade of the extension pack, which is handy!  I finished that, and hit the Start button.  Same error.  😢😢

What I forgot (not the first time) is this:

The OS automatically blocks the new extension until it's authorized here in the Security app.  I vaguely remember the VBox upgrade installation would remind me, but not this time at least.  Hopefully this has a better chance being committed to my memory after I write it down on a post.

Last thing to remember - restart the computer after the extension is allowed so it can take effect.  Then I'll have the sweet moment of finally getting back into my VM!