Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-07-10 03:17:14

inukaze
Member
Registered: 2014-07-31
Posts: 32

Slackware64 14.2 - Xfce 4.12 Custom Action - Peazip 8.0 Extract Here

Hi there, i had make an own restructered PeaZip for use under USB Live distro, but i had a problem with my custom script for Peazip.

The First my Custom Script for launch PeaZip (Spanish Text, because that is my native language) :

#!/usr/bin/env bash

# NOTAS de Inukaze :
# zstd		: Compilados manualmente en Slackware(64) y reemplazados los que vienen en el paquete del sitio :
# unrar	: Descargado un binario ejecutable precompilado desde rarlab de rar6.
###
######################################################################
#	Xfce : Puedes crear acciones personalizadas para usar PeaZip.
#
# Peazip - Abrir
#							Pestaña "Basico" :
#							Nombre : Peazip - Abrir
#							Descripción : Abre este archivo con Peazip
#							Comando : peazip %f
#
#							Pestaña "Condiciones de aparición"
#							Patron de Archivo : *.ACE;*.ARC;*.APK;*.BZ;*.BZ2;*.BZIP2;*.CAB;*.CB7;*.CBT;*.CPIO;*.DEB;*.DMG;*.EAR;*.EXE;*.GZ;*.GZIP;*.HFS;*.LHA;*.LIT;*.LZH;*.LZMA;*.PAK;*.PAQ6;*.PAQ7;*.PAQ8;*.PAQ8F;*.PEA;*.R00;*.R01;*.R02;*.R03;*.R30;*.RAR;*.RPM;*.SMZIP;*.TAR;*.TAZ;*.TBZ;*.TBZ2;*.TGZ;*.TXZ;*.TZ;*.U3P;*.UPX;*.WIM;*.XZ;*.Z01;*.ZIP;*.ZIPX;*.001;*.002;*.7Z;*.003;*.004;*.005;*.006;*.007;*.008;*.009;*.010;*.7-ZIP;*.LPAQ8;*.LZMA86;*.MSLZ;*.PAQ8JD;*.PAQ8L;*.PAQ8O;*.PART1.RAR;*.PART2.RAR;*.R04;*.R05;*.R06;*.R07;*.R08;*.R09;*.R10;*.R11;*.R32;*.R33;*.R34;*.R41;*.R47;*.SPLIT;*.WRC;*.ZPAQ;*.ace;*.arc;*.apk;*.bz;*.bz2;*.bzip2;*.cab;*.cb7;*.cbt;*.cpio;*.deb;*.dmg;*.ear;*.exe;*.gz;*.gzip;*.hfs;*.lha;*.lit;*.lzh;*.lzma;*.pak;*.paq6;*.paq7;*.paq8;*.paq8f;*.pea;*.r00;*.r01;*.r02;*.r03;*.r30;*.rar;*.rpm;*.smzip;*.tar;*.taz;*.tbz;*.tbz2;*.tgz;*.txz;*.tz;*.u3p;*.upx;*.wim;*.xz;*.z01;*.zip;*.zipx;*.001;*.002;*.7z;*.003;*.004;*.005;*.006;*.007;*.008;*.009;*.010;*.7-zip;*.lpaq8;*.lzma86;*.mslz;*.paq8jd;*.paq8l;*.paq8o;*.part1.rar;*.part2.rar;*.r04;*.r05;*.r06;*.r07;*.r08;*.r09;*.r10;*.r11;*.r32;*.r33;*.r34;*.r41;*.r47;*.split;*.wrc;*.zpaq;*.zstd
#							Activa "Otros Archivos"
#
# Peazip - Crear Archivador
#							Pestaña "Basico" :
#							Nombre : PeaZip - Crear archivador
#							Descripción : Crea un archivo comprimido usando PeaZip
#							Comando : peazip -add2archive %F
#
#							Pestaña "Condiciones de aparición"
#							Patron de Archivo : *
#							Activa Todas las casillas
#
# Peazip - Extraer Aqui
#							Pestaña "Basico" :
#							Nombre : PeaZip - Extraer Aquí
#							Descripción : Extrae el contenido en esta misma ruta
#							Comando : peazip -ext2folder %f
#
#							Pestaña "Condiciones de aparición"
#							Patron de Archivo : *.ACE;*.ARC;*.APK;*.BZ;*.BZ2;*.BZIP2;*.CAB;*.CB7;*.CBT;*.CPIO;*.DEB;*.DMG;*.EAR;*.EXE;*.GZ;*.GZIP;*.HFS;*.LHA;*.LIT;*.LZH;*.LZMA;*.PAK;*.PAQ6;*.PAQ7;*.PAQ8;*.PAQ8F;*.PEA;*.R00;*.R01;*.R02;*.R03;*.R30;*.RAR;*.RPM;*.SMZIP;*.TAR;*.TAZ;*.TBZ;*.TBZ2;*.TGZ;*.TXZ;*.TZ;*.U3P;*.UPX;*.WIM;*.XZ;*.Z01;*.ZIP;*.ZIPX;*.001;*.002;*.7Z;*.003;*.004;*.005;*.006;*.007;*.008;*.009;*.010;*.7-ZIP;*.LPAQ8;*.LZMA86;*.MSLZ;*.PAQ8JD;*.PAQ8L;*.PAQ8O;*.PART1.RAR;*.PART2.RAR;*.R04;*.R05;*.R06;*.R07;*.R08;*.R09;*.R10;*.R11;*.R32;*.R33;*.R34;*.R41;*.R47;*.SPLIT;*.WRC;*.ZPAQ;*.ace;*.arc;*.apk;*.bz;*.bz2;*.bzip2;*.cab;*.cb7;*.cbt;*.cpio;*.deb;*.dmg;*.ear;*.exe;*.gz;*.gzip;*.hfs;*.lha;*.lit;*.lzh;*.lzma;*.pak;*.paq6;*.paq7;*.paq8;*.paq8f;*.pea;*.r00;*.r01;*.r02;*.r03;*.r30;*.rar;*.rpm;*.smzip;*.tar;*.taz;*.tbz;*.tbz2;*.tgz;*.txz;*.tz;*.u3p;*.upx;*.wim;*.xz;*.z01;*.zip;*.zipx;*.001;*.002;*.7z;*.003;*.004;*.005;*.006;*.007;*.008;*.009;*.010;*.7-zip;*.lpaq8;*.lzma86;*.mslz;*.paq8jd;*.paq8l;*.paq8o;*.part1.rar;*.part2.rar;*.r04;*.r05;*.r06;*.r07;*.r08;*.r09;*.r10;*.r11;*.r32;*.r33;*.r34;*.r41;*.r47;*.split;*.wrc;*.zpaq;*.zstd
#							Activa "Otros Archivos"
#
# Peazip - Extraer en , , ,
#							Pestaña "Basico" :
#							Nombre : PeaZip - Extraer En . . .
#							Descripción : Extrae el contenido en la carpeta seleccionada
#							Comando : peazip -ext2tofolder %f
#
#							Pestaña "Condiciones de aparición"
#							Patron de Archivo : *.ACE;*.ARC;*.APK;*.BZ;*.BZ2;*.BZIP2;*.CAB;*.CB7;*.CBT;*.CPIO;*.DEB;*.DMG;*.EAR;*.EXE;*.GZ;*.GZIP;*.HFS;*.LHA;*.LIT;*.LZH;*.LZMA;*.PAK;*.PAQ6;*.PAQ7;*.PAQ8;*.PAQ8F;*.PEA;*.R00;*.R01;*.R02;*.R03;*.R30;*.RAR;*.RPM;*.SMZIP;*.TAR;*.TAZ;*.TBZ;*.TBZ2;*.TGZ;*.TXZ;*.TZ;*.U3P;*.UPX;*.WIM;*.XZ;*.Z01;*.ZIP;*.ZIPX;*.001;*.002;*.7Z;*.003;*.004;*.005;*.006;*.007;*.008;*.009;*.010;*.7-ZIP;*.LPAQ8;*.LZMA86;*.MSLZ;*.PAQ8JD;*.PAQ8L;*.PAQ8O;*.PART1.RAR;*.PART2.RAR;*.R04;*.R05;*.R06;*.R07;*.R08;*.R09;*.R10;*.R11;*.R32;*.R33;*.R34;*.R41;*.R47;*.SPLIT;*.WRC;*.ZPAQ;*.ace;*.arc;*.apk;*.bz;*.bz2;*.bzip2;*.cab;*.cb7;*.cbt;*.cpio;*.deb;*.dmg;*.ear;*.exe;*.gz;*.gzip;*.hfs;*.lha;*.lit;*.lzh;*.lzma;*.pak;*.paq6;*.paq7;*.paq8;*.paq8f;*.pea;*.r00;*.r01;*.r02;*.r03;*.r30;*.rar;*.rpm;*.smzip;*.tar;*.taz;*.tbz;*.tbz2;*.tgz;*.txz;*.tz;*.u3p;*.upx;*.wim;*.xz;*.z01;*.zip;*.zipx;*.001;*.002;*.7z;*.003;*.004;*.005;*.006;*.007;*.008;*.009;*.010;*.7-zip;*.lpaq8;*.lzma86;*.mslz;*.paq8jd;*.paq8l;*.paq8o;*.part1.rar;*.part2.rar;*.r04;*.r05;*.r06;*.r07;*.r08;*.r09;*.r10;*.r11;*.r32;*.r33;*.r34;*.r41;*.r47;*.split;*.wrc;*.zpaq;*.zstd
#							Activa "Otros Archivos"
######################################################################

echo '
Autor ----------------> Inukaze ( Venezuela )
Sitio ----------------> https://goo.gl/ij6WqW
Correo-E -------------> bloginukaze@gmail.com
Licencia -------------> GPL 2

******* Inicio : Acerca de este Guión ********

  Yo intento escribir guiones compatibles con
   Sistemas operativos Unix & POSIX , y otros
   Sistemas operativos que soporten bash

  Este archivo es un guion sencillo para
  Iniciar "PeaZip"
  
  [Gestor de Archivos Comprimidos]

******** Fin : Acerca de este Guión **********'
sleep 3

#Determinar en que directorio estoy :
GUION=$(readlink -f "$0")
RUTA=$(dirname "$GUION")
gvfs-set-attribute -t string "$RUTA" metadata::custom-icon file://"$RUTA/FreeDesktop_integration/peazip.png"

# Obtener la Arquitectura
Arquitectura=$(uname -m)
case "$Arquitectura" in
	x86)			Arquitectura="32bits"																	;;
	i?86)			Arquitectura="32bits"																	;;
	amd64)		Arquitectura="64bits"																	;;
	x86_64)		Arquitectura="64bits"																	;;
	armhf)		Arquitectura="armhf"																	;;
	* ) echo    "Tu Arquitectura '$Arquitectura' -> NO ESTA SOPORTADA."		;;
esac

# Entrar en este directorio
cd "$(dirname "$(realpath "$0")")" || exit

#Desenlazar Simbolicamente Directorios/Archivos :
rm -rf	"$PWD/.32bits/res/icons"
rm -rf	"$PWD/.32bits/res/lang"
rm -rf	"$PWD/.32bits/res/presets"
rm -rf	"$PWD/.32bits/res/themes"
rm -rf	"$PWD/.32bits/res/pm"
rm -rf	"$PWD/.32bits/res/rnd"
rm -rf	"$PWD/.32bits/res/altconf.txt"
rm -rf	"$PWD/.32bits/res/bookmarks.txt"
rm -rf	"$PWD/.32bits/res/conf.txt"
rm -rf	"$PWD/.32bits/res/conf-lastgood.txt"
rm -rf	"$PWD/.64bits/res/icons"
rm -rf	"$PWD/.64bits/res/lang"
rm -rf	"$PWD/.64bits/res/presets"
rm -rf	"$PWD/.64bits/res/themes"
rm -rf	"$PWD/.64bits/res/pm"
rm -rf	"$PWD/.64bits/res/rnd"
rm -rf	"$PWD/.64bits/res/altconf.txt"
rm -rf	"$PWD/.64bits/res/bookmarks.txt"
rm -rf	"$PWD/.64bits/res/conf.txt"
rm -rf	"$PWD/.64bits/res/conf-lastgood.txt"
rm -rf	"$PWD/.armhf/res/icons"
rm -rf	"$PWD/.armhf/res/lang"
rm -rf	"$PWD/.armhf/res/presets"
rm -rf	"$PWD/.armhf/res/themes"
rm -rf	"$PWD/.armhf/res/pm"
rm -rf	"$PWD/.armhf/res/rnd"
rm -rf	"$PWD/.armhf/res/altconf.txt"
rm -rf	"$PWD/.armhf/res/bookmarks.txt"
rm -rf	"$PWD/.armhf/res/conf.txt"
rm -rf	"$PWD/.armhf/res/conf-lastgood.txt"

# Enlazar Directorios/Archivos Simbolicamente :
ln -sf "$PWD/res/icons"							".32bits/res/icons"
ln -sf "$PWD/res/lang"							".32bits/res/lang"
ln -sf "$PWD/res/presets"						".32bits/res/presets"
ln -sf "$PWD/res/themes"						".32bits/res/themes"
ln -sf "$PWD/res/pm"							".32bits/res/pm"
ln -sf "$PWD/res/rnd"							".32bits/res/rnd"
ln -sf "$PWD/res/altconf.txt"				".32bits/res/altconf.txt"
ln -sf "$PWD/res/bookmarks.txt"			".32bits/res/bookmarks.txt"
ln -sf "$PWD/res/conf.txt"						".32bits/res/conf.txt"
ln -sf "$PWD/res/conf-lastgood.txt"		".32bits/res/conf-lastgood.txt"
ln -sf "$PWD/res/icons"							".64bits/res/icons"
ln -sf "$PWD/res/lang"							".64bits/res/lang"
ln -sf "$PWD/res/presets"						".64bits/res/presets"
ln -sf "$PWD/res/themes"						".64bits/res/themes"
ln -sf "$PWD/res/pm"							".64bits/res/pm"
ln -sf "$PWD/res/rnd"							".64bits/res/rnd"
ln -sf "$PWD/res/altconf.txt"				".64bits/res/altconf.txt"
ln -sf "$PWD/res/bookmarks.txt"			".64bits/res/bookmarks.txt"
ln -sf "$PWD/res/conf.txt"						".64bits/res/conf.txt"
ln -sf "$PWD/res/conf-lastgood.txt"		".64bits/res/conf-lastgood.txt"
ln -sf "$PWD/res/icons"							".armhf/res/icons"
ln -sf "$PWD/res/lang"							".armhf/res/lang"
ln -sf "$PWD/res/presets"						".armhf/res/presets"
ln -sf "$PWD/res/themes"						".armhf/res/themes"
ln -sf "$PWD/res/pm"							".armhf/res/pm"
ln -sf "$PWD/res/rnd"							".armhf/res/rnd"
ln -sf "$PWD/res/altconf.txt"				".armhf/res/altconf.txt"
ln -sf "$PWD/res/bookmarks.txt"			".armhf/res/bookmarks.txt"
ln -sf "$PWD/res/conf.txt"						".armhf/res/conf.txt"
ln -sf "$PWD/res/conf-lastgood.txt"		".armhf/res/conf-lastgood.txt"

#Establecer permisos :
chmod a+o+x "$PWD/.32bits/peazip"
chmod a+o+x "$PWD/.32bits/res/pea"
chmod a+o+x "$PWD/.32bits/res/peaextractor"
chmod a+o+x "$PWD/.32bits/res/7z/7z"
chmod a+o+x "$PWD/.32bits/res/7z/7z.sfx"
chmod a+o+x "$PWD/.32bits/res/7z/7z.so"
chmod a+o+x "$PWD/.32bits/res/7z/7zCon.sfx"
chmod a+o+x "$PWD/.32bits/res/7z/Codecs/Rar.so"
chmod a+o+x "$PWD/.32bits/res/arc/arc"
chmod a+o+x "$PWD/.32bits/res/arc/arc-tiny.linux.sfx"
chmod a+o+x "$PWD/.32bits/res/arc/freearc.sfx"
chmod a+o+x "$PWD/.32bits/res/arc/freearc-installer.sfx"
chmod a+o+x "$PWD/.32bits/res/arc/freearc-tiny.sfx"
chmod a+o+x "$PWD/.32bits/res/brotli/brotli"
chmod a+o+x "$PWD/.32bits/res/lpaq/lpaq1"
chmod a+o+x "$PWD/.32bits/res/lpaq/lpaq5"
chmod a+o+x "$PWD/.32bits/res/lpaq/lpaq8"
chmod a+o+x "$PWD/.32bits/res/paq/paq8f"
chmod a+o+x "$PWD/.32bits/res/paq/paq8jd"
chmod a+o+x "$PWD/.32bits/res/paq/paq8l"
chmod a+o+x "$PWD/.32bits/res/paq/paq8o"
chmod a+o+x "$PWD/.32bits/res/quad/balz"
chmod a+o+x "$PWD/.32bits/res/quad/bcm"
chmod a+o+x "$PWD/.32bits/res/quad/quad"
chmod a+o+x "$PWD/.32bits/res/unace/unace"
chmod a+o+x "$PWD/.32bits/res/unrar/unrar"
chmod a+o+x "$PWD/.32bits/res/unrar/unrar-nonfree"
chmod a+o+x "$PWD/.32bits/res/unrar/default.sfx"
chmod a+o+x "$PWD/.32bits/res/upx/upx"
chmod a+o+x "$PWD/.32bits/res/zpaq/zpaq"
chmod a+o+x "$PWD/.32bits/res/zstd/zstd"
chmod a+o+x "$PWD/.64bits/peazip"
chmod a+o+x "$PWD/.64bits/res/pea"
chmod a+o+x "$PWD/.64bits/res/peaextractor"
chmod a+o+x "$PWD/.64bits/res/7z/7z"
chmod a+o+x "$PWD/.64bits/res/7z/7za"
chmod a+o+x "$PWD/.64bits/res/7z/7zr"
chmod a+o+x "$PWD/.64bits/res/7z/7z.sfx"
chmod a+o+x "$PWD/.64bits/res/7z/7z.so"
chmod a+o+x "$PWD/.64bits/res/7z/7zCon.sfx"
chmod a+o+x "$PWD/.64bits/res/7z/Codecs/Rar.so"
chmod a+o+x "$PWD/.64bits/res/arc/arc"
chmod a+o+x "$PWD/.64bits/res/arc/arc-tiny.linux.sfx"
chmod a+o+x "$PWD/.64bits/res/arc/freearc.sfx"
chmod a+o+x "$PWD/.64bits/res/arc/freearc-installer.sfx"
chmod a+o+x "$PWD/.64bits/res/arc/freearc-tiny.sfx"
chmod a+o+x "$PWD/.64bits/res/brotli/brotli"
chmod a+o+x "$PWD/.64bits/res/lpaq/lpaq1"
chmod a+o+x "$PWD/.64bits/res/lpaq/lpaq5"
chmod a+o+x "$PWD/.64bits/res/lpaq/lpaq8"
chmod a+o+x "$PWD/.64bits/res/paq/paq8f"
chmod a+o+x "$PWD/.64bits/res/paq/paq8jd"
chmod a+o+x "$PWD/.64bits/res/paq/paq8l"
chmod a+o+x "$PWD/.64bits/res/paq/paq8o"
chmod a+o+x "$PWD/.64bits/res/quad/balz"
chmod a+o+x "$PWD/.64bits/res/quad/bcm"
chmod a+o+x "$PWD/.64bits/res/quad/quad"
chmod a+o+x "$PWD/.64bits/res/unrar/unrar"
chmod a+o+x "$PWD/.64bits/res/unrar/unrar-nonfree"
chmod a+o+x "$PWD/.64bits/res/unrar/default.sfx"
chmod a+o+x "$PWD/.64bits/res/upx/upx"
chmod a+o+x "$PWD/.64bits/res/zpaq/zpaq"
chmod a+o+x "$PWD/.64bits/res/zstd/zstd"
chmod a+o+x "$PWD/.armhf/peazip"
chmod a+o+x "$PWD/.armhf/res/pea"
chmod a+o+x "$PWD/.armhf/res/pealauncher"
chmod a+o+x "$PWD/.armhf/res/7z/7z"
chmod a+o+x "$PWD/.armhf/res/7z/7za"
chmod a+o+x "$PWD/.armhf/res/7z/7zr"
chmod a+o+x "$PWD/.armhf/res/7z/7z.so"
chmod a+o+x "$PWD/.armhf/res/7z/7zCon.sfx"
chmod a+o+x "$PWD/.armhf/res/7z/Codecs/Rar29.so"
chmod a+o+x "$PWD/.armhf/res/lpaq/lpaq8"
chmod a+o+x "$PWD/.armhf/res/paq/paq8o"
chmod a+o+x "$PWD/.armhf/res/quad/balz"
chmod a+o+x "$PWD/.armhf/res/quad/quad"
chmod a+o+x "$PWD/.armhf/res/zpaq/zpaq"

# Prevenir errores con diversas terminale y/o tipografias :
LC_ALL=C
export LC_ALL=C

rm -rf "./peazip.desktop"
echo '[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=PeaZip
Name[en_US]=PeaZip
MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-tbz2;application/x-zip;application/zip;application/x-bzip;application/x-rar;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;
GenericName=Archiving Tool
Exec=bash -c "'$RUTA/.$Arquitectura'/peazip" "$@"
Icon=peazip
Icon='$PWD/FreeDesktop_integration/peazip.png'
Type=Application
Terminal=false
X-KDE-HasTempFileOption=true
Categories=GTK;KDE;Utility;System;Archiving;' | tee ./peazip.desktop  &>/dev/null
chmod a+o+x peazip.desktop

    if test ! -f "$HOME/.gtkrc-2.0"
    then
	#En caso de que el usuario no especifique nada, iniciar automaticamente con clearlooks
	ln -s "$PWD/res/gtk-2.0-themes/clearlooks" "$HOME/.gtkrc-2.0"
    fi
	#En caso de que el usuario no especifique nada, iniciar automaticamente con GTK2
	#Solo porque aun no he determinado el metodo para detectar si el entorno usa predetminadamente : GTK o QT
	if	[ "$Arquitectura" == "armhf" ]; then
		export LD_LIBRARY_PATH="$PWD/.$Arquitectura":$LD_LIBRARY_PATH
		export GTK_PATH="$PWD/.$Arquitectura/libs/gtk-2.0"
		cd "$RUTA/.$Arquitectura"
		exec "./peazip" "$@" &
	fi
	if	[ "$Arquitectura" == "64bits" ]; then
		export LD_LIBRARY_PATH="$PWD/.$Arquitectura/libs":$LD_LIBRARY_PATH
		export GTK_PATH="$PWD/.$Arquitectura/libs/gtk-2.0"
		cd "$RUTA/.$Arquitectura"
		exec "./peazip" "$@" &
	fi
	if	[ "$Arquitectura" == "32bits" ]; then
		export LD_LIBRARY_PATH="$PWD/.$Arquitectura/libs":$LD_LIBRARY_PATH
		export GTK_PATH="$PWD/.$Arquitectura/libs/gtk-2.0"
		cd "$RUTA/.$Arquitectura"
		exec "./peazip" "$@" &
	fi

if test -L "$HOME/.gtkrc-2.0"
    then
	rm -rf "$HOME/.gtkrc-2.0"
	if test -e "$HOME/.gtkrc-2.0.original"
	then
	    mv "$HOME/.gtkrc-2.0.original" "$HOME/.gtkrc-2.0"
	fi
fi

tail --pid=$(pidof peazip) -f /dev/null

		#Desenlazar Simbolicamente Directorios/Archivos :
		rm -rf	"$PWD/.32bits/res/icons"
		rm -rf	"$PWD/.32bits/res/lang"
		rm -rf	"$PWD/.32bits/res/presets"
		rm -rf	"$PWD/.32bits/res/themes"
		rm -rf	"$PWD/.32bits/res/pm"
		rm -rf	"$PWD/.32bits/res/rnd"
		rm -rf	"$PWD/.32bits/res/altconf.txt"
		rm -rf	"$PWD/.32bits/res/bookmarks.txt"
		rm -rf	"$PWD/.32bits/res/conf.txt"
		rm -rf	"$PWD/.32bits/res/conf-lastgood.txt"
		rm -rf	"$PWD/.64bits/res/icons"
		rm -rf	"$PWD/.64bits/res/lang"
		rm -rf	"$PWD/.64bits/res/presets"
		rm -rf	"$PWD/.64bits/res/themes"
		rm -rf	"$PWD/.64bits/res/pm"
		rm -rf	"$PWD/.64bits/res/rnd"
		rm -rf	"$PWD/.64bits/res/altconf.txt"
		rm -rf	"$PWD/.64bits/res/bookmarks.txt"
		rm -rf	"$PWD/.64bits/res/conf.txt"
		rm -rf	"$PWD/.64bits/res/conf-lastgood.txt"
		rm -rf	"$PWD/.armhf/res/icons"
		rm -rf	"$PWD/.armhf/res/lang"
		rm -rf	"$PWD/.armhf/res/presets"
		rm -rf	"$PWD/.armhf/res/themes"
		rm -rf	"$PWD/.armhf/res/pm"
		rm -rf	"$PWD/.armhf/res/rnd"
		rm -rf	"$PWD/.armhf/res/altconf.txt"
		rm -rf	"$PWD/.armhf/res/bookmarks.txt"
		rm -rf	"$PWD/.armhf/res/conf.txt"
		rm -rf	"$PWD/.armhf/res/conf-lastgood.txt"

# Finalizar sin problemas este guion
exit 0

Well the Xfce 4.12 Custom Action is
Peazip - Extract Here
Command ->

/home/inukaze/.Aplicacion/Utilidad/PeaZip/PeaZip -ext2folder %f

This does not working.

When i try to use this option i saw the follow console output :

'/home/inukaze/.Aplicacion/Utilidad/PeaZip/.64bits/res/7z/7z' x -aoa -bb0 -bse0 -bsp2 '-o/home/inukaze/Escritorio/2021/Wine-XActLibs/xaudio2_9 - 1/.petmpB85DD7/' -pdefault '/home/inukaze/Escritorio/2021/Wine-XActLibs/xaudio2_9.zip' --

But if i use another command like "PeaZip - Open" with custom command
Command ->

/home/inukaze/.Aplicacion/Utilidad/PeaZip/PeaZip %f

and i just use the option from gui «Extract Here, new folder »

i saw the follow console output

'/home/inukaze/.Aplicacion/Utilidad/PeaZip/.64bits/res/7z/7z' x -aoa '-o/home/inukaze/Escritorio/2021/Wine-XActLibs/xaudio2_9/.petmp7586C8/' -bb0 -bse0 -bsp2 -pdefault -sccUTF-8 '/home/inukaze/Escritorio/2021/Wine-XActLibs/xaudio2_9.zip'

i don't know why result in diferents commands, and in the is not working, create the folder, inside the same, had a temporal directory with the files, but when the task is finished just delete that temp dir, without move the content to the up dir.

Someone had any idea how i can fix this ?

If someone need can download this package from -> https://www.mediafire.com/file/gby5q8oa … ar.xz/file

Last edited by inukaze (2021-07-10 18:21:59)

Offline

Board footer

Powered by FluxBB