How launch zyGrib from Gnome menu

Image Ici on parle français ou anglais, comme on veut, comme on peut.
Image Here we speak french or english, as we want, as we can.

Moderator: jza

Forum rules
Image Ici on parle français ou anglais, comme on veut, comme on peut, mais on n'oublie jamais que l'on discute entre humains.
Il ne faut surtout pas oublier les mots magiques: bonjour, salut, merci, etc.
Les messages impolis sont rejetés et restent sans réponse.
Il faut souvent être patient, car il y a plein d'autres activités encore plus passionantes dans notre vie.

Image Here we speak french or english, as we want, as we can, but we never forget that we discuss between humans.
Do not forget the magic words: hello, hi, thank you, etc.
Rude messages are rejected and remain unanswered.
It is often necessary to be patient because there are many other activities even more exciting in our life.
Post Reply
olele
Posts: 8
Joined: 08 May 2009 15:58

How launch zyGrib from Gnome menu

Post by olele » 21 Sep 2009 01:28

Hello everyone. I'll explain a basic way to launch this amazing software from "Applications" Gnome main menu.

step 1
make a script in your main user directory (gnome terminal)

E.g. vi name.sh (bash shell)

press "i" (insert) and type :

line 1 " cd --- zyGrib-path ----" (E.g. cd /usr/local/zyGrib)
line 2 "./zyGrib"

then save and quit "vi" editor ( press "Esc" --->":"---->"wq")

step 2
change permissions file, Type:

chmod +x name.sh
step 3
build a new menu and a new item into it (System -->Preferences -->Look and Feel --> Main Menu )


step 4
setup item (Launcher Properties)

Type: Application in Terminal
Name: $$$$$$$$$$$$$$$$$
Command: gnome-terminal -e ./name.sh


that's all, very simple.

Olele

DomH
Site Admin
Posts: 303
Joined: 23 Jan 2009 09:03

Re: How launch zyGrib from Gnome menu

Post by DomH » 21 Sep 2009 06:25

olele wrote:Hello everyone. I'll explain a basic way to launch this amazing software from "Applications" Gnome main menu.

step 1
make a script in your main user directory (gnome terminal)

E.g. vi name.sh (bash shell)

press "i" (insert) and type :

line 1 " cd --- zyGrib-path ----" (E.g. cd /usr/local/zyGrib)
line 2 "./zyGrib"

then save and quit "vi" editor ( press "Esc" --->":"---->"wq")

step 2
change permissions file, Type:

chmod +x name.sh
step 3
build a new menu and a new item into it (System -->Preferences -->Look and Feel --> Main Menu )


step 4
setup item (Launcher Properties)

Type: Application in Terminal
Name: $$$$$$$$$$$$$$$$$
Command: gnome-terminal -e ./name.sh


that's all, very simple.

Olele
Hello,

Thanks for the explanation.
The bash file is already in the .deb package as well as the config into menu (with a small fish as image).
Bonne journée ou bonne soirée (vous pouvez choisir)
Have a nice day or good night (you can choose)
Guten Morgen oder gute Nacht (Sie können wählen)

DomH

rudi
Posts: 3
Joined: 06 Dec 2009 15:52

Re: How launch zyGrib from Gnome menu

Post by rudi » 06 Dec 2009 16:01

olele wrote:Hello everyone. I'll explain a basic way to launch this amazing software from "Applications" Gnome main menu.

....

line 1 " cd --- zyGrib-path ----" (E.g. cd /usr/local/zyGrib)
line 2 "./zyGrib"

....

that's all, very simple.

Olele
Thanks Olele,

your explanation also helped me to insert zyGrib correctly in my KDE menu.

But there is one thing I do not understand: "Why do I have to go to the installation path first and then start zyGrib from there?".
If I remember correctly, in a previous version it was possible to launch the appliction by typing the absolute path.
This is still possible but if I do so, icons are missing and the GUI only comes along in French. That confused me a little bit.
Maybe somebody has an explanation for that.

Nevertheless:
zyGrib is a great tool!!!!

Merci!
rudi

DomH
Site Admin
Posts: 303
Joined: 23 Jan 2009 09:03

Re: How launch zyGrib from Gnome menu

Post by DomH » 06 Dec 2009 16:30

rudi wrote:
But there is one thing I do not understand: "Why do I have to go to the installation path first and then start zyGrib from there?".
If I remember correctly, in a previous version it was possible to launch the appliction by typing the absolute path.
This is still possible but if I do so, icons are missing and the GUI only comes along in French. That confused me a little bit.
Maybe somebody has an explanation for that.

rudi
Hi,

No it was always necessary to cd to the zygrib repository.
As mentionned above in the .deb package, I add the script in the /usr/local/bin which allow to start it from everywhere (first command of the script is cd zygrib_path).

To change the language just go into the menu options->language and choose the one you prefer.
Bonne journée ou bonne soirée (vous pouvez choisir)
Have a nice day or good night (you can choose)
Guten Morgen oder gute Nacht (Sie können wählen)

DomH

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests