[Gambas-user] Speaking of using common linux tools

Bruce Steers bsteers4 at gmail.com
Sun Dec 11 12:39:58 CET 2022


On Sun, 11 Dec 2022, 11:37 BB, <adamnt42 at gmail.com> wrote:

> I think perhaps that I was overthinking again and looking for a
> Lamborghini when a Morris 850 would have done.
>
> However, the original (unexplained) question remains. Is there a
> reasonably "common" desktop scripter/requestor/pasta/anything that people
> use?
>
> b
>
> xdg utils I think makes desktop files.
Check out the xdg commands and their --help

Respects
BruceS




> On 11/12/22 9:53 pm, Bruce Steers wrote:
>
> Also gb.desktop DesktopFile has the NoDisplay property if you want to do
> it with gambas.
> http://gambaswiki.org/wiki/comp/gb.desktop/desktopfile
>
> Dim df As New DesktopFile(sPath)
> df.NoDisplay = True
> df.Save()
>
>
> BruceS
>
> On Sun, 11 Dec 2022, 11:10 Fabien Bodard, <gambas.fr at gmail.com> wrote:
>
>> so what do really want to achieve ... I don't understand.
>>
>> If I want to hide an icon it is what I use ... because it's the common
>> linux distrib way based on the freedesktop specifications.
>>
>> By the way I know zenity and I was using it before we have been able to
>> access to dbus directly and before dbus was so commonly used.
>>
>> I add to this mail a class that is able to read the .desktop files(but
>> not write).
>>
>> Le dim. 11 déc. 2022 à 11:17, Bruce Steers <bsteers4 at gmail.com> a écrit :
>>
>>> zenity is easy , Zenity Manual
>>> <https://help.gnome.org/users/zenity/stable/index.html.en>
>>> I wouldn't call it a scripter though, it's just a requester GUI tiool
>>>
>>> On Sun, 11 Dec 2022 at 07:25, BB <adamnt42 at gmail.com> wrote:
>>>
>>>> Has anyone got an idea of using "common" linux screen "scripters" like
>>>> zenity etc.
>>>>
>>>> I have always shied away from these as they look sooo distro dependant.
>>>> However suddenly an obtuse use case has arisen (where I want to
>>>> temporarily de-activate but not delete a .desktop icon).
>>>>
>>>> tia
>>>>
>>>> bruce
>>>>
>>>>
>>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>>
>>>
>>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>>
>>
>>
>> --
>> Fabien Bodard
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221211/ebf94668/attachment.htm>


More information about the User mailing list