[solved] gambas farm does not remember password on gnome/mate/others

Questions and info about the Gambas IDE itself and not what you are making with it.
(not bug reports)
Post Reply
User avatar
BruceSteers
Posts: 2071
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

[solved] gambas farm does not remember password on gnome/mate/others

Post by BruceSteers »

I just solved my own problem by studying the source to gb.desktop as the IDE would not save my password when using the farm or when publishing a project to the farm.

So i thought the solution may help others.
(i could have found this out just by running the IDE from terminal and not studying the code but hey ho, live and learn eh :) )

I found this code...
  If Desktop.Is("GNOME") Or If Desktop.Is("LXDE") Or If Desktop.Is("MATE") Or If Desktop.Is("XFCE") Or If Desktop.Is("UNITY") Or If Desktop.Is("CYGWIN") Then
    
    $sSecretTool = System.Find("secret-tool")
    If Not $sSecretTool Then Error.Raise("'secret-tool' is not found. Did you install it?")


It seems a program called secret-tool needs to be installed for all those environments

on my Linux-mint21 MATE it wasn't working so i had to install libsecret-tools

Code: Select all

sudo apt install libsecret-tools
Now it remembers my password :)
If at first you don't succeed , try doing something differently.
BruceS
Post Reply