Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

If I move the settins.xml (or any other file) from the .purple folder into another place and create a symlink to this file instead, it gets replaced by regular files after a restart of pidgin. I want to put some configuration files into a git repository and put symlinks to it. That worked on all other programs but pidgin seems to delete the symlinks.

cd .purple
mv settins.xml ../
ln -s ../settings.xml

ls -l settings.xml
settings.xml -> ../settings.xml

restart pidgin

ls -l settings.xml
settings.xml

Why is that happening and what can I do to prevent this behaviour?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Pidgin seems to save everytime settings to settings.xml and does it in the easiest and safe way: It writes/copies everything into a new temporary file and then rename it to settings.xml.

To stop this behaviour, you would need to modify libpurple (bundled with pidgin). The relevant code is probably in libpurple/util.c.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.