How to make Show Documents/Trash the global Desktop default for pcmanfm?

John Hupp lubuntu at prpcompany.com
Thu Jan 15 15:34:09 UTC 2015


Ah, interesting thought then: Maybe it doesn't build 
desktop-items-0.conf from any files installed by pcmanfm or 
lubuntu-default-settings, and the default settings are used (not copied 
or otherwise propagated into the user profile) if desktop-items-0.conf 
does not exist.

On 1/15/2015 10:07 AM, Andre Rodovalho wrote:
> > Take into consideration that those files are used only if user's 
> config file is missing.
>
> For testing, maybe you can remove the user's config file...
>
>
>
> 2015-01-14 17:17 GMT-02:00 John Hupp <lubuntu at prpcompany.com 
> <mailto:lubuntu at prpcompany.com>>:
>
>     Hi, all.
>
>     In my account I did Menu: Preferences: Desktop Preferences:
>     Desktop Icons: Show Documents and Trash.
>
>     Then I observed in ~/.config/pcmanfm/lubuntu/desktop-items-0.conf,
>     in the sole section named [*], the lines:
>
>     show_documents=1
>     show_trash=1
>
>     I want to make those settings the global default for new users.
>
>     Searching for the default sources from which desktop-items-0.conf
>     is created, I found these candidates in the Installed Files of the
>     lubuntu-default-settings package:
>
>     /etc/xdg/lubuntu/libfm/libfm.conf
>     /etc/xdg/pcmanfm/lubuntu/pcmanfm.conf
>     /usr/share/lubuntu/pcmanfm/main.lubuntu
>
>     I tried each of those, adding the lines to the [desktop] section,
>     but none of those tests yielded the desired results.
>
>     I'm sure /etc/skel would be a way to do this, but as I've been
>     learning about global configurations I've been using the
>     as-designed mechanisms whenever possible.
>
>     http://wiki.lxde.org/en/LXDE:PCManFM_build_and_setup_guide says:
>
>         You can customize the default configuration of libfm and
>         pcmanfm. The default config files are installed to
>         /etc/xdg/libfm and /etc/xdg/pcmanfm. You may do your
>         customization to /etc/xdg/libfm/libfm.conf and
>         /etc/xdg/pcmanfm/pcmanfm.conf. If you don't know what options
>         are supported, use ~/.config/pcmanfm/pcmanfm.conf as a
>         template. Take into consideration that those files are used
>         only if user's config file is missing.
>
>     Does anyone know how to do this?
>
>     --
>     Lubuntu-users mailing list
>     Lubuntu-users at lists.ubuntu.com <mailto:Lubuntu-users at lists.ubuntu.com>
>     Modify settings or unsubscribe at:
>     https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20150115/8b574cc4/attachment.html>


More information about the Lubuntu-users mailing list