[Gambas-user] A little feature request

Bruce Steers bsteers4 at gmail.com
Fri Aug 20 10:28:00 CEST 2021


In all my programs i have to remove the %u (single file) %U (multiple
files) token from Exec lines.
I found arguments get passed as expected without it.


On Fri, 20 Aug 2021 at 07:34, Benoît Minisini <g4mba5 at gmail.com> wrote:

> 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?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210820/082c56d9/attachment.htm>


More information about the User mailing list