[Gambas-user] A little feature request

Benoît Minisini g4mba5 at gmail.com
Fri Aug 20 08:33:46 CEST 2021


Le 10/08/2021 à 14:25, martin p cristia a écrit :
> When the packager maked the installation .deb, the installer creates a 
> .desktop file in /usr/share/applications. If our program can be used for 
> opening some file types with rigth-click "Open with.." in the file 
> manager we need a %u added in the "Exec=" entry:
> 
> [Desktop Entry]
> Version=1.0
> Name=GambasAPP
> Comment=My great Gambas app
> Exec=GambasAPP %u  <----------------------------THIS!
> Icon=gambasapp
> Terminal=false
> Type=Application
> StartupNotify=true
> Categories=Engineering;Science;
> 
> MimeType=image/vnd.dwg;image/vnd.dxf
> 
> 
> Of course ir can be manually added, but having it done by the packager 
> would be great. Thanks in advance.
> 

You can override the "Exec=" line by adding an "Exec=GambasAPP %u" line 
to the "additional configuration" field of the "Desktop configuration 
file" step of the packager wizard.

Did you mean that in the last sentence of your mail?

-- 
Benoît Minisini


More information about the User mailing list