Register ~/.local/lib/nautilus/extensions-3.0 as a possible extensions path
Would it be possible to add
~/.local/lib/nautilus/extensions-3.0 to the possible paths where extensions are located?
I guess it would be needed to replace this line here
with something like
load_module_dir (NAUTILUS_EXTENSIONDIR); load_module_dir ("~/.local/lib/nautilus/extensions-3.0");
But I haven't analyzed the code enough. Also a little check would be needed in order to avoid extension doublets – in this case priority should go to the user's local directory.
There are situations where it is more convenient to just copy and paste a file in the home directory of a user rather than installing a package that affects the entire system.
~/.local/lib/nautilus/extensions-3.0 as a possible extensions path
Benefits of the solution
Having extension packages freely installable by the user without root's permission or the necessity of a package manager
None that I can think of