Disable booting sound in MacOs 10.14.3 Mojave + Win10 bootcamp - macos

How can i disable booting mac sound via using bootcamp?
I tried to use sudo nvram SystemAudioVolume=%01, but it worked only once. After the second reboot sound appeared again. I don't have a special checkbox which can disable the sound in "sound settings" in this version of MacOS. How can i setup the system to block this sound? Either MacOS or Windows10 (via bootcamp) boot?

I'm running Mojave 12.6.1 and I can disable the startup sound in sound settings:
https://i.stack.imgur.com/pP2nw.png
There might be a similar option for you.

Related

Vim scrolling with touchpad too sensitive

I'm using vim (7.4.898) on Mac OS Sierra and iTerm2 (latest version). I have set mouse=a enabled in my .vimrc. Since the upgrade to Mac OS Sierra, the scrolling with the touchpad in vim is way too sensitive. Scrolling otherwise works fine. Is there a way to adjust the sensitivity somewhere (either in MacOS, iTerm2 or vim)?
I am now using a new MackBook Pro. The scrolling issue completely disappeared for me.

NSUbiquitousKeyValueStore failing on macOS Sierra

When I call NSUbiquitousKeyValueStore's synchronize method after running my app directly from Xcode on macOS Sierra, it returns false and following error is printed in Console.app:
Refusing TCCAccessRequest for service kTCCServiceUbiquity from client
com.apple.dt.Xcode in background session
As far as I can tell, changed keys are not saved to iCloud. They are remembered in memory locally but lost after app re-launch.
I believe all my entitlements are set correctly (iCloud KVS enabled in Capabalities of the project, all checked). Do I need to archive & export my app in order to debug / test iCloud on macOS?
Any ideas how to fix / workaround this?
Apple DTS has confirmed that this is an issue on Apple's side and they are working on that.
Update: Problem has been solved in macOS 10.12.1

disable XQuartz and revert to mavericks's default x server

I have installed XQuartz 2.7.5 on Mavericks. After that videos I play with mplayer seems to load on a separate window, all white stuck with only the audio playing. I have disabled Xquartz by disabling /Library/LaunchAgents/org.macosforge.xquartz.startx.plist and /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist with launchctl.
Iwould like to know how to display the videos as it was playing before. I installed mplayer via brew. Is there a way to direct $DISPLAY to the default x server? Please help.
Thanks
Don't disable /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist. That will prevent XQuartz.app from launching.
Disabling /Library/LaunchAgents/org.macosforge.xquartz.startx.plist (and relogging) will result in the DISPLAY environment variable not being set and thus automatic launching of XQuartz.app when you run X11 applications, but you can still launch XQuartz.app directly.
There is no default X server. X11 was removed from OS X in Mountain Lion. X11.app in earlier versions of OS X was just XQuartz.app with different name.

Xcode quit unexpectedly while using the dsc_extractor.bundle plugin

When I attach my new iPhone 5s to my Mac, Xcode crashes with this error:
Xcode quit unexpectedly while using the dsc_extractor.bundle plugin
This happens while Xcode is processing symbols from the device.
It all works fine on my iPad4 which is running IOS 6.1.3.
I updated MacOS to Maverick, I reinstalled Xcode and I still have the same error.
My current Xcode version is 5.0.2 (3335.32), iPhone IOS is 7.0.4 (11B554a).
For me it worked out when I delete the "~/Library/Developer/Xcode/iOS DeviceSupport/(iOS Version of the device)" folder. It is recreated next time, when the device is connected to the Mac and Xcode is running.
A previous restore of the iPhone 5S did not help and I had no problems to connect the device to another Mac. So it seems to be an issue only on the Mac and not on the device.
I use a 5S both with a MBPro/Mavericks and regular MB/Snow Leopard; it works fine. Something is messed up on your system, I suspect. Any 3rd party extensions? Try logging out, and logging back in with the shift key down (prevents extensions from loading).
I formatted hard drive and re installed Maverick and that did the trick.

How to simulate a retina display (HiDPI mode) in Mac OS X 10.8 Mountain Lion on a non-retina display?

How can you simulate a retina display (HiDPI mode) in Mac OS X 10.8 Mountain Lion on a non-retina display?
Search for, download, and install Apple's free Additional Tools for Xcode 8 (for previous Xcode releases search for Graphics Tools for Xcode according to your version).
Note: free Apple Developer account required.
Launch Quartz Debug application.
Go to menu: Window ---> UI Resolution.
Check Enable HiDPI display modes.
Quit Quartz Debug.
Open System Preferences.
Select Displays icon.
If using multiple display, select the configuration window on the display you wish to simulate HiDPI mode on.
Under Resolution:, select Scaled radio button.
Find a desired resolution postfixed with (HiDPI) and select it.
Your display is now running in HiDPI mode, simulating a retina display.
Source: High Resolution Guidelines for OS X
I found the following instructions. It seems to work, and it is much easier than the Quartz Debug approach.
"Enable HiDPI mode in Mountain Lion w/o Quartz Debug"
https://gist.github.com/3191869
In brief, run the following commands, log out, log on, and the HiDPI resolutions are available in the display preferences:
sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool YES
sudo defaults delete /Library/Preferences/com.apple.windowserver DisplayResolutionDisabled
(In my case the first command was enough; the second command just prints an error message.)
Edit: (5/31/2016)
For users trying to do this on El Capitan, please read the FAQ on SwitchRes's website. Also, if something's still not working after you did all the steps in the FAQ, consider uninstalling and reinstalling SwitchResX. That solved the issue I was having on one of my laptops.
Original:
After reading through several forums, websites, blogs.
I am here to present a solution for users with 15" MacBook Pro with Retina display connected to a Thunderbolt Display.
First of all,
Terminal command of modifying plist
Quartz Debug
Holding option and select "Scaled" in System Preferences
ResolutionTab (Mac App Store)
These methods DO NOT work for MBPr with Thunderbolt Display, for whatever reasons.
You will not see the HiDPI options to be selected.
The only tool I found that actually gives us the options is SwitchResX.
However another problem exists here.
Most users with this setup, I believe, are trying to use 1280x720 HiDPI because it's half the native resolution of the TBD.
According SwitchResX's FAQ, in some cases it is not possible to set to this resolution because of a bug within OS X itself.
Here's a screenshot for your reference:
After contacting the developer, he presented a workaround - adding one more pixel - which worked for me.
Install SwitchResX and open it from System Preferences.
Go to Thunderbolt Display tab, and add a Custom Resolutions with Scaled Resolution at 2562 x 1440
Here's a screenshot
Save using command + s. (or simply close the window and use the prompt up)
Restart the laptop.
Go to SwitchResX and select the new custom resolution in the Current Resolution tab. (Sometimes it doesn't show up right away, play around with it and it should.)
Here you go.
I hope this answer gets to users with this setup because it is really frustrating to use 16:10 resolution on a 16:9 display.
For those unable to enable HIDPI on rMBP or new MBA, I experienced the same on my rMBP 15" with Air Display. I solved the problem by installing SwitchResX. With the boolean setting enabled as shown in the referenced gist, the HIDPI setting shows up.
Dragging seems a little laggy in Air Display, but otherwise works great.
Try this
sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool YES
[from here]
If your monitor supports it, it may also be worth setting the DisplayPort version to 1.1 instead of 1.2.
I have a late 2010 Mac Air with a Samsung S27D850 display and had all sorts of intermittent resolution switching issues until I made that change.
As for me its pretty good app that give you opportunity for changing resolution any that you want.
SwitchResX for Mac and MacBook.
This app resolved all my problems with resolution.

Resources