[Gambas-user] IDE Error

T Lee Davidson t.lee.davidson at gmail.com
Tue Mar 7 18:14:19 CET 2023


On 3/7/23 09:09, Bruce Steers wrote:
> On Tue, 7 Mar 2023 at 13:50, Denis Crowther <denisc at exemail.com.au <mailto:denisc at exemail.com.au>> wrote:
>     On 3/8/23 00:26, T Lee Davidson wrote:
>      > On 3/7/23 06:09, Bruce Steers wrote:
>      >> The error occurs on this line...
>      >> $cDesktopDirCache[Desktop.GetDirectory("PUBLICSHARE")] = "folder-share"
>      >>
>      >> Check your ~/.config/user-dirs.dirs file has something like this line
>      >> in it.,..
>      >> XDG_PUBLICSHARE_DIR="$HOME/Public"
>      >>
>      >> $ cat ~/.config/user-dirs.dirs
>      >>
>      >>
>      >> Mine does and i get no errors.
>      >>
>      >> BruceS
>      >
>      > I wonder if it is distro-specific.
>      >
>      > No problem on openSUSE; the line was already there:
>      > user at linux-desktop:~> grep -i "publicshare" ~/.config/user-dirs.dirs
>      > XDG_PUBLICSHARE_DIR="$HOME/"
>      >
>      >
> 
>     BruceS said and I used "$HOME/Public" not "$HOME/", typo?.
> 
>     Also I compiled from source, not a distro.
> 
>     -- 
>     Regards
>     Denis
> 
> 
> I think he means the XDG_PUBLICSHARE_DIR setting not being there is distro specific.

That is correct. I believe the content of user-dirs.dirs and user-dirs.locale are set by the specific distro, not Gambas.


-- 
Lee



More information about the User mailing list