application for cmd_showInFinder command

Posted by Jonnywalker on 2009-11-24 04:23

Anybody knows how can I setup which filemanager komodo should use for command "cmd_showInFinder" (right click on file in project tree -> Show in file manager)?

Komodo edit 5, linux.

Thank you.

ActiveState Staff
Tue, 2009-11-24 12:30

Komodo uses Mozilla "nsIFile.reveal" method for opening the file/directory location, see

The same should apply to Firefox as to Komodo.

I'm not sure how to change that to use a different file manager - there are some methods that claim to work, but I've not been able to get any to work, such as:


Jonnywalker | Thu, 2009-11-26 01:50

Thank you Todd.

Maybe I've made something wrong but adding directives in about:config page:

network.protocol-handler.expose.file = true
network.protocol-handler.external.file = true = konqueror

gives no effect in komodo and in iceweasel (debian firefox) too.
Generally I want to make my pcmanfm not to be started with key "-f" which opens find dialog instead of main window.
But to check settings I try first to change used filemanager to konqueror

No result for now.

ActiveState Staff
Thu, 2009-11-26 12:02

You can also change the underlying Komodo code (if your familiar with Python) to do what you want, you'll need to find the "" file under your Komodo installation and change the "ShowFileInFileManager" method, see:


Jonnywalker | Tue, 2009-12-01 04:06

Thank you Todd!

It's a dirty hack but works for me :) I've cropped this function to following

def ShowFileInFileManager:
    os.system('pcmanfm "%s" &' % os.path.dirname(filename))