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

Post

Posted
Rating:
#1 (In Topic #1255)
Banned
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…

Code (gambas)

  1.   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
  2.    
  3.     $sSecretTool = System.Find("secret-tool")
  4.     If Not $sSecretTool Then Error.Raise("'secret-tool' is not found. Did you install it?")
  5.  

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

sudo apt install libsecret-tools

Now it remembers my password :)
Online now: No Back to the top
1 guest and 0 members have just viewed this.