I have Ubuntu 22.04 and installed nemo
as file manager and also nemo-fileroller
5.2.0-2. In /usr/share/nemo/actions you can define extra actions. I have found two different actions for "extract to", and both seem to be working, but I want to set the "extract to" to a special folder /media/hd1/extracted
. I tried adding the path but it is not working, appreciate any help.
[Nemo Action]Active=trueName=Extract here NoSubComment=Extract here without creating a subfolderExec=bash -c 'file-roller --extract-to="$(dirname %F)" %F'Icon-Name=gnome-mime-application-x-compressSelection=sExtensions=zip;7z;ar;cbz;cpio;exe;iso;jar;tar;tar;7z;tar.Z;tar.bz2;tar.gz;tar.lz;tar.lzma;tar.xz;
and
[Nemo Action]Active=trueName=Extract to...Comment=Extract to...Exec=file-roller -f %FIcon-Name=gnome-mime-application-x-compress#Stock-Id=gtk-cdromSelection=anyExtensions=zip;7z;ar;cbz;cpio;exe;iso;jar;tar;tar;7z;tar.Z;tar.bz2;tar.gz;tar.lz;tar.lzma;tar.xz;apk;Quote=double