Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-05-30 19:25:28

somewhatnew
Member
Registered: 2019-05-30
Posts: 2

Extract archives on doubleclick?

Hello all!

I'm slowly (but steadily) migrating from macOS to xfce.
The one thing i really miss in thunar so far, is the ability to extract any archive by doubleclick.
Can this be configured? Like a default action system wide?

So that i can for example:
> download a zip in Firefox,
> click on the download icon in FF
> click on the archive
> thunar opens and extracts the contents.

Any help is appreciated. Thanks!

Offline

#2 2019-05-30 22:11:33

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,005

Re: Extract archives on doubleclick?

Hello and welcome.

Which distro, version of Xfce and specifically version of thunar are you using?
What archive manager do you have installed?

You should be able to double-click an archive in thunar and it should open in your archive manager. If you have the thunar-archive-plugin installed, you will have the option to "Extract here" if you right-click on the archive.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-05-31 04:31:43

somewhatnew
Member
Registered: 2019-05-30
Posts: 2

Re: Extract archives on doubleclick?

I'm using xubuntu 19.04 and whatever version of thunar theiy are shipping.

I know all the options to extract archives, but thought i could configure the system a bit more to my linking.
Since i hardly ever want to know whats inside the archive bevor extracting it, i would like to have thunar extract it as default.
I also use the right-click > extract here way of doing this a lot. It would be convenient to just double-click and be done with it.

Last edited by somewhatnew (2019-05-31 06:36:38)

Offline

#4 2019-05-31 15:35:40

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,005

Re: Extract archives on doubleclick?

somewhatnew wrote:

It would be convenient to just double-click and be done with it.

Isn't this a bit risky? Extracting archives without looking at the contents first?

I'm not sure this is easily done. You'd need to be able to get the current thunar working directory of the instance that you click from, you'll need to know which file was clicked so that can identify the type of archive, you'd need to create a script to manage the multitude of options...

The right-click > extract functionality is already pre-built. Let me see if I can come up with something or at least determine if its possible.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2019-05-31 19:52:18

Misko_2083
Member
Registered: 2015-10-13
Posts: 191
Website

Re: Extract archives on doubleclick?

Right click the archive > Open With
GLUSTlS.png
The command depends on the archiver.
Xarchiver can also extract without asking but I wouldn't want that to happen.


Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

Board footer

Powered by FluxBB