From cbe7adb0bcdc6f57c765d5a1afdd8ad7f396e41a Mon Sep 17 00:00:00 2001 From: calpeconsulting <61429736+calpeconsulting@users.noreply.github.com> Date: Tue, 21 Jul 2026 15:16:39 +0200 Subject: [PATCH] Adding manual permission for Wayland support, ref #328 --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a8f07c2..6298397 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,11 @@ This is a community-made Flatpak wrapper of Android Studio. It's not verified by, affiliated with, or supported by Google. -This wrapper uses X11 via XWayland, due to missing support in OpenJDK. Filesystem visibility is voluntarily limited to home, and `flatpak-spawn` is not permitted because it would reduce security. +This wrapper uses X11 via XWayland by default, but Wayland (experimental) can be enabled by granting it the _--socket=wayland_ permission: + +`flatpak override --user --socket=wayland com.google.AndroidStudio` + +Filesystem visibility is voluntarily limited to home, and `flatpak-spawn` is not permitted because it would reduce security. Any suggestions, problem reports, or improvement proposals are welcome.