[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gambas3.desktop install idea to detect installed toolkits...


forgot to attach the script...

PS. running the script will remove and re-install the installed desktop
file (in ~/.local/share/applications/)
comment out the last 2 lines to make a /tmp/gambas3.desktop for your
examination but not install it.

#echo "$ENTRY$ACTIONS"
echo "$ENTRY$ACTIONS" >/tmp/gambas3.desktop
#xdg-desktop-menu uninstall /tmp/gambas3.desktop # remove old before
installing new.
#xdg-desktop-menu install --novendor /tmp/gambas3.desktop

BruceS

On Sun, 2 Nov 2025 at 11:10, Bruce Steers <bsteers4@xxxxxxxxx> wrote:

> I've made a little script (attached) that will create a gambas3.desktop
> icon and set only the available toolkits not all of them.
>
> I added the script the the /app/desktop folder and edited makefile.am
> (line 35) so instead of installing the existing gambas3.desktop icon it
> installs the newly created one.
>
> caveats.
> is uses bash syntax not sh so bash must be installed.
> it has to be run after the install has installed gbx3 and all toolkit
> components
>
> See the commit here
> https://gitlab.com/bsteers4/gambas/-/commit/4b838ef897fcffaf75d5fc1da32ccb949794a2f2
>
> Any thoughts Benoit?
>
> Respects
> BruceS
>

Attachment: make.gambas3desktop
Description: Binary data


Follow-Ups:
Re: gambas3.desktop install idea to detect installed toolkits...Bruce Steers <bsteers4@xxxxxxxxx>
References:
gambas3.desktop install idea to detect installed toolkits...Bruce Steers <bsteers4@xxxxxxxxx>