On Thu, Aug 16, 2012 at 12:05 AM, Ikem Krueger <[email protected]> wrote: >> 2012/8/15 PCMan <[email protected]>: > >> The old KDE way is to put the per-folder config file in a hidden file > >> I want to avoid this for pcmanfm. > > I think I found a better place to store them: > > Extended file attributes: > > http://en.wikipedia.org/wiki/Extended_file_attributes#Linux > http://www.freedesktop.org/wiki/CommonExtendedAttributes
No, it's not. I considered the possibility to use this long time ago. 1. It's only supported by a limited number of filesystems. 2. It does not work for non-local filesystems, such as smb, sftp, ... 3. It does not work for read-only folders. Though sounds atracting, it cannot be implemented with xattr. A possible way, however, is to store the info in xattr when it's supported, and put it in a db if the filesystem does not support it, but this makes things very complicated. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Pcmanfm-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pcmanfm-develop
