Deutsch   English   Français   Italiano  
<61155027$0$27432$426a74cc@news.free.fr>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp1-2.free.fr!not-for-mail
Subject: Re: Zip (ce n'est pas pour l'autre escorte SM)
Newsgroups: fr.comp.os.linux.configuration
References: <seiptj$bf1$17@shakotay.alphanet.ch>
 <setpom$h2m$5@shakotay.alphanet.ch> <setpra$h2m$6@shakotay.alphanet.ch>
 <6112adaf$0$27455$426a34cc@news.free.fr>
 <6112b595$0$3696$426a74cc@news.free.fr> <sf19tk$h2m$11@shakotay.alphanet.ch>
 <61143a04$0$27433$426a74cc@news.free.fr> <sf1epu$h2m$12@shakotay.alphanet.ch>
From: "Th.A.C" <aenleverraivac@free.fr.invalid>
Date: Thu, 12 Aug 2021 18:45:26 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.12.0
MIME-Version: 1.0
In-Reply-To: <sf1epu$h2m$12@shakotay.alphanet.ch>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: fr
Content-Transfer-Encoding: 8bit
Lines: 114
Message-ID: <61155027$0$27432$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 12 Aug 2021 18:45:27 CEST
NNTP-Posting-Host: 78.199.154.99
X-Trace: 1628786727 news-1.free.fr 27432 78.199.154.99:48180
X-Complaints-To: abuse@proxad.net
Bytes: 5254

Le 11/08/2021 à 23:17, Jo Engo a écrit :
> Le Wed, 11 Aug 2021 20:58:45 +0000, Nicolas George a écrit :
> 
>> C'est ça d'utiliser des outils graphiques.
> 
> 
> Ben, j'ai pas encore fait le tour, mais vu que je n'ai rien trouvé pour
> changer les arguments ça ressemble à un bug. Néanmoins. Le fait que
> xarchiver et pcmanfm appelle 7z avec les mêmes arguments me font penser
> que le réglage doit se faire en amont mais où ? Sinon je suis d'accord la
> ligne de commande est plus souple (en tout cas ça ne plante pas).
> 
> 

ca ne marche pas comme tu le penses.

pcmanfm et thunard appellent xarchiver avec des paramètres comme :
-x
-c
....

Tu peux d'ailleurs lister les paramètres avec la commande:
xarchiver --help

xarchiver --help
Utilisation :
   xarchiver [OPTION…] [ARCHIVE]

Options de l’aide :
   -h, --help                         Affiche les options de
                                      l’aide
   --help-all                         Affiche toutes les options
                                      de l’aide
   --help-gtk                         Affiche les options GTK+

Options de l’application :
   -x, --extract-to=destination       Extract archive to the
                                      destination directory and
                                      quit

   -e, --extract                      Extract archive by asking
                                      the extraction directory
                                      and quit

   -d, --ensure-directory             Extract archive to a
                                      containing directory
                                      and quit

   -m, --multi-extract                Extract multiple archives
                                      by asking the extraction
                                      directory and quit

   -c, --compress=file1 ... fileN     Add the given files by
                                      asking the name of
                                      the archive and quit

   -a, --add                          Add to archive by asking
                                      which files and quit

   -i, --info                         Show found command line
                                      programs to be used and
                                      exit

   -v, --version                      Show version and exit

   --display=AFFICHAGE                Affichage X à utiliser




C'est xarchiver qui place ces paramètres erronés en appelant 7z.
Sauf que la c'est une version compilée et je pense que les paramètres 
sont rentrés en dur dans le source du programme


Tu as bien un version stable de xarchiver ?
Quelle version?

et au passage on ne sait toujours pas quelle système tu utilises...


Sinon, pour le plugin xarchiver, par exemple celui de thunar, c'est ici:
/usr/lib/thunar-archive-plugin/xarchiver.tap
un simple script shell
qu'on peut modifier.
j'ai par exemple ajouté des notifications quand une action est terminée.
ex:
case $action in
create)
	notify-send -t 2000 --icon=dialog-information "Compression..." " $@ "
	xarchiver "--compress=$@"
	notify-send -t 5000 --icon=dialog-information "Compression Terminée 
(code $?)..." " $@ "
	;;

extract-here)
	notify-send -t 2000 --icon=dialog-information "Extraction..." " $@ "
	xarchiver "--extract-to=$folder" "$@"
	notify-send -t 5000 --icon=dialog-information "Extraction Terminée 
(code $?)..." " $@ "
	;;

extract-to)
	notify-send -t 2000 --icon=dialog-information "Extraction..." " $@ "
	xarchiver --extract "$@"
	notify-send -t 5000 --icon=dialog-information "Extraction Terminée 
(code $?)..." " $@ "
	;;

*)
	echo "Unsupported action '$action'" >&2
	notify-send -t 5000 --icon=dialog-error "Action non reconnue (code $?)..."
	exit 1
esac