Hello!

u-c...@aetey.se has written on Thursday,  7 November, at 14:23:
>Having in mind the goal of keeping Lxde small I would suggest
>considering a compact one without any redundant features.

    Well, we've completely lost point of discussion I've started. It is
not about implementation of data storage. It is about where to store data
about directory-related settings of pcmanfm. So far there are 3 variants:

1) the file '.directory' in the target folder;
2) the extended FS attributes of target folder;
3) the centralized storage somewhere inside homedir.

The centralized storage has few drawbacks:

1) it is application dependent - you cannot use setting made in pcmanfm
    even by pcmanfm-qt, no tell about other applications;
2) it is environment dependent (due to different paths for different
    environments) - settings made in LXDE are not known for LXDE-Qt;
3) settings are specific to the machine, you cannot share settings for
    the same folder over your office or whatever;
4) settings will be reset after folder is renamed;
5) cannot set individual settings for two identical USB sticks, one of
    which has videos and other has backup data, even if user strictly
    wants to have them shown differently;
6) centralized storage will slowly grow in size.

Yes, it has bright sides too:

1) it can be used for read-only folders as well;
2) it isn't OS dependent;
3) it does not create any files in target folder.

Do you think those drawbacks aren't important for our users?

Well, about dual-handle settings I would like then to use approaches (1)
and (3) together: if file .directory already exists then use it, if not
then use own settings storage to keep settings. The approach (2) is not
portable while (1) and (3) are, you know.

    With best regards.
    Andriy.

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to