How can I install the extension locally?

Asked by Amit Keret

Currently, the extension is installed globally into /usr/share/nautilus-python/extensions
This does not support backup of the extension.

I would like to install the extension to $HOME/.local/share/nautilus-python/extensions
Icons would be installed to $HOME/.local/share/.icons

I'm not very familiar with Python or install scripts, but looking briefly at folder-colors.py and README it looks like this may be quite an easy fix via setup.py's --previx switch?
Looks like most of the script can easily support this with os.getenv('HOME').

Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
Folder Color Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
costales (costales) said :
#1

Hi Amit,

I never thought on this point, but I just tried it and it worked (in my case with Nemo file browser). Just copy the file where you said.

The icons worked all the time in that path either, because it's the system who returns the current icons ;)

About a backup, folder-color doesn't keep any record about the folders, it's the system who keeps which icon has each folder in a standard way.

Best regards.

Can you help with this problem?

Provide an answer of your own, or ask Amit Keret for more information if necessary.

To post a message you must log in.