Nemo Action Context Menu Extract Here


Add Compress and Extract here Action to Nemo File Manager as Context Menu

Nemo is the amazing file manager of Cinnamon’s desktop environment. It’s a further development of Gnome’s Nautilus file manager with easy customization options. Adding a context menu to unpack and compress folders and files is a simple task.

Add action compress and extract to Nemo

Adding the context menu action for compress and extract in Nemo will show in this tutorial. We open a terminal and copy & paste the following content into the path see below and save it as file compress.nemo_action

$ xed ~/.local/share/nemo/actions/compress.nemo_action
[Nemo Action]
Comment=compress %N
Exec=file-roller -d %F

As well as the entry for extract archives action into file extracthere.nemo_action

$ xed ~/.local/share/nemo/actions/extracthere.nemo_action
[Nemo Action]
Name=Extract here
Comment=Extract here
Exec=file-roller -h %F

Nemo shows compress and extract here

Then a right click on an archive file shows the context menu with compress and extract here.

Nemo Action Context Menu Extract Here
Nemo context action menu (right-click)

Action context compress extract for any user

This enable the action context menu compress and extract to Nemo for the current user only, if you prefer the ability for any user, then move the file compress.nemo_action and extracthere.nemo_action into /usr/share/nemo/actions, you need root privileges to can do it.

$ sudo mv ~/.local/share/nemo/actions/*.nemo_action /usr/share/nemo/actions
Nemo File Manager Action Context Menu Extract Here
Nemo File Manager

 The common compression tools are preinstalled on most distos. 7-Zip is another all in one compression tool and very popular by Sysops, this can be installed with the following command.

$ sudo yum install -y p7zip p7zip-plugins

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

2 thoughts on “Nemo Action Context Menu Extract Here”

Leave a Reply

Your email address will not be published. Required fields are marked *