Logo Microtux

MicroTux

Missing nemo right-click “extract/compress files”

19-10-2019

  • Open up terminal and type cd ~/.local/share/nemo/actions/
  • Create a new file/action for Compress by typing nano compress.nemo_action
  • Paste this contents into newly created file

[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;

  • Save the file and exit (CTRL+X, and just Enter)
  • Create a new file/action for “Extract here” by typing nano extracthere.nemo_action
  • Paste this contents into newly created fileSave the file and exit (CTRL+X, and just Enter)

[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