Package Details: geogebra-5 5.0.802.0-1

Git Clone URL: https://aur.archlinux.org/geogebra-5.git (read-only, click to copy)
Package Base: geogebra-5
Description: Dynamic mathematics software with interactive graphics, algebra and spreadsheet
Upstream URL: https://www.geogebra.org/
Licenses: GPL3, CCPL:by-sa, CCPL:by-nc
Conflicts: geogebra
Provides: geogebra
Submitter: z3ntu
Maintainer: xiretza
Last Packager: xiretza
Votes: 21
Popularity: 0.000086
First Submitted: 2018-02-12 13:00 (UTC)
Last Updated: 2023-09-24 14:31 (UTC)

Dependencies (3)

Required by (0)

Sources (5)

Latest Comments

1 2 3 4 Next › Last »

xiretza commented on 2022-04-15 16:20 (UTC)

Thanks!

ccorn commented on 2022-04-13 21:56 (UTC) (edited on 2022-04-13 21:56 (UTC) by ccorn)

Now that JRE 18 is out, properly greping for 8 needs the -w option:

--- a/geogebra
+++ b/geogebra
@@ -25,14 +25,14 @@ if test ! -z "${JAVA_HOME}"; then
 fi

 # check current environment
-if archlinux-java status | grep "default" | grep -q "${GG_JAVA_VERSION}"; then
+if archlinux-java status | grep "default" | grep -qw "${GG_JAVA_VERSION}"; then
     # required java version is set to default, do nothing
     echo "Using system enabled java environment" >&2
     run_gg "$@"
 fi

 # find valid environment
-GG_JAVA_ENV="$(archlinux-java status | grep "${GG_JAVA_VERSION}" | awk '{ print $1 }')"
+GG_JAVA_ENV="$(archlinux-java status | grep -w "${GG_JAVA_VERSION}" | awk '{ print $1 }')"
 # for some env it returns like java-8-openjdk/jre
 GG_JAVA_ENV="${GG_JAVA_ENV%/*}"
 export PATH="/usr/lib/jvm/${GG_JAVA_ENV}/jre/bin/:${PATH}"

Besides, in my checkout of the PKGBUILD, I version the depends on java-runtime=8 because running with anything else works superficially but with flaws that grow worse over time. Today I ran it with the JRE 18 because of the unrefined grep, and I got subtle redraw errors.

andean_engineer commented on 2021-11-14 17:15 (UTC)

Please, is it feasible to install GeoGebra 6 of the Arch Community repo simultaneously with this AUR 5 version?

Definitively, I prefer GeoGebra 5. However, some graphics tasks require the use of the 6 version. Now, I use the official Linux portable version. Nevertheless, I would prefer to install the package to get auto-updating.

HoolaBoola commented on 2021-09-01 12:05 (UTC)

@xiretza I found a solution. It was due to Wayland, Java GUIs seem to not like it very much.

The solution was to run the app with

_JAVA_AWT_WM_NONREPARENTING=1 geogebra

Found the solution in this archwiki article

xiretza commented on 2021-09-01 11:36 (UTC)

Hmm, can't reproduce - works fine for me, and my log is exactly the same.

HoolaBoola commented on 2021-09-01 11:09 (UTC) (edited on 2021-09-01 12:01 (UTC) by HoolaBoola)

EDIT: solution above

Launching the app after installing it only opens to a blank window

The log file doesn't seem to help much

Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.common.m.A.G[-1]: Number of registered views = 1
 * class org.geogebra.desktop.geogebra3D.b.b
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.desktop.j.q.a[-1]: <?xml version="1.0" encoding="utf-8"?><geogebra format="5.0" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><gui><window width="800" height="600" /><settings ignoreDocument="false" showTitleBar="true" /><labelingStyle val="0"/><font  size="16"/><menuFont size="-1"/><tooltipSettings language="" timeout="0"/></gui><euclidianView><size width="640" height="480"/><coordSystem xZero="215.0" yZero="315.0" scale="50.0" yscale="50.0"/><evSettings axes="true" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/><bgColor r="255" g="255" b="255"/><axesColor r="0" g="0" b="0"/><gridColor r="192" g="192" b="192"/><lineStyle axes="1" grid="0"/><axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" axisCross="0.0" positiveAxis="false"/><axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true" axisCross="0.0" positiveAxis="false"/></euclidianView><euclidianView3D>
    <coordSystem xZero="0.0" yZero="0.0" zZero="-1.5" scale="50.0" xAngle="20.0" zAngle="-60.0"/>
    <evSettings axes="true" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" gridType="3"/>
    <axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
    <axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
    <axis id="2" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
    <plate show="true"/>
    <bgColor r="255" g="255" b="255"/>
    <clipping use="false" show="false" size="1"/>
    <projection type="0"/>
</euclidianView3D><kernel><continuous val="false"/><decimals val="2"/><angleUnit val="degree"/><algebraStyle val="3"/><coordStyle val="0"/><localization digits="false" labels="true"/><angleFromInvTrig val="false"/><casSettings timeout="5" expRoots="true"/></kernel><algebraView><mode val="3"/></algebraView><scripting blocked="false"/></geogebra>
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.desktop.j.a.aU[-1]: Waiting for the initialization: 0
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.desktop.j.a$a.run[-1]: Thread[compute,5,main] running
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.common.b.c.a.a[-1]: SingularWS connection disabled by command line option
Sep 01, 2021 2:03:14 PM  
STDOUT: INFO: org.geogebra.common.n.b.s[-1]: No SingularWS is available at http://singularws.idm.jku.at/ (yet)
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.common.i.h.a[-1]: CAS support: true
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.desktop.j.p.b[-1]: problem with getting GGT...
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.common.m.A.G[-1]: Number of registered views = 2
 * class org.geogebra.desktop.geogebra3D.b.b
 * class org.geogebra.desktop.gui.m.a.l
Sep 01, 2021 2:03:14 PM  
STDOUT: DEBUG: org.geogebra.common.m.A.G[-1]: Number of registered views = 3
 * class org.geogebra.desktop.geogebra3D.b.b
 * class org.geogebra.desktop.gui.m.a.l
 * class org.geogebra.common.plugin.b
Sep 01, 2021 2:03:14 PM  
STDOUT: WARN: org.geogebra.desktop.j.a.n[-1]: Option versionCheckAllow not recognized : 
Sep 01, 2021 2:03:14 PM  
STDOUT: INFO: org.geogebra.desktop.j.q.a[-1]: No system preferences
Sep 01, 2021 2:03:14 PM  
STDERR: ERROR: org.geogebra.desktop.gui.i.R.a[-1]: JavaFX 2.2 not available
Sep 01, 2021 2:03:15 PM  
STDERR: ERROR: org.geogebra.desktop.gui.i.R.a[-1]: JavaFX 2.2 not available
Sep 01, 2021 2:03:15 PM  
STDOUT: DEBUG: org.geogebra.desktop.gui.i.R.b[-1]: update menu
Sep 01, 2021 2:03:15 PM  
STDOUT: DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: Checking version
Sep 01, 2021 2:03:15 PM  
STDOUT: DEBUG: org.geogebra.desktop.gui.a.a$a.b[-1]: Version check is not allowed

medmedin commented on 2021-04-17 20:13 (UTC)

@xiretza why the package doesn't extract the embedded jre8 and uses it by default ?

code_xpert commented on 2021-03-31 09:38 (UTC)

Can't seem to log in with Google. The buttons on the page to enter your email won't do anything.

andean_engineer commented on 2021-01-28 00:21 (UTC) (edited on 2021-03-28 14:16 (UTC) by andean_engineer)

EDIT: Now, I can get the base 64 with the AUR version with CTRL + SHIFT + B. Sometimes, it doesn't work. Then, I select any object in the Graphics Area and hit again CTRL + SHIFT + B: the base 64 code comes to the clipboard.


Please, how could I get the base 64 of an applet? Frequently, the shortcut CTRL + SHIFT + B makes this task. However, with my windows manager (i3-gaps), it doesn't work. The portable version of the official site of GeoGebra seems to work fine.

I've tried some online conversion tools. However, my Internet connection is no good.

Arch Linux (Linux kernel: 5.4.92-1-lts) + i3-gaps (4.19-1).

ccorn commented on 2020-10-21 10:18 (UTC)

I am not fluent with Java tools, but the gluegen build instructions seem to require specification of the target JRE version for their ant build command. Presumably, Geogebra's gluegen build has been made for JRE 8.