Command line in GeoGebra 6 Classic for Linux?

BJvgy shared this question 2 years ago
Answered

Hi,

I recently upgraded GeoGebra Classic 5 installation to version 6 in our School's Offline Exam Environment (live Linux based).

Basically - in this environment, students start the application from a Desktop shortcut that opens a pre-existing GeoGebra file in the app. To minimize problems with files saved in the wrong place etc. we'd like to keep it like that and have the students work in and save the same file all the time.

The command used to launch GeoGebra is

/usr/bin/geogebra-classic ~/Documents/<examfile_name>.ggb

Since v6 GeoGebra doesn't seem to take this file argument any more, but opens a blank document. I'm curious if this is intentional, or if there are plans to implement the same command line arguments functionality as in version 5?

Also, I wonder if there's a way to make the Save command in the main app menu not launching a Save as-like 'name your file' when the file has already been saved once. As it is now, I have to enter the same file name each time and then confirm overwrite.


Thanks in advance,

/Bjorn

Comments (6)

photo
1

Sorry, we don't have plans to add either of those features

photo
1

Is this still not planned? Especially being able to open a file without having to go through the gui dialog would be much appreciated.

photo
1

Sorry, still the same

photo
2

I just switched back from geogebra 6 to 5 (among other things) because you couldn't open files from commandline in version 6. I am working on commandline a lot and want to be able to do something like `geogebra file.ggb` to open the file.

photo
1

@Michael


A little funny but in Windows10/UWP from Windows Store it works (open with = double click on any *.ggb file). Using the setup for Geogebra Classic it doesn't work - like under linux.


It would be great if software on any OS would work as usual in this OS - even if it has done so in earlier versions. To sell a "bug as a feature" is not user friendly.


It smells like an excuse ...

photo
1

Now we implemented this feature. There are some command line options available, there may be others on demand. See geogebra-classic --help for more details.

photo
© 2020 International GeoGebra Institute