Nemo extensions development?

Chat about anything related to Linux Mint
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Locked
mourgos

Nemo extensions development?

Post 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!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: Nemo extensions development?

Post 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
Image
Locked

Return to “Chat about Linux Mint”