From 6a66355d375a5df36eae36830e3f9c7aaee14ce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=2E=20R=C3=B8dseth?= <52813+xyproto@users.noreply.github.com> Date: Wed, 26 Aug 2020 13:11:34 +0200 Subject: [PATCH] Add a note about Android Studio --- Home.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Home.md b/Home.md index 8a38bd7..6b090cd 100644 --- a/Home.md +++ b/Home.md @@ -461,3 +461,18 @@ This is an [Xwayland bug](https://gitlab.freedesktop.org/xorg/xserver/-/issues/7 ### I can't open links in external applications in Firefox If you get the message "Firefox is already running", set the environmental variable `MOZ_DBUS_REMOTE=1` (Firefox 74+, dbus required). See explanation here: [https://mastransky.wordpress.com/2020/03/16/wayland-x11-how-to-run-firefox-in-mixed-environment/](https://mastransky.wordpress.com/2020/03/16/wayland-x11-how-to-run-firefox-in-mixed-environment/) + +### Android studio draws the menus in the wrong place + +Try something like this: + +```bash +# For Android Studio +export _JAVA_AWT_WM_NONREPARENTING=1 +export STUDIO_JDK=/usr/lib/jvm/java-14-openjdk + +# For Gradle +export JAVA_HOME=/usr/lib/jvm/java-8-openjdk +``` + +Adjust the paths so that they point to a valid location on your system. \ No newline at end of file