[Gambas-user] IDE Error

Bruce Steers bsteers4 at gmail.com
Tue Mar 7 16:50:47 CET 2023


On Tue, 7 Mar 2023 at 13:27, T Lee Davidson <t.lee.davidson at gmail.com>
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/"
>
>
> --
> Lee
>

a little research shows gnome-user-share will set the XDG_PUBLICSHARE_DIR
variable.
(and possibly remove it if uninstalled)

I guess it's not a guaranteed to exist value.

BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230307/18bbce01/attachment-0001.htm>


More information about the User mailing list