14.04 - Missing nemo right-click

Si le menu contextuel «compresser» disparaît de Nemo:

Okay, I've tried lots of "solutions" but none of them work, so I went and dug out how things work, and here's how I did it on Ubuntu 14.04 and Nemo 2.2.2...

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 file

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

Save the file and exit (CTRL+X, and just Enter)
You're done. If you still don't have Compress/Extract here options in Nemo, just restart or log out/in.


✍ Écrire un commentaire

Quelle est la première lettre du mot saxl ?