Skip navigation.

Can I open archives in vfs mode with a simple click, like in mc?

Yes, just open the Set Run Action box and set the command as:

rox "$1#/"

This means that such files are opened using ROX-Filer, with #/ on the end of the name to look inside the archive.

Doesn't Work

This tips doesn't work (Ubuntu 8.04.1)

niewod@madryt:~/System$rox -v
ROX-Filer 2.5
Copyright (C) 2005 Thomas Leonard.
to the extent permitted by law.
You may redistribute copies of ROX-Filer
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Compiled with GTK version 2.10.3
Running with GTK version 2.12.9

-- features set at compile time --

Large File Support... Yes
Dnotify support... Yes
Binary compatibility... No (apsymbols.h not found)
Extended attribute support... Yes

This tip dates from the Good

This tip dates from the Good Old Days of using AVFS and its "rewrite" module to access archive contents. back then a kernel module translated pathnames with a # in them into ones within the AVFS filesystem. Nowadays this module is unavailable, so we need to do things a little differently.

The modern equivalent (using AVFS+FUSE, assuming that you have a ~/.avfs directory and have already executed mountavfs) would be to set the run action to rox "$HOME/.avfs$@#/"

For what it's worth, I actually set the run action to a script that reads like this:

#! /bin/bash
if ! mount | grep -q $HOME/.avfs; then mountavfs; fi
[ -n "$@" ] && exec rox "$HOME/.avfs$@#/"

That Works!

Thanks :-)

Syndicate content