enable spacefm archive handling

Get help with the Openbox desktop
User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4564
Joined: 20 Mar 2012, 03:42
Distribution: v5.1-alpha*-64bit
Location: australia
Contact:

enable spacefm archive handling

Post#1 by ncmprhnsbl » 11 Mar 2026, 13:05

enable spacefm archive handling

rclick on an archive(any)
choose "open" > "archive defaults"
select "extract" (default was "open with app")
then
rclick on an archive(any)
choose "open" > "archive defaults" > "archive handlers"
the "archive handlers" dialog opens
you can then set whatever command you want for any archive format,
including ones not presently listed.
when you click "edit" a set of files is created at
~/.config/spacefm/scripts/hand_arc_<archive_type>/{hand-archive-{compress,extract,list}}
you could for example assign 7zip to .zip instead of zip/unzip
or any other supported format with the correct command.

note: none of the default commands are set for the root instance of spacefm. click on the "defaults" button in the "archive handlers" dialog for each format to populate them.


a more detailed explanation is here:
https://ignorantguru.github.io/spacefm/ ... ndlers-arc
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44