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

John Hupp lubuntu at prpcompany.com
Wed Jan 14 19:17:27 UTC 2015


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20150114/e0bb3969/attachment.html>


More information about the Lubuntu-users mailing list