Base Directory Specification and Psi+

Ivan Romanov drizt at land.ru
Sun Jun 26 15:03:29 PDT 2011


Hello. I developer of Psi+ http://code.google.com/p/psi-dev/. We want to 
comply Psi+ with base directory specification. I trying to understand 
where and which file must be placed.
Before of all user files was holds in ~/.psi directory. Now I made patch 
which use 3 paths:
$ find ~/.config/Psi+ -type f
/home/taurus/.config/Psi+/psirc
/home/taurus/.config/Psi+/profiles/default/accounts.xml
/home/taurus/.config/Psi+/profiles/default/accounts.xml.backup
/home/taurus/.config/Psi+/profiles/default/options.xml.backup
/home/taurus/.config/Psi+/profiles/default/mucskipautojoin.txt
/home/taurus/.config/Psi+/profiles/default/options.xml

$ find ~/.local/share/Psi+ -type f
/home/taurus/.local/share/Psi+/iconsets/roster/crystal-service.jisp
/home/taurus/.local/share/Psi+/iconsets/roster/crystal-roster.jisp
/home/taurus/.local/share/Psi+/iconsets/roster/crystal-icq.jisp
/home/taurus/.local/share/Psi+/iconsets/system/blacksys.jisp
/home/taurus/.local/share/Psi+/iconsets/activities/rederick-activities-20.jisp
/home/taurus/.local/share/Psi+/iconsets/emoticons/kolobok_qip_dark.jisp
/home/taurus/.local/share/Psi+/iconsets/moods/silk.jisp
/home/taurus/.local/share/Psi+/iconsets/moods/Nova_UM.jisp
/home/taurus/.local/share/Psi+/iconsets/clients/fingerprint.jisp
/home/taurus/.local/share/Psi+/iconsets/clients/fingerprint-22.jisp
/home/taurus/.local/share/Psi+/iconsets/affiliations/adium-affiliations.jisp
/home/taurus/.local/share/Psi+/iconsets/affiliations/medals-affiliations.jisp
/home/taurus/.local/share/Psi+/profiles/default/history/martinp23%21irc.freenode.net_at_irc.jabnet.org.history
...
/home/taurus/.local/share/Psi+/profiles/default/events-%7bc55c645c%2d626f%2d4a31%2da91f%2df642ee3196b7%7d.xml.backup
/home/taurus/.local/share/Psi+/skins/backupSkin_2011-05-28_22-51-45.skn
/home/taurus/.local/share/Psi+/skins/DEFAULT_.skn

$ find ~/.cache/Psi+ -type f
/home/taurus/.cache/Psi+/tune
/home/taurus/.cache/Psi+/caps.xml
/home/taurus/.cache/Psi+/avatars/f6700e38e05e88276e0ff59b0de06b7a9c09a4b2
...
/home/taurus/.cache/Psi+/profiles/default/vcard/nic2314069_at_jabber.ru.xml
...

I wonder is wrong.  In my mind any permanent data which produced by app 
would stored in ~/.config/psi-plus/ dir. ~/.local/ dir would used like 
as /usr/ dir. And ~/.cache/psi-plus would be used for any temporary data 
of app. This mean that I must move history and events from 
~/.local/share/Psi+ to ~/.config/psi-plus. Also I must use 
~/.local/lib/psi-plus/plugins/ and ~/.local/lib64/psi-plus/plugins/ for 
plugins.
So? Where and which user data files of Psi+ should stores?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20110627/22fa8d43/attachment.htm>


More information about the xdg mailing list