[Lubuntu] Permanently delete user Public folders?

Ioannis Vranos ioannis.vranos at gmail.com
Tue Feb 26 16:20:13 UTC 2013


On Tue, Feb 26, 2013 at 12:08 AM, John Hupp <lubuntu at prpcompany.com> wrote:
> On 2/23/2013 4:58 PM, P Bielecki wrote:
>
> Hi John,
>
> I think the mentioned dirs are created at user login by
> /usr/bin/xdg-user-dirs-update
> executed from /etc/X11/Xsession.d/60xdg-user-dirs-update
>
> Have a look in /etc/xdg/user-dirs.conf and try setting
> XDG_PUBLICSHARE_DIR=""
> or perhaps
> enabled=False
>
> or changing content of the following for each individual user:
> ~/.config/user-dirs.dirs
>
> I hope this helps.
>
> cheers!
>
> Thanks for the very helpful clues (and to Chris Green for confirming part 2
> of that).
>
> Since I was more interested in a global application, I looked at
> /etc/xdg/user-dirs.conf.
>
> The portion of interest there reads:
>
> # This controls the behaviour of xdg-user-dirs-update which is run on user
> login
> # You can also have per-user config in ~/.config/user-dirs.conf, or specify
> # the XDG_CONFIG_HOME and/or XDG_CONFIG_DIRS to override this
> #
>
> enabled=True
>
> I don't know what "or specify the XDG_CONFIG_HOME and/or XDG_CONFIG_DIRS to
> override this" means -- where, for instance, those values should be
> specified.
>
> But it seemed to me that setting enabled=False here might cause
> xdg-user-dirs-update not to run.  And again, I don't know what the
> consequences of that would be.
>
> There didn't seem to be support for entering XDG_PUBLICSHARE_DIR="" here in
> this file.
>
> But sitting right there also is /etc/xdg/user-dirs.defaults.  And there,
> changing PUBLICSHARE=Public to PUBLICSHARE= gave me what I was looking for.
>
> Oddly enough, event with key search words from your post, I could not find
> official documentation of this anywhere at wiki.ubuntu.com or
> help.ubuntu.com.  There is https://wiki.ubuntu.com/TIPs_of_use_ubuntu which
> looks relevant, but there is something wrong with the page's coding and its
> rendering makes it nearly useless.

Since Public directories are empty, and thus they occupy almost no
space at all, is it really necessary to delete them?


-- 
Ioannis Vranos

http://www.cppsoftware.net



More information about the Lubuntu-users mailing list