Page 1 of 1

MacBook Display Notch

Posted: Thu Jul 28, 2022 10:56 pm
by cafe-megabyte
Hey guys!

The display of the latest MacBooks no longer has the shape of a rectangle. Every corner is rounded, but the most visible is the "notch". For unadapted apps one can set a checkbox in the Finder's info dialog for that app which says "Scale to fit below built-in camera".

Unfortunately, this setting isn't available for Qemu and the problem looks like this!

Does anyone have an idea, how to tell the Mac to "scale to fit" Qemu?!

The crappy workaround I found, goes like this:
- Activate "Scale to fit below built-in camera" for SheepShaver and start SheepShaver in fullscreen mode.
- While SheepShaver is running in full screen, switch back to your desktop. Not only SheepShaver is scaled down, but also the desktop is now scaled down!
- Start Qemu and switch to fullscreen.

Qemu doesn't use the Mac's native fullscreen functionality ("Spaces"), it just occupies the desktop. And therefore it's also being scaled down…

The result looks like this!

I really hope, someone can tell me that there is a simpler way to do the trick… :-)


Markus

Re: MacBook Display Notch

Posted: Fri Jul 29, 2022 7:07 am
by Cat_7
I'm not sure that can be helped right now.

Qemu builds are are unix executable files, not applications in the macOS sense. SheepShaver/Basilisk are and that might make macOS aware of providing the option to scale.

Best,
Cat_7

Re: MacBook Display Notch

Posted: Fri Jul 29, 2022 1:53 pm
by kikyoulinux
Changing those settings for Terminal.app may work, since Unix executable files are opened with Terminal. If it doesn't, try UTM, which is an app bundle.

Re: MacBook Display Notch

Posted: Fri Jul 29, 2022 2:15 pm
by adespoton
I have to admit, I didn't notice this due to always using either UTM or qemu-ppc in windowed mode these days. It should be possible to set this up by adding a simple info.plist value in the app bundle:
https://www.notebookcheck.net/Apple-Mac ... 934.0.html

But... you say: qemu isn't an app bundle!

Solution: create a folder, put a Contents folder inside that, put a MacOS folder inside that, and place qemu-system-ppc inside that. Then put an Info.plist file inside the Contents folder.

Populate the Info.plist file appropriately, rename the outer folder to qemu-ppc.app, and you're ready to go!

All the other qemu files can go in a Resources folder in the Contents folder, or just loose in the MacOS folder, depending on how you configure it.

That's how I've been doing my QEMU-PPC for years now :)