Due to a bug in MacOS Big Sur I need to run the following command
defaults write com.jthink.songkong "AppleWindowTabbingMode" manual
for my Java application with bundled version of java
Is there a way I can add this to my Info.plist file so it is already set automatically on the new install, I can alternatively use Runtime class to run the command from within Java but it would be neater if I could just configure it as part of the Info.plist file, but I don't understand macOS enough to know if that makes sense. I managed to get it added during build time so my Info.plist file contains
<key>AppleWindowTabbingMode</key>
<string>manual</string>
But, it has had no effect.
I'm not clear if I have done something wrong or if it is just impossible.
plist file. If you need to edit these items, Control-click (or right-click) Info. plist in the sidebar and select Edit Manually. This allows you to add or edit items in raw XML format.
Info. plist - The primary property list for Mac OS X applications, located in the /Contents/ directory of an . APP bundle. To view this file, right-click an application file, select "Show Package Contents," and open the Contents folder.
Information Property-List Files (Info.plist) The Info. plist file contains critical information about the configuration of an iOS mobile app—such as iOS versions that are supported and device compatibility—which the operating system uses to interact with the app.
Using Microsoft Intune, you can add a property list file (.plist) for macOS devices, or apps on macOS devices. Property list files include information about macOS applications.
Here’s how you can change default apps on macOS. We’re going to detail the process for general files, and for browsers and mail clients separately. For general files like text files, images, or media files, you need to have at least one type of the file present on your system. Right-click it and select Get Info from the context menu.
The first step is to create your plist. You can create the plist file with any text editor. Another option is to use Terminal to create the configuration profile. However, it's easier to create and edit a plist file with a tool that formats the XML code for you.
Pick an app - for images, you could select Adobe PhotoShop (providing have that on your Mac); That will change the default setting to how files with that file type are opened from now on; You can always change these settings when you want to revert back to a new option Are there other default settings that can be changed in macOS or Mac OS X?
As of a few minutes ago appbundler will set the default value for the AppleWindowTabbingMode property to "manual" upon launch. If you use it as your launcher it should fix this behaviour. Or you can check the native code in the commit and use it in your own launcher if you prefer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With