1
0
Fork 0
mirror of https://github.com/swaywm/sway.git synced 2025-03-21 13:52:04 +00:00

Add a note about Android Studio

Alexander F. Rødseth 2020-08-26 13:11:34 +02:00
parent 3bc4664d46
commit 6a66355d37

15
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.