You are not logged in.

#1 2020-01-26 08:52

omegadx
Member
From: Osterholz-Scharmbeck (Germany)
Registered: 2020-01-12
Posts: 18

'Diabetes diary

Hi,
perhaps someone knows something about this..
I'm using a diabetes diary on my smartphone but the display is a little bit small. Perhaps someone knows, is there a software for using a
diabetes diary under my q4os?
it is much more comfortable to use the keyboard from my laptop then the small keys from my phone and it is better to read.

Offline

#2 2020-01-26 18:11

Tomsonas
Member
From: localhost
Registered: 2019-12-13
Posts: 44
Website

Re: 'Diabetes diary

You should use AlternativeTo for researching similar software. Windows has some diabetes diary programs as I searched such as SiDiary, you can run it with Wine. Also another one program I found is Java based, so it should work on any operating system as long as you have Java runtime installed. You may try asking on Debian forums about software as well since Q4OS is Debian based.

Offline

#3 2020-01-26 18:30

Tomsonas
Member
From: localhost
Registered: 2019-12-13
Posts: 44
Website

Re: 'Diabetes diary

Also that program I found is called GNU Gluco Control

Offline

#4 2020-01-27 11:15

omegadx
Member
From: Osterholz-Scharmbeck (Germany)
Registered: 2020-01-12
Posts: 18

Re: 'Diabetes diary

Hi,
thanks for your post.
I don't know how to start wine. I will try to start wine later. In the moment, i would be lucky, if i have all what is important for me.
I fond a dairy based on java, but I can't start it. i made all what there was standing, but it opened not the diary. I made it executable, but nothing.
Java is installed, perhaps not the right version. i will try it again tomorrow.

Offline

#5 2020-02-03 17:57

omegadx
Member
From: Osterholz-Scharmbeck (Germany)
Registered: 2020-01-12
Posts: 18

Re: 'Diabetes diary

Hi Tomsonas,

thanks for your post. I read in the net something about this app and I think it is what I am locking for. I locked in the synaptik but there it is not listed. How can I install the app. Sorry for this question, but I don't know something from linux. I came from windows, and because of a harddisk crash and getting angry because it is working slower and slower I'm looking for a better os. I'm using only an old think pad, so on this way, i tried q4os. Till now, I'm lucky with it, but all is strange. sorry, but here are a lot of things, what I can change and sometimes I must do something, that my laptop will work. because of this my silly question. i would be happy, if you or someone other would help me to learn to use q4os.

Thanks a lot of

Offline

#6 2020-02-03 18:56

Tomsonas
Member
From: localhost
Registered: 2019-12-13
Posts: 44
Website

Re: 'Diabetes diary

You need to download it from http://ggc.sourceforge.net/.

This is their last version:
https://sourceforge.net/projects/ggc/fi … p/download
Then extract it in your preferred directory

Also you need to have Java JRE/JDK installed on your computer

You can install JRE with

sudo apt install default-jre

and JDK with

sudo apt install openjdk-11-jre

OpenJRE is only runtime and OpenJDK is full development kit, so you may go with OpenJRE.

Lastly in the terminal switch to the directory of GNU Gluco Control with cd command, switch to bin folder and enter

chmod +x run_linux.sh

It should open the application now

Offline

#7 2020-02-03 19:38

omegadx
Member
From: Osterholz-Scharmbeck (Germany)
Registered: 2020-01-12
Posts: 18

Re: 'Diabetes diary

sorry, it is not working. i got the message :
karsten@q4os-desktop:~$ cd /home/karsten/GGC_0.7.0
karsten@q4os-desktop:~/GGC_0.7.0$ chmod +x run_linux.sh
chmod: Zugriff auf 'run_linux.sh' nicht möglich: Datei oder Verzeichnis nicht gefunden
karsten@q4os-desktop:~/GGC_0.7.0$

where have I made the mistake?


Java jre and jdk is already installed.

Offline

#8 2020-02-03 19:42

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: 'Diabetes diary

You might need to point your command to the actual file, or change to the directory that contains that file (linux.sh) and run it again.

Offline

#9 2020-02-03 19:56

omegadx
Member
From: Osterholz-Scharmbeck (Germany)
Registered: 2020-01-12
Posts: 18

Re: 'Diabetes diary

okay, sorry, I don't know this, I changed to the directory /home/karsten/GGC_0.7.0/bin, there is the file run_linux.sh

karsten@q4os-desktop:~/GGC_0.7.0$ cd /home/karsten/GGC_0.7.0/bin
karsten@q4os-desktop:~/GGC_0.7.0/bin$ chmod +x run_linux.sh
karsten@q4os-desktop:~/GGC_0.7.0/bin$

maybe that it works, but on the display is nothing to see.

Offline

#10 2020-02-03 20:04

Tomsonas
Member
From: localhost
Registered: 2019-12-13
Posts: 44
Website

Re: 'Diabetes diary

You need to open run_linux.sh normally (by double clicking) as chmod only gives executing permissions, forgot to mention that.

Offline

#11 2020-02-03 20:30

omegadx
Member
From: Osterholz-Scharmbeck (Germany)
Registered: 2020-01-12
Posts: 18

Re: 'Diabetes diary

oha,
now you see me looking here to my desktop, like the bull in the stable to the closed door. smile) (it's a joke)

a lot of happened, but I think there is still something missing or wrong. Here is, what is standing in the window of the app:

#!/bin/sh

# uncomment for debugging
# set -x

# cd to this script's directory, wherever it is called from
# if it fails, ignore that failure and hope we're in the right place, anyway
cd "$(dirname "${0}")" || true

#  **********************************************************************
#  ********   Set Java Path (calling setenv_java if exists)          ****
#  **********************************************************************
if [ -f ./setenv_java_linux.sh ]; then
   . ./setenv_java_linux.sh
fi


#  **********************************************************************
#  ********             Set ATech Tools Startup Jar                  ****
#  **********************************************************************
. ./setenv_atech.sh


#  **********************************************************************
#  ********                Create Startup Files                      ****
#  **********************************************************************
java -classpath "$ATECH_TOOLS_STARTUP" com.atech.update.startup.BuildStartupFile

#  **********************************************************************
#  ********                  Check Db Version                        ****
#  **********************************************************************
. ./db_check.sh


#  **********************************************************************
#  ********              Run 'GNU Gluco Control'                     ****
#  **********************************************************************
. ./run_ggc.sh

Am I right, if I think that the app can't find the java?

Offline

#12 2020-02-03 21:10

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: 'Diabetes diary

You need to run that script, I would use a terminal for this as the output will be better for tracing any issues, open a terminal and use the following commands

cd ~/GGC_0.7.0/bin
./run_linux.sh

This should either start your app or just give you some output to trace the problem.

Last edited by Dai_trying (2020-02-03 21:10)

Offline

#13 2020-02-03 21:38

omegadx
Member
From: Osterholz-Scharmbeck (Germany)
Registered: 2020-01-12
Posts: 18

Re: 'Diabetes diary

Sorry, but I read in the GCC How to, it is good that it exist in German, it is much easier for me.
There is standing, the path must  be right to find the java JRE in my system.
I searched for java in my system and I find a lot of java files. Now I will try to find the right one.
There are two possibilities one is with the path, the other is, to copy the content of the JRE-file in the installation file of GCC in a file named "jre".
That will be my homework for tomorrow, to find the right JRE-File.
I think, before I will change anything, I will ask before. I'm afraid to destroy my linux.

Now your post, I'm using the "Linux Konsole"

I run your command and a lot of happened.
A very long text, with a lot of errors at the end.
At least a window opened,
But it is locking more like a picture.
Okay, for today I must stop, must wake up at 4 o'clock.
Tomorrow I must read a lot of. I think, after reading, I will have a lot of questions, would that be okay?

Offline

Board footer

Powered by FluxBB