8

I use Cinnamon on ArchLinux and Nemo is it's default file manager. I've tried 3 GUI file archivers (p7zip with WxGTK, peazip & file-roller), but none of them add a "compress option" in the context menu.

How can I add a "compress option" to Nemo's right click context menu?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
wenLiangcan
  • 155
  • 1
  • 2
  • 9

1 Answers1

7

custom nemo action

This ArchLinux wiki article titled: Nemo describes the steps required to create your own context menu item.

General steps

  1. Create a .nemo_action file. The file has to have this extension! Here's an example virus scanner .nemo_action file:

    clamscan.nemo_action:

    [Nemo Action]
    Name=Clam Scan
    Comment=Clam Scan
    
    Exec=gnome-terminal -x sh -c "clamscan -r %F | less"
    
    Icon-Name=bug-buddy
    
    Selection=Any
    
    Extensions=dir;exe;dll;zip;gz;7z;rar;
    
  2. Place the .nemo_action file in one of the following locations:

    • $HOME/.local/share/nemo/actions/
    • /usr/share/nemo/actions/

nemo fileroller

On that same wiki page there is also mention of a extension to Nemo called Nemo Fileroller. You might be able to install this extension instead of creating your own.

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164
slm
  • 363,520
  • 117
  • 767
  • 871