You are not logged in.

#1 2008-10-12 21:06:24

fwalch
Member
Registered: 2008-04-29
Posts: 8

Firefox and PCManFM

When I use the "Open Containing Folder" command of the Firefox download manager, the "Find Files" component of PCManFM is started instead of the file manager itself. Now, I've found out that firefox uses the mimetype "x-directory/gnome-default-handler" for opening directories, but this is correctly set in pcmanfm-folder-handler.desktop.
If I open the context menu of a folder in PCManFM, the first option in "Open with" is "Search for files and folders". It is, however, not possible to change this default action via the gui. Any ideas? smile

Offline

#2 2008-10-12 21:43:11

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: Firefox and PCManFM

Once I wanted to connect rox (which doesn't recognise "file" uri's) so what I did was:

network.protocol-handler.app.file      ~/code/bash/mozilla/filemanager.sh
network.protocol-handler.expose.file   true
network.protocol-handler.external.file true

filemanager.sh
location=`echo ${1#file://} | sed 's/%20/ /g'`
/usr/bin/rox "$location"

So you can try this workaround... and if pcmanfm handles "file://" uri's you just need to point network.protocol-handler.app.file to pcmanfm binary, no need for a script.


You need to install an RTFM interface.

Offline

#3 2008-10-13 14:47:54

fwalch
Member
Registered: 2008-04-29
Posts: 8

Re: Firefox and PCManFM

Hm, doesn't seem to do anything, still opens the search dialog sad Does this work with Firefox 3?

Offline

Board footer

Powered by FluxBB