cd ~/.local/share/nemo/actions/
nano 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;
nano 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
#Stock-Id=gtk-cdrom
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;
You’re done. If you still don’t have Compress/Extract here options in Nemo
, just restart or log out/in.
source: askubuntu.com