Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-12-22 09:16:48

SoerenB
Member
Registered: 2015-12-22
Posts: 9

[Solved] How to modify "extract here" (nonsensical, in hindsight)

Hi,
this is my first here ..

updated: added signature, for specs, BBcoded some code ...

1) How can I modify my

/usr/lib/x86_64-linux-gnu/thunar-archive-plugin/ark.tap

to not scatter all the files in the archive around the current folder,
instead put them in a folder with the archive's nameMinusSuffix, right next to the archive?

the concerned part of the code, I guess, as-is:

extract-here)
	exec ark --extract-to "$folder" "$@"
 	;;

---------------------------------------------------

2) Alternatively: How to remove "Extract Here" from the context Menu?

I'd even prefer that ...

3) If somebody could supply a script to make this a CustomAction, including
putting a tree-formatted list of contents into the folder, named xxxContents.lst or so:

that would save me some hours of fiddling around myself ... though I love fiddling

---------------------------------------------------

I hope my English is comprehensible ...

Greetings from Germany

Last edited by SoerenB (2015-12-23 13:41:30)


xfce 4.12.3
MX Linux 17.1
System language: English, keyboard: German

Offline

#2 2015-12-23 13:56:13

SoerenB
Member
Registered: 2015-12-22
Posts: 9

Re: [Solved] How to modify "extract here" (nonsensical, in hindsight)

.... OMG ........

Mint does not use ark, but file-roller ...
AND: I hadn't even tried on this newly installed Mint 17.2
  -  as far as I remember, "Extract here" WOULD scatter files in 17.1 ...

well, in 17.2 "Extract here" creates a folder next to the archive and
extracts the files into that, as I wished.

So it took me just an hour (or 2?) to make a CustomAction to create
a ContentList within a right-clicked folder:

ls --group-directories-first -1R %f > ./%n/contents.txt

Appearance Conditions: no filter (*)
only "Directories" checked.


xfce 4.12.3
MX Linux 17.1
System language: English, keyboard: German

Offline

Board footer

Powered by FluxBB