[Gambas-user] Strange second instance that never opens

Ron Onstenk ronstk at ...239...
Wed Feb 6 19:43:07 CET 2008


On Wednesday 06 February 2008 17:58, MaxVK wrote:
> Gambas Installed:
> [Desktop Entry]
> Version=1.0
> Encoding=UTF-8
> Name=Source Bank
> Comment=Gambas Source bank.
> Exec=/usr/bin/sourcebank.gambas
> Icon=/usr/share/pixmaps/sourcebank.png    '<-----------------

Here the icon is at user fixed place

> Terminal=false
> Type=Application
> StartupNotify=true
> Categories=
> Name[en_GB]=SourceBank(0)
> Comment[en_GB]=Gambas Source bank.
> Icon[en_GB]=sourcebank    '<-----------------

the icon should be in one of the KDE direrctories for this line

/home/MaxVK/.local/share/icons
or
/usr/share/icons/default.kde/16x16/apps


> 
> 
> Home Made:
> [Desktop Entry]
> Version=1.0
> Encoding=UTF-8
> Name=KBANK
> Type=Application
> Terminal=false
> Icon[en_GB]=/usr/share/pixmaps/sourcebank.png

Here the icon is at user fixed place

> Name[en_GB]=KBANK
> Exec=/usr/bin/sourcebank.gambas
> Comment[en_GB]=Gambas Source bank.
> Comment=Gambas Source bank.
> Icon=/usr/share/pixmaps/sourcebank.png

the icon should be in one of the KDE direrctories for this line

> GenericName[en_GB]=
> 
Here the icon is at user fixed place


In both desktop files are two icons layered above each other??
Try without the country_lang designation



With:
kde-config --help

Options:
  --expandvars              expand ${prefix} and ${exec_prefix} in output
  --prefix                  Compiled in prefix for KDE libraries
  --exec-prefix             Compiled in exec_prefix for KDE libraries
  --libsuffix               Compiled in library path suffix
  --localprefix             Prefix in $HOME used to write files
  --version                 Compiled in version string for KDE libraries
  --types                   Available KDE resource types
  --path type               Search path for resource type
  --userpath type           User path: desktop|autostart|trash|document
  --install type            Prefix to install resource files to

you can find the actual place paths.
Look at th KDE  site for declarations of type.
On the freedesktop.org site is a good help how this file should be.


Ron




More information about the User mailing list