Ver Fonte

Update linux-faq.md

Björn Ritzl há 2 anos atrás
pai
commit
d1e9c4f7a3
1 ficheiros alterados com 10 adições e 1 exclusões
  1. 10 1
      docs/en/shared/linux-faq.md

+ 10 - 1
docs/en/shared/linux-faq.md

@@ -114,9 +114,18 @@ $ apt-get install libopenal-dev
 
 ####  Q: Why does the top menu close before I can select something?
 
-A: This is likely caused by the window manager used (for instance Qtile or i3). This is a [known issue in JavaFX](https://bugs.openjdk.org/browse/JDK-8251240?focusedCommentId=14362084&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14362084) and it can be solved by setting the `GDK_DISPLAY` environment variable to 1:¨
+A: This is likely caused by the window manager used (for instance Qtile or i3). This is a [known issue in JavaFX](https://bugs.openjdk.org/browse/JDK-8251240?focusedCommentId=14362084&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14362084) and it can either be solved by setting the `GDK_DISPLAY` environment variable to 1:¨
 
 ```bash
 $ GDK_DISPLAY=1 ./Defold
+
+D=2
+
+```
+
+Or by modifying the `Defold/config` file and on the `vmargs` line add `-Djdk.gtk.version=2`:
+
+```
+vmargs = -Djdk.gtk.version=2,-Dfile.encoding=UTF-8,...
 ```