Page 1 of 1

Nemo extensions development?

Posted: Wed Dec 12, 2012 2:06 pm
by mourgos
Hi all,

I'm not sure if that's the appropriate forum for coding questions, but it seems the most relevant one to my issue.

So here it is: I have some command line tools that I've developed, typically to process certain types of files. As a toy expample, consider changing the encoding of a text file to utf-8. I want to create context menu items within nemo to simplify the whole process (e.g. right-click on a .txt file would show an option "Encode to utf-8"). So nothing fancy, just a menu option that calls a command line tool with the name of the clicked file as an argument.

My problem is that I do not where to start. I did spot a libnemo-extension-dev package in the repositories but I can't find any documentation for it.
Nautilus-actions seems to be the ideal solution for what I'm looking for, but I don't know if (and more importantly how) to make it work for nemo. Similarly, the nautilus-python wrapper would be an easy enough solution, but once again I don't know if and how it can be made to work with nemo.

Do you guys have any suggestions on where to look? Any pointers on documentation for nemo extensions (or how to use the nautilus tools on nemo) would be really helpful - I'm at a complete loss here.

Cheers!

Re: Nemo extensions development?

Posted: Wed Dec 12, 2012 4:26 pm
by xenopeek
Moving this topic here.

I'm not sure, but I think you should take a look here for examples: https://github.com/linuxmint/nemo-extensions