I'm searching for a way to run the native filemanager (rox) in locate32, when i double click on a file.
If you search a file in locate32, it creates a list of hits. Now I want to run rox, if you double click on a file, to make file operations like copy or move or to open it with native applications.
I got it working only with pdf files. Here is what i did:
I created a file "association.reg":
Code: Select all
[HKEY_CLASSES_ROOT\.pdf]
@="PDFfile"
"Content Type"="pdf"
[HKEY_CLASSES_ROOT\PDFfile\Shell\Open\command]
@="/bin/sh transform_path run_rox \"%1\""
Then created two files:
First: a file called "transform_path":
Code: Select all
#!/bin/sh
$1 "`wine winepath -u "$2"`"
Code: Select all
#!/bin/sh
rox -s "$1"
As you can think, the problem is that now I have to do this with all filetypes (maybe unknown filetypes, too). Is there generell way? This would very improve my workflow on this linux machine.
regards, rollo