Posts: 2
denreaper
Joined: 14 Nov 2012
#1
Hello,
I tried posting this issue on the Debian forums yesterday but had no luck in attracting a response. Maybe someone here will know more information.

I'm new to Debian/MEPIS/AntiX and have run into an issue involving Iceweasel and how the"Open containing folder" action works. Previously when I had Thunar installed, it would open after clicking"open containing folder." I have since installed SpaceFM from Aptitude, which included SpaceFM file search. Iceweasel now executes"spacefm --find-files %F" instead of executing"spacefm %F" as I would like. In order to work around this, I edited /usr/share/applications/spacefm-find.desktop, which has fixed it for the time being, but, as expected, has broken the entry in the launcher menu.

Does anyone know of a way to change the *.desktop file that is launched by Iceweasel when"Open containing folder" is pushed? I looked in preferences->applications but I don't have a"file" entry.

Thanks,
Denny


P.S. I'm using AntiX Core with Fluxbox with kernel 3.5.0-antix.2-486-smp
Last edited by denreaper on 19 Nov 2012, 03:46, edited 2 times in total.
Alanarchy
Posts 0
Alanarchy
#2
Go to Applications/Preferences/Preferred Applications, and under the Utilities Tab, File Manager - choose spacefm.
Posts: 609
dark-D
Joined: 02 Jun 2008
#3
i use two settings, both iceweasel and transmission open folder work for me (i use rox-filer):
first for iceweasel open about:config and add this values:
network.protocol-handler.expose.file = true (Boolean)
network.protocol-handler.external.file = true (Boolean)
network.protocol-handler.app.file = /usr/share/applications/spacefm.desktop (String)

second for transmission and i think it is also related to iceweasel:
open ~/.local/share/applications/defaults.list and add this lines:
inode/directory=spacefm.desktop
x-directory/normal=spacefm.desktop

i hope it works and have fun with antiX.
Posts: 2
denreaper
Joined: 14 Nov 2012
#4
dark-D wrote:i use two settings, both iceweasel and transmission open folder work for me (i use rox-filer):
first for iceweasel open about:config and add this values:
network.protocol-handler.expose.file = true (Boolean)
network.protocol-handler.external.file = true (Boolean)
network.protocol-handler.app.file = /usr/share/applications/spacefm.desktop (String)

second for transmission and i think it is also related to iceweasel:
open ~/.local/share/applications/defaults.list and add this lines:
inode/directory=spacefm.desktop
x-directory/normal=spacefm.desktop

i hope it works and have fun with antiX.
Solved

I tried the Iceweasel suggestion. My version of Iceweasel didn't have those values in about:config so I added them as suggested. I didn't have any luck with the fix using Iceweasel 10.0.10 but the second suggestion did work.

I did not have a defaults.list in ~/.local/share/applications, however I did have a mimeapps.list, which after adding the suggested two lines worked flawlessly (no restart required, even in browser).

Alanarchy wrote:Go to Applications/Preferences/Preferred Applications, and under the Utilities Tab, File Manager - choose spacefm.
In progress

I'm also interested in a graphical resolution to this problem. I run Fluxbox instead of XFCE4 on my AntiX installation so first I hopped on an XFCE4 computer and found the name of the process you mentioned.

/usr/lib/i386-linux-gnu/xfce4/exo-1/exo-helper-1 --configure from the package libexo-1-0

I was presented with the XFCE4"Preferred Applications" utility and switched the default file manager from"No application selected" to Thunar (to test against dark-D's suggestion) but it did not take effect. I'm going to investigate whether or not making those changes to mimeapps.list or default.list overrides the XFCE4 Preferred Applications utility.

edit: after trying disabling of the first suggestion, I'm still not having much luck getting it to work. The only thing I can think of is that maybe in XFCE4 inode/directory and/or x-directory/normal (mimeapps.list/default.list) point to some sort of intermediate XFCE4 configuration file. I'll keep playing with it until I get a result.


Big thanks to both of you for your solutions.

-Denny
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#5
The Xfce solution is only for Xfce session.
You can use the command-line with 'xdg-mime default application mimetype(s)' (as posted in a recent thread).
libfm's (pcmanfm) 'Preferred Applications' also work if you have it.