![]() ![]() I'm not sure if just setting those values would cause it to become immutable though. It might also be possible to put these settings into a Configuration Profile, but Dock profiles tend to make the Dock immutable. Something like defaults write /Users/$logged_in_user/Library/Preferences/.ist _HIHideMenuBar -bool true should do it. It's a boolean value, so the "1" you see when reading it with defaults indicates true. It's going to be basically the same deal with the hide menu bar setting. usr/bin/defaults write /Users/$logged_in_user/Library/Preferences/ autohide -bool true Full screen app support on macOS is ahead of the curve a full screen app acts like a desktop space, and you can pin two apps side by side in full screen mode. Click on the Dock menu under System Preferences, and check the box in front of Automatically hide and show the Dock. You can also access the hide option via System Preferences. To access it, move your cursor to the destination and it pops back on. logged_in_user=$(/usr/sbin/scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ & ! /loginwindow/ ') macOS lets you work in full screen not matter which app you’re working in. Click on Turn Hiding On and the dock will elegantly sink into the bottom or side of your screen. This will hide the menu bar when the mouse is not over it. Check the 'Automatically hide and show the menu bar' box. The Dock settings are user based, so you would probably need to get the logged in user's name and home directory path and then doing the defaults write to their ist. If you dont see this, click the 'Show All' button first, which looks like 12 dots arranged in a grid pattern at the top of the window. The correct command would be something like defaults write autohide -bool true But even that isn't going to work since, when a defaults command uses the shortened URL as it's target (meaning not the full path to the plist), it's going to affect the plist for the account running the command, which in the case of a Jamf Pro policy would be root, not the currently logged in user. The Dock autohide setting is actually a boolean value, so setting it to "1" in a defaults command isn't going to activate it.
0 Comments
Leave a Reply. |