noxz-sites

A collection of a builder and various scripts creating the noxz.tech sites
git clone git://git.noxz.tech/noxz-sites
Log | Files | Refs | README | LICENSE

commit f47adbd1a12284ad0b4f484eac40da802a69cd99
parent a203d958bc494519e4428537817c9e6b7e8da203
Author: Chris Noxz <chris@noxz.tech>
Date:   Wed, 25 Sep 2019 16:52:19 +0200

Add guides page for GeoGebra (mathematical tool)

Diffstat:
Anoxz.tech/guides/geogebra/index.md | 34++++++++++++++++++++++++++++++++++
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 @@ +GeoGebra +======== + +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. + +Missing GUI +----------- + +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 + -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel + -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel' + +Again, this is of course applicable to all GUI applications in Java.