For my work I constantly need to unzip zip-archives. I know I can right-click and select "Extract here", but since I do this a lot, this is becoming annoying.
Is there a way to set the default action when double clicking a zip (or any other archive) to "Extract here"?
All tips are welcome!
It's much easier in 18.04! (I'm not sure since when this works)
In "Open With" set the application "Files" as default and that's it.
Now when you right-click on the archive, "Extract Here" is the first entry in the context-menu and will be called on doubleclick.
Everything is possible on Linux!
Select a
*.zip
file with a right mouse click and go to properties. Instead of using a mouse, you can use Alt+Enter.In the textbox, write
file-roller -h
1. Select Add to list. In case you don't have it installed, usesudo apt install file-roller -y
.Then select
file-roller
and Set as default.Now,
file-roller
is set as default. You can close the properties window. Now when you open azip
, it will be automatically decompressed for you. To do the same for*.tar.gz
files (application/x-compressed-tar
in general), skip addingfile-roller
to list as it's already there - only set as default.Why does it work? Read the manual (
man file-roller
):1 Some people prefer
file-roller -f
instead of-h
to choose the destination folder.See also Archive manager that extracts into new folder named after archive