Hot answers tagged

60

Try restarting the Dock by running the following command in a Terminal: killall Dock This will re-launch the process responsible for Dock in macOS. Once re-launched, you should be able to see and add the Visual Studio Code app icon in the Dock.


46

WORKAROUND: Read somewhere that to get (temporarily) the resizing bar, you drag one of the split windows by the title to the other side of the monitor. The bar will remain for a while. Resize, and if needed, switch back the windows. It has been working for me on an external LG monitor in Mojave.


31

It's definitely not a dead-pixel issue. I've determined it's probably a software bug in Mojave. I'm not able to screenshot the glitch in most cases (the glitch will typically immediately disappear), but I have managed to capture it on a couple of videos and screenshots. The fact that it can be captured in software and the fact that the cursor can cover over ...


30

You can also use the much more straightforward command: pwpolicy -clearaccountpolicies to remove the 4-character requirement for all users. The man page gives other useful examples if you want to change the policy on a per-user basis.


28

I have the same issue: The google calendar stuff is nonsense. The notification settings suggestion doesn't work. I've narrowed it down to the following: I normally hit the red cross button on the viewer window once I have finished looking at my mail, this closes open viewer windows but leaves the mail app active in the dock: So if I have mail running, ...


26

Here are the steps I needed to go through for Mojave: First xcode-select --reset. Next I needed to upgrade xcode tools to the latest version: sudo softwareupdate -ia --verbose (NB: this runs all available updates from the app store, there is a way to specify that you only want to update one app/program, but I don't know it off the top of my head). You can ...


25

Edit As pointed by many others (@nitive's comment below) there is a much easier way to fix this and it is killall Dock. Kudos to @nitive Original long, boring, and not so efficient answer LOL right after posting it, I found the answer Fist: open the Dock config (plist): open ~/Library/Preferences/com.apple.Dock.plist Second: Find the item in persistent-...


24

Session This keystroke toggles between show & hide the hidden files: Cmd ⌘ Shift ⇧ . (that’s a FULL STOP, period character) Press again to toggle back and forth. When you reboot your Mac, the hidden files will be hidden. Press the keystroke again to show. Persistent In Terminal.app, paste: defaults write com.apple.finder AppleShowAllFiles -...


22

Optionally, learn a bit of the regular expression language - regex (this may take a while) and you can use the one crafted below for a 4 character length password. Here’s how to retrieve the configuration, edit that file, and then load it into the system: pwpolicy getaccountpolicies > ~/Desktop/file.plist nano ~/Desktop/file.plist Delete the first line, ...


19

The first thing I would try is changing the security and privacy settings in System Preferences. You can do this as follows: Go to Apple > System Preferences… Click on Security & Privacy Select the Privacy tab at top right In the lefthand pane select the Accessibility option At bottom left of the window make sure the padlock is unlocked (if not, select ...


19

In Mojave, the address bar has different shades of gray/black depending on whether you're in private mode or not. In light mode it's light gray for not private, and a dark gray for private mode. In dark mode it's black for private, a fairly medium gray for not private.


18

To disable Dark Mode for MS Office only, you need to run a terminal command for each of the MS Office apps in question. For example, if you wish to disable dark mode in MS Excel, follow these steps: Quit Excel if it’s running Launch Terminal (usually found in the Applications/Utilities folder) Enter (or copy and paste) the following command: defaults write ...


17

I just had a similar issue and resolved it by: going to System Preferences > Security & Privacy > Privacy. Click the "lock" icon to make changes. Scroll down the list on the left-hand side and select "Full Disk Access" Click the "+" icon on the right and select the Terminal app (or in my case iTerm) You'll now be prompted to close the app if it's ...


16

I've fixed it! You'll have to edit the dune HEIC picture though. If you're willing, follow these steps: ​1) Go To: /Library/Desktop Pictures/ 2) Find the file called "Mojave.heic" 3) Save a copy as a backup somewhere else 4) Select the picture you want to have instead 5) Edit image values (DPI, size, etc.) to fit 6) Rename this edited picture as Mojave....


16

Open the Terminal application Type or paste defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO Press ↩︎ (Enter) Restart the computer To return it back, do the same but instead type in the terminal defaults delete -g CGFontRenderingFontSmoothingDisabled


16

A less drastic way: Go to System Preferences > Security & Privacy and give Full Disk Access to Terminal. Adapted from https://discussions.apple.com/thread/8637915


16

.m4a files created by Voice Memos can be found at /Users/your_username/Library/Application Support/com.apple.voicememos/Recordings Inside that folder is an .m4a file of the actual recording, prefaced with a string of numbers. The file is not saved with the name you give the memo in the interface, unfortunately. The Voice Memos interface allows you to ...


15

Is there any other new shortcut for zooming an image to actual size in Quick Look on the latest version of macOS Mojave? In the public release of macOS Mojave 10.14, Command + 0 keyboard sequence appears to achieve the desired function. To zoom back out again use the keyboard shortcut Command + 9. You can use Command+ and Command- to Zoom in and Zoom Out, ...


15

Disable SIP Open /Applications/Utilities/Terminal.app Enter in sudo rm -rf /Applications/iTunes.app Enter your password (it won’t be displayed on screen)


14

You can select the file and press Option + Command + C to copy the pathname to the clipboard. https://apple.stackexchange.com/a/252179/192890 You can also use Control + Option + right click in macOS Mojave (copy as pathname will replace copy file in get info modal). Little change but I just found it. Still works on networked drives too.


13

Try this: defaults write -g NSRequiresAquaSystemAppearance -bool Yes Then logout or restart. Then go to the system preferences and select dark mode. It will make top bar and dock dark while everything else in light mode. To revert it back: defaults write -g NSRequiresAquaSystemAppearance -bool No EDIT: Please also have a look on the answers bellow, they ...


13

A combination of the answers in here + killing all QuickLook-related processes fixed it for me. I have been experiencing this ever since the Mojave update. No reboot required. qlmanage -r commands always got stuck for me, too. Fix TL;DR version: Delete DropboxQL.qlgenerator from ~/Library/QuickLook (Credit to suntrop) Restart Finder sudo ...


12

There's a command that works for this: defaults write <Bundle-Identifier> NSRequiresAquaSystemAppearance -bool yes It's explained here: https://www.tekrevue.com/tip/exclude-app-dark-mode-macos-mojave/ If you don't know the app's bundle id, you can query it using AppleScript, which you can run from the command line with osascript: osascript -e 'id ...


12

This appears to be a bug in MacOS Mojave's VNC implementation. Thankfully, I have found a workaround. In the settings app, select Sharing. Then select "Screen Sharing" on the left and click on the "Computer Settings..." button. In the dialog that pops up, check "Anyone may request permission to control screen" and un-check "VNC viewers may control screen ...


12

I filed a bug report with Apple and this seems to finally be fixed now in Mojave 10.14.4 (18E226). To fix, update your OS to the latest version. Then reboot into recovery (CMD-R) and run disk first aid. It should show one or more error: directory valence check: directory (oid 0x123456): nchildren (1) does not match drec count (0) and / or error: ...


12

It's a known bug since the release of macOS 10.14.5. The blank window that shows up when you try to add an item to your library is actually supposed to contain new terms of service that you have to agree to, but it's bugged on macOS and just displays an empty page instead. The only solution right now seems to be to go to Apple Music on any of your iOS ...


11

xcode-select --install and xcode-select --reset didn't work for me. I had to download it manually from Apple Developers website: https://developer.apple.com/download/ Choose the Command line of your current OS.


11

In case someone is interested in an answer that doesn't require you to install anything but does require you to touch code just a little... Here you go.... How to toggle dark mode with Applescript: tell application "System Events" tell appearance preferences set dark mode to not dark mode end tell end tell How to turn ON dark mode with ...


11

Has this been removed in the redesign? Yes. The dedicated Purchases tab present in the older design of the Mac App Store has been moved under the Accounts tab (accessible by clicking on the user's display picture towards bottom left). The new Mac App Store no longer shows the currently downloaded and total size numbers for app installation in progress. ...


11

Whether you choose APFS or HFS+ for the sparse disk image will matter very little. They are synthetic filesystems and pass through iOPS and data to the underlying filesystem. That will have some technical details to consider and illuminate the differences how each relies on the storage to store filesystem data and work with or against the hardware that ...


Only top voted, non community-wiki answers of a minimum length are eligible