Author: Chris Noxz <email@example.com>
Date: Wed, 25 Sep 2019 16:52:19 +0200
Add guides page for GeoGebra (mathematical tool)
1 file changed, 34 insertions(+), 0 deletions(-)
diff --git a/noxz.tech/guides/geogebra/index.md b/noxz.tech/guides/geogebra/index.md
@@ -0,0 +1,34 @@
+I personally use a portable version of GeoGebra as I'm not that fond of
+installing a full Java Environment on my machine, and the portable version of
+GeoGebra comes with a portable version of JRE as well. So keep that in mind
+when reading these guides.
+As it turns out Java has a problem with rendering the GUI correctly on
+non-reparenting window managers, such as *DWM* -- the one I use. The solution
+to the problem is easy though. If JDK is patched to check for the environment
+variable **_JAVA_AWT_WM_NONREPARENTING**, you can set this to equal *1*. I've
+created a startup script for GeoGebra like so:
+ _JAVA_AWT_WM_NONREPARENTING=1 .geogebra-portable
+This workaround is of course not only applicable to GeoGebra, but to all
+Java-applications with similar problems.
+Using GTK theming in GeoGebra
+If you want to have the same look and feel in GeoGebra, as the rest of your GTK
+applications, this can be easily achieved by setting Java options through the
+environment variable **_JAVA_OPTIONS**, like so:
+ _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
+Again, this is of course applicable to all GUI applications in Java.