Nemo File Manager Context Menu Extract here

5
(1)

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.

Adding the context menu action for compress 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]
Active=true
Name=Compress...
Comment=compress %N
Exec=file-roller -d %F
Icon-Name=gnome-mime-application-x-compress
Selection=Any
Extensions=any;

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

$ xed ~/.local/share/nemo/actions/extracthere.nemo_action
[Nemo Action]
Active=true
Name=Extract here
Comment=Extract here
Exec=file-roller -h %F
Icon-Name=gnome-mime-application-x-compress
Selection=Any
Extensions=zip;7z;ar;cbz;cpio;exe;iso;jar;tar;tar;7z;tar.Z;tar.bz2;tar.gz;tar.lz;tar.lzma;tar.xz;
Nemo context action menu (right-click)

This is 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 actions

 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 / 5. Vote count: 1

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

Leave a Reply

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