[Gambas-user] KDE & Gambas executable part2

ron ronstk at ...239...
Thu May 4 19:00:43 CEST 2006


On Thursday 04 May 2006 16:16, Leonardo Miliani wrote:
> Hi Ron,
> I had some problems because of strange KDE working...
> Today I restarted my Suse box and clicking on any Gambas executable 
> maked it running!
> But I didn't have any icon representing the type of application Gambas 
> executable was. So I decided to get them one. I right clicked on a 
> Gambas executable, then chose Properties, then clicked on Modify type of 
> file icon in Generals tab. I then clicked on gbr2 in the list of 
> applications used to open the file and selected Modify. When I chose the 
> icon, I applied all the changes and... executables didn't run anymore!
> So I opened again then Properties window and when I opened then window 
> to modify the applications used to run then Gambas executables I noticed 
> that KDE simply had canceled the gbr2 application!
> So I had to re-set up all the thing and now all is working good...
> 
> I don't know why KDE did this way but I suggest you to specify in your 
> how-to to double-check the settings because there could be this problem.
> 
> Ah, I use KDE 3.5.2-a
> 

The solution I have ATM is next:

In both files there is a entry as 'icon=' and is not used currently.
I put in the $HOME/.config/gambas both icons included here.
Copyright is Fabian when I'm right. they are anyway great for a *.gambas filetype.

The file entry in both files must be then '/home/ron/.config/gambas/gambas2.png'
The Gambas2.png has a big '2' in it, gambas1.png is without version number 

I set gambas1.png in x-gambas.desktop while this one is related 
to a *.gambas file and has no version id in it.

And I set gambas2.png in the gbr2.desktop file.

So the files should as follows.
/home/ron/.kde/share/mimelnk/application/x-gambas2.desktop
/home/ron/.kde/share/applnk/.hidden/gbr2.desktop
/home/ron/.config/gambas/gambas1.png
/home/ron/.config/gambas/gambas2.png

Change the name 'ron' to your user name.
Did work here direct without kbuildsycoca :)

Ron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gambas1.png
Type: image/png
Size: 6640 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060504/cf211b09/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gambas2.png
Type: image/png
Size: 6915 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060504/cf211b09/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbr2.desktop
Type: application/x-desktop
Size: 344 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060504/cf211b09/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-gambas2.desktop
Type: application/x-desktop
Size: 161 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060504/cf211b09/attachment-0001.bin>


More information about the User mailing list