This page last changed 2025.03.07 15:02 visits: 7 times today, 3 times yesterday, and 6463 total times since 4/25/2019
Macbook
See also Linux Annoyances for Terminal on Mac
https://hub.securevideo.com/Knowledge/Details/328
Zoom: exclamation point in triangle - enabling screensharing permissions
If you try to share your screen, you may see a triangle with exclamation point in it. This is because
MacOS Catalina added a new category of app permissions called “Screen Recordings”. This prevents a user from being able to share their screen through an app until permission is given specifically for that app. If you have NOT granted this permission, then if you try to share your screen through the Zoom app, there will be error images instead (showing an exclamation mark inside of a rectangle, instead of a preview of what you might be able to share)
To fix this:
https://hub.securevideo.com/Knowledge/Details/331
MacOS Catalina prevents the camera from being used until permission is given specifically for the app (such as the Zoom app). This is requested the first time you join a Zoom session:
“zoom.us” would like to access the camera“
This is similar to the above (screen sharing).
To fix this:
Suppose you want all .xlsx files to open with LibreOffice instead of Numbers. Do the following.
From this point on, all files with the same extension will open with this application.
From https://www.lifewire.com/reset-mac-printing-system-to-fix-os-x-printer-problems-2259970
If something goes wrong with printing, for example a bad file descriptors error, you need to reset the printing system. If you reset the printing system, you will
To Reset Printing System:
The printing system will be reset and you will need to add back your printer.
This is likely an alert that you have received new mail. To check and remove this:
20190905 Have seen videos that playback super fast when there is audio in the file. Also happens when watching YouTube videos.
Problem solved by https://9to5mac.com/2019/07/29/macos-fast-video-playback-bug-fix-coreaudiod-video/
20190923, happened again. Did the above, problem solved.
This from http://osxdaily.com/2013/05/17/see-all-running-apps-mac-os-x/
top -o cpu
[or] top -0 rsize
ps aux
[or] ps aux | grep process
Property files are stored in /Library/Preferences. Run Terminal to work with. From https://www.amsys.co.uk/time-machine-10-8-part-3-advanced-features/
Following is example for Time Machine, limiting its disk use.
Time Machine by default will use all the available disk space on your backup drive. The good news is that you can setup a maximum limit that Time Machine can use. All you need to do is specify in megabytes the maximum space limit. You can do this by multiplying your Gigabyte preference by 1024 bytes. For example if I wanted the maximum backup space to be 100GB, I would multiply 100 by 1024 which equals 102400. I can then enter this terminal command:
sudo defaults write /Library/Preferences/com.apple.TimeMachine MaxSize 102400
This preference can be viewed within the /Library/Preferences/com.apple.TimeMachine.plist file by
sudo defaults read /Library/Preferences/com.apple.TimeMachine
To remove the limit, use the following command:
sudo defaults delete /Library/Preferences/com.apple.TimeMachine MaxSize
You have downloaded an application and you are sure that it is safe to run on your machine. However when you run it, you are presented with the error PROGRAM cannot be opened because the developer cannot be verified.
The site https://www.lifewire.com/fix-developer-cannot-be-verified-error-5183898 has several suggestions, that I have copied here. These include looking for a newer or alternate version of the application. But I think most useful is:
You want to delete files because the disk is full, but OS X won't let you do this because the disk is full.
https://support.apple.com/en-us/HT201583
For example, you have lots of subdirectories in your Videos directory, and how can you determine which is using the most space?
cd Videos
)du -hcd 1
du
disk useh
human readable formc
show a total for the directoryd 1
depth, 1 means only top level, the subdirectories in the current directory
To use this and get a sort based on size: du -hcd 1 | sort -h
(the -h on the sort reads first column as human readable values, that is it treats 800M < 1G as you would expect)
Suppose you're running Resolve and trying to archive a project, and maybe try to rename it. You can see that the Finder window for storing the project is the active window and it's also covered by the View Projects window, it's impossible to get to it. I figured out what to do on 20200105.
To enter full screen mode:
To exit full screen mode:
To work in bigger window without going full screen
exiting full screen mode in DaVinci Resolve isn't working – once I put Resolve in full-screen, I can't get it to exit full screen mode. [20200208]
Shift-⌘-4 Take screenshot of area on screen you identify
In terminal mode
defaults read com.apple.screencapture | see current screen shot options |
defaults write com.apple.screencapture type jpg | change screenshot file type to jpg. Other options are: bmp pdf jpg tif pict tga png |
defaults write com.apple.screencapture name George | change from “Screen Shot 2020-07-02…” to “George 2020-0702…“ using “George 1” precedes with George 1 instead |
defaults write com.apple.screencapture location Users/smi/Pictures/Screenshots | stores there instead of desktop |
defaults write com.apple.screencapture “include-date” 0 | removes the date and time from the screenshot |
and be sure to do this to load the settings (or reboot):
killall SystemUIServer
You want to add one (maybe more – repeat if so) space to the dock so you can group the icons on the dock. This from here
defaults write com.apple.dock persistent-apps -array-add '{“tile-type”=“spacer-tile”;}'; killall Dock
Add an icon to the Dock, like that for Downloads (shows recent downloaded files), that holds list of recently run applications. (Similar to previous item here.)
defaults write com.apple.dock persistent-others -array-add '{ “tile-data” = { “list-type” = 1; }; “tile-type” = “recents-tile”; }'; killall Dock
defaults write com.apple.Dock showhidden -bool yes; killall Dock
You're connected fine to a Wifi but you need to know the Wifi password to tell someone else or for another machine to connect. Here's how to see Wifi passwords on a Mac using Terminal (Thanks to https://setapp.com/how-to/find-a-saved-wifi-password-on-mac) You need to know the name of the Wifi you're connected to or that you're looking for. (There are other ways to get this info, but I like this one.)
security find-generic-password -ga WIFIname | grep “password:”
and hit Return.
For example: security find-generic-password -ga Home\ Wifi | grep “password:”
Using the \
in Home\ Wifi
allows spaces in the Wifi name for the command.
You have two files you think are identical and you want to see if that's true.
From https://osxdaily.com/2018/02/06/use-diff-compare-files-command-line-mac/
You can use the diff
command from the Terminal window.
diff file1 file2 | compares these two files |
diff -w file1 file2 | compare files and ignore whitespace (blanks) |
Other options available in addition to -w:
Also consider the app CompareMerge2 from the Application store.
Found this article: https://www.makeuseof.com/tag/common-mistakes-slow-mac/ saying to address these things:
The article has details on all of these. Thanks, MUO.
When you bring up the Finder, there isn't an “iCloud” available in the sidebar like it usually is.
from: https://discussions.apple.com/thread/6618015
In Finder, go to the directory, and then: Command-shift-.
Repeat to re-hide stuff.
I found that NordVPN was not working correctly and their support said to reset the MacOS networking. On my iMac running Catalina, I did the following to effect this:
preferences.plist
to XXX preferences.plist
)sudo shutdown -r now
If you try to eject a USB drive and get message “drive wasn't ejected because one or more programs may be using it” here's some things you can try.
Suppose drive is called DD1.
(You would run these commands in Terminal.)
sudo fuser -u /Volumes/DD1
Suppose the command above returns process ID 129.
ps -fp 129
A process with /System/Library/ in the path is a system process. If it's in /Applications/ then it's likely a third-party app.
ps aux | grep 129
ps -o ppid= -p 129
A process with mds
in it means it's a Spotlight app. To temporarily exclude the drive from Spotlight,
sudo mdutil -i off /Volumes/DD1
or
System Settings > Spotlight > Spotlight Privacy
Click + and select DD1, and add it to the list.
You have a number of files that you want to combine into a single PDF file.
Let's assume all files are JPGs.
Here's what you can do. From How To Geek link
If you want to change things (add/delete images, re-arrange them) then open the PDF you created in Preview, and select View > Contact Sheet or View > Thumbnails and add/delete and re-arrange. Then save from the file menu.
“Read, edit, convert, merge, and sign PDF files across devices for completely free and without signing up.” This is what PDFgear claims. https://www.pdfgear.com/ with info on LifeHacker
Convert PDF to Word, Excel, JPG, PNG, and more.
Free downloads for Windows, MacOS, iOS, and Android. Rated 4.8 (as of 3/16/2024) in Mac Store.
Use MacOS Recovery to reinstall the Mac operating system.
All this section comes from https://support.apple.com/en-us/HT204904
First make sure that your Mac has a connection to the Internet. These instructions assume you have an Intel processor. (If you have Apple Silicon, consult the referenced site for the process.)
If you're asked to select a user you know the password for, select the user, click Next, then enter their administrator password.
Select Reinstall MacOS from the utilities window in MacOS Recovery, then click Continue and follow the onscreen instructions.
Follow these guidelines during installation:
After installation is complete, your Mac might restart to a setup assistant. If you're selling, trading in, or giving away your Mac, press Command-Q to quit the assistant without completing setup. Then click Shut Down. When the new owner starts up the Mac, they can use their own information to complete setup.
When you install macOS from Recovery, you get the current version of the most recently installed macOS, with some exceptions:
You can also use these methods to install macOS, if the macOS is compatible with your Mac:
Thank you to the Apple support site from where this information was copied: https://support.apple.com/en-us/HT204904
You have an old iMac or MacBook and a disk that is blank, either it didn't come with the machine or it has been erased. You want to get the machine running MacOS. Consider trying the previous section, then this one.
The players here: ABCD=Old iMac or MacBook you want to fix. EB9U=Running MacOS machine.
The process is:
We'll go over each of these steps in turn.
You want to upgrade your iMac or MacBook but Apple won't let you because the machine is too old. The guy called Mr. Macintosh may have the answer. You can find him on YouTube, search for Mr Macintosh
.
Some videos from him:
OCLP = Open Core Legacy Patcher
Mac uptime and reboot history | last reboot |
What is my IP address | ifconfig |
HOw much space is my directory using | du -hcd 1 | sort -h |
Filesystem disk usage: used, avail, % | df -h |
I upgraded a late 2012 iMac 13,1 to have more memory and SSD. After the upgrade, the machine running Mojave 10.14 would reboot almost once a day indicating problem with Network or other issue. The machine would run otherwise, but I wanted to see how to keep it from rebooting. From a variety of sources, I tried all of the following in the order shown, and only after the last thing I tried did the machine stop rebooting daily.
Dealing with large zip files: you have a large multi-GB zip, you want to look inside and maybe unpack it.
Application | See inside zip? | Unpack zip? | Comments |
---|---|---|---|
The Unarchiver MacPaw | No | Yes | Useful. version 4.3.3 |
Unarchiver One Trend Micro | Yes | unknown | Slow, but works, be patient |
Unzip - RAR ZIP 7Z Unarchiver qing qing yu | claims to | unknown | Does not work, crashes, version 2.2.9 |
Leawo Blu-ray Player works.
20201216 Success burning Linux Mint 20.1 to USB drive on iMac. 20221022 Success burning Q4OS 4.8 32bit to USB drive on iMac.
/dev/disk3s1
or dev/disk4s1
. You might see just disk3
.ls /dev/disk*
/dev/disk3
)sudo dd if=Downloads/linuxmint-20.1-cinnamon-64bit-beta.iso of=/dev/disk3
dd
completes (returns to terminal prompt), diskutil eject /dev/disk3
. Unplug the disk after you see “ejected”.dd
command completes. This is ok.
20191213 I downloaded a Windows 10 ISO file from
https://www.microsoft.com/en-gb/software-download/windows10ISO
You can find other Windows versions to download, see https://www.microsoft.com/en-gb/software-download/
From https://www.online-tech-tips.com/mac-os-x/burn-an-iso-file-using-mac-os-x/
Alternatively you can right-click on the ISO file and Burn Disk Image
(For OS X 10.10 and earlier) From Umass link
You have a DVD and you want to put it into an ISO file for later use.
from https://superuser.com/questions/85987/mac-os-x-best-way-to-make-an-iso-from-a-cd-or-dvd
For the DVD, I used /dev/disk2. I verified this with diskutil list and unmounted it first.
$ sudo unmount /dev/disk2 $ dd if=/dev/disk2 of=mydisk.iso
Another user suggests
sudo diskutil unmount /dev/disk2 dd if=/dev/disk2 of=~/myCD.iso bs=2048 conv=sync,notrunc
Disk Utility - The on-screen prompts will guide you, but it will by default create a .dmg, which is an OS X-specific file format. Disk Utility will also create an ISO (.cdr extension) if you select the “CD/DVD Master” option before creating the image. You can rename the extension (.cdr to .iso) after creation if desired.
from https://en.wikipedia.org/wiki/MacOS_version_history
10.1 | Puma | |
10.2 | Jaguar | |
10.3 | Panther | |
10.4 | Tiger | |
10.5 | Leopard | 32bit |
10.6 | Snow Leopard | 32/64 bit |
10.7 | Lion | 32/64 bit |
10.8 | Mountain Lion | 64 bit |
10.9 | Mavericks | |
10.10 | Yosemite | |
10.11 | El Capitan | |
10.12 | Sierra | |
10.13 | High Sierra | |
10.14 | Mojave | |
10.15 | Catalina | |
11 | Big Sur | |
12 | Monterey | |
13 | Ventura | |
14 | Sonoma | |
15 | Sequoia |
You want to insert some symbols into your text that aren't on your keyboard.
(This info extracted from Webnots)
You can also press Control-Command-Spacebar to open the Character Viewer. Scroll down to find the math and other symbols, like command (⌘) and option (⌥) and a host of others.
These symbols can be used with the standard keyboard. Consult Webnots for what you have to do so you can use other codes that require four digit hexadecimal Unicode points (or use ^⌘spacebar).
Symbol | Keystroke | Meaning |
---|---|---|
™ | Option-2 | trademark |
® | Option-r | registered |
© | Option-g | copyright |
£ | Option-3 | pound |
¢ | Option-4 | cents |
∞ | Option-5 | infinity |
§ | Option-6 | section |
° | Option-shift-8 | degree |
≠ | Option-= | not equals |
± | Option-shift-= | plus or minus |
| Option-shift-k | apple symbol |
€ | Option-shift-2 | euro |
¥ | Option-y | yen |
≤ | Option-< | less or equal |
≥ | Option→ | greater or equal |
≈ | Option-x | approximately equal |
√ | Option-v | square root |
÷ | Option-/ | divided by |
‡ | Option-shift-7 | double dagger |
» | Option-shift-\ | |
« | Option-\ | |
… | Option-; | ellipsis |