You are not logged in.
Pages: 1
Programs that attempt to open a local folder are doing so via Firefox rather than an actual file manager, which is somewhat annoying. (Specifically, I've noted this with winebrowser and Skype). I have no DE, just OB w/ pcmanfm, so I assume this is my problem. Is there any mime info I can add/edit to make the default app something else, like pcmanfm? I've been looking through /usr/share/mime and ~/.local/share/mime and the Wiki, but haven't found anything that helps.
At least, I assume this is related to MIME, please correct me if I'm wrong.
Offline
(Bump.)
Google's turned up nothing of use. If Firefox can be used to open local paths, I know something else could be.
Offline
I can't help you directly, but usually this happens when they're using xdg-open to launch the program instead of the launcher itself. I remember LyX use to do that.
Last edited by skottish (2008-09-05 23:26:06)
Offline
What package is xdg-open in? I don't seem to have it.
Offline
It's owned by xdg-utils which is required by (at least) CUPS and openjdk6.
Offline
Thanks. I installed it, and xdg-open uses Firefox to handle local paths too.
I've done some reading on MIME (this was helpful, for others interested: http://library.gnome.org/admin/system-a … -0.html.en ), and I know more than when I started. Unfortunately, to my limited knowledge, I see nothing indicating that Firefox should be the default app for local directories.
I've checked my ~/.local/share/applications/defaults.list and pcmanfm is listed as the default for both application/x-directory and inode/directory. I've verified that pcmanfm.desktop files exist everywhere it seems they should.
And xdg-mime agrees with me:
.:[ b-con@beacon : 18:19:16 : ~/.local/share/applications ]:.
$ xdg-mime query filetype /
application/x-directory
.:[ b-con@beacon : 18:20:52 : ~/.local/share/applications ]:.
$ xdg-mime query default application/x-directory
pcmanfm.desktop
So I'm stumped again. xdg-mime agrees that pcmanfm should be the handler of x-directory, but that's not what xdg-open uses. The same suite of tools appears to be contradicting itself. And, as far as I can tell, firefox never even volunteers to provide the x-directory handler in any of its .desktop files.
Any suggestions? This has stumped me -- and I hate not being able to have applications open a local path..
Last edited by B-Con (2008-09-10 01:31:22)
Offline
Pages: 1