I have a Gnome applet written in Python. In order to save configuration data/settings, it creates a file ~/.appname
.
However, this prevents multiple instances of the applet from being added to the panel because each cannot have its own settings.
How can I store the settings in a way that allows each instance to have its own unique settings?
Update: I specifically want to know how to store settings per instance.