ubuntu-asahi icon indicating copy to clipboard operation
ubuntu-asahi copied to clipboard

Notch Support

Open eslerm opened this issue 1 year ago • 7 comments

Enable apple_dcp.show_notch=1 on DE's which support it. So far, none do out of box.

See https://www.reddit.com/r/AsahiLinux/comments/17ci7fh/complete_camera_notch_compatibility_on_gnome/ and https://www.reddit.com/r/AsahiLinux/comments/zibh2f/is_the_m2_macbook_air_notch_area_unused/

eslerm avatar Oct 29 '23 00:10 eslerm

I guess it's possible but it may loose some data. You know how when you move your cursor underneath the notch, it disappears?? The OS (Linux and MacOS) think they are usable pixels and don't make that place blank. Especially in Ubuntu, the time is placed there so It may disappear. I'd love to see it happen and don't take this negatively.

BokBoy avatar Oct 30 '23 04:10 BokBoy

^ the GNOME demo looks clean. Ubuntu Asahi won't ship mods, but hopefully support will land upstream in mutter or KDE etc.

In sway I configured waybar around it and I'm fairly happy. The top corners have curves too. It would be nice if fullscreen applications did not use the top of the screen, but good enough for my use.

eslerm avatar Oct 30 '23 15:10 eslerm

@eslerm can not even manually enable that. Any instruction?

Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 11: /etc/default/grub: apple_dcp.show_notch=1: not found

hamza72x avatar Nov 05 '23 11:11 hamza72x

There are a few ways, but I edited /etc/default/grub and added the flag to GRUB_CMDLINE_LINUX_DEFAULT, ran update-grub and rebooted.

Like:

# cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash apple_dcp.show_notch=1"

eslerm avatar Nov 05 '23 11:11 eslerm

Worked, Thanks

hamza72x avatar Nov 05 '23 13:11 hamza72x

@eslerm Would it work on any gnome based os?? I started using fedora 39, would it work there?? (its with gnome)

BokBoy avatar Nov 17 '23 11:11 BokBoy

The kernel parameter should work regardless of OS.

eslerm avatar Nov 18 '23 00:11 eslerm