[Gambas-user] KDE & Gambas executable part2
ron
ronstk at ...239...
Mon May 1 18:23:02 CEST 2006
from old mail I send previous
From: ron <ronstk at ...239...>
To: gambas-user at lists.sourceforge.net
Date: 2006-04-17 15:10
Subject: Re: [Gambas-user] gambas will not run
-------------------------------------
In the File associations, add new type.
say 'application/x-gambas2'
add Filename pattern '*.gambas'
enter description 'Gambas exe'
Add application and type 'gbr2' or '/usr/bin/gbr2' in the textbox.
press OK
Verify now with the Edit button at tab 'Application'
Command is gbr2 and use the Advanced options, set 'Run in Terminal' on
Try out on a *.gambas file
The terminal stays open for duration of the gambas app works :)
If all works OK then 'run in terminal' can switched off.
Take a look in '/home/ron/.kde/share/mimelnk/application'
Find the file 'x-gambas2.desktop' with content:
[Desktop Entry]
Comment=Gambas executable
Hidden=false
Icon=
MimeType=application/x-gambas2
Patterns=*.gambas
Type=MimeType
goto '/home/ron/.kde/share/applnk/.hidden'
Find file 'gbr2.desktop' with content:
[Desktop Entry]
Comment=
Comment[en_US]=
Exec=gbr2
GenericName=
GenericName[en_US]=
Icon=
InitialPreference=2
MimeType=application/x-gambas2
Name=gbr2
Name[en_US]=gbr2
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=none
X-KDE-SubstituteUID=false
X-KDE-Username=
These both files are now new on my box and it works.
SuSE 9.2, KDE 3.5.0 (a) SuSE version
If you add these as files direct you must run kbuildsycoca !!!
Have fun
Ron
More information about the User
mailing list