[Gambas-user] Strange second instance that never opens
Ron Onstenk
ronstk at ...239...
Thu Feb 7 22:23:48 CET 2008
On Thursday 07 February 2008 12:22, MaxVK wrote:
>
> >.....
> > Icon[en_GB]=sourcebank '<-----------------
> >
> >the icon should be in one of the KDE direrctories for this line
>
> Iv not manually created any files, Iv used the Menu item installed by the
> Gambas package (Which included the icon itself) and the Menu item that I
> created from within the menu editor (I chose the icon from the list, but
> that was it - I didn't specify any custom locations).
>
> >In both desktop files are two icons layered above each other??
> >Try without the country_lang designation
>
> Layered icons? I wouldn't even know how to do that, so unless Gambas or the
> Ubuntu menu editor did it I doubt thats the case. I also didnt specify any
> language designation - these are things that have been done by the menu
> editor or by the Gambas package.
>
> Max
In both desktop files you have to key/value pairs for an icon.
File1:
> Icon=/usr/share/pixmaps/sourcebank.png '<-----------------
> Icon[en_GB]=sourcebank '<-----------------
and
File2:
> Icon[en_GB]=sourcebank '<-----------------
> Icon[en_GB]=/usr/share/pixmaps/sourcebank.png
There should be normal only one icon=iconfile pair
and should unique in the section.
If the country/language is in use like [en_GB] they
should also unique in the section.
In file2 you have 2 times Icon[en_GB]=....
For both files the 2 icon entries point use a different
path for the icons.
So in both files the key/value must be normal
File1:
> Icon=/usr/share/pixmaps/sourcebank.png
> Icon[en_GB]=/usr/share/pixmaps/sourcebank.png
or
> Icon=sourcebank
> Icon[en_GB]=sourcebank
File2:
> Icon[en_GB]=/usr/share/pixmaps/sourcebank.png
> Icon[en_GB]=/usr/share/pixmaps/sourcebank.png <--- this is double, not need to set
or
> Icon[en_GB]=sourcebank
> Icon[en_GB]=sourcebank <--- this is double, not need to set
Hope it is more clear now :=)
Ron
More information about the User
mailing list