Page 1 of 1

'Open containing folder' in ROX - tiny hack for Mozilla

Posted: Tue 18 Oct 2011, 22:16
by dejan555
Someone on IRC recently asked what application to choose when firefox offers "Open containing folder" in dialogue box
So I tried to choose rox on seamonkey 2.4.1 but it pops up error that file wasn't found because it adds file:// prefix
This is just a one-line workaround, just save this as script anywhere and then choose it as application for opening folder

Code: Select all

#!/bin/sh
rox $(echo "$1" | sed 's?file://??')

Posted: Wed 19 Oct 2011, 00:34
by p310don
nice, will use that

Posted: Fri 21 Oct 2011, 15:17
by sc0ttman
cheers for this dejan :D, that little problem has bugged me every now and then, when it appears!

Posted: Fri 21 Oct 2011, 15:29
by Iguleder
This could be added to /usr/bin/rox, so it appears in all puppies.

Definitely belongs there :)

Posted: Sat 22 Oct 2011, 08:15
by Burunduk
There is another variant here:

Code: Select all

#!/bin/sh
exec rox -U "$@"