“Open containing folder” in Firefox does not use my default file manager
My system default is Nautilus. But when I right-click in Downloads and choose "open containing folder", it opens Thunar and not Nautilus.
How can I change that?
nautilus firefox filemanager thunar download-manager
add a comment |
My system default is Nautilus. But when I right-click in Downloads and choose "open containing folder", it opens Thunar and not Nautilus.
How can I change that?
nautilus firefox filemanager thunar download-manager
2
The answers to this question didn't work for me, but this did: askubuntu.com/a/404332/10244
– GlenPeterson
Jan 12 '14 at 13:45
1
Possible duplicate of Stop folders opening with different application than the file manager
– user47206
Jan 12 '17 at 0:09
add a comment |
My system default is Nautilus. But when I right-click in Downloads and choose "open containing folder", it opens Thunar and not Nautilus.
How can I change that?
nautilus firefox filemanager thunar download-manager
My system default is Nautilus. But when I right-click in Downloads and choose "open containing folder", it opens Thunar and not Nautilus.
How can I change that?
nautilus firefox filemanager thunar download-manager
nautilus firefox filemanager thunar download-manager
edited Jan 11 '17 at 23:44
user47206
asked Mar 13 '13 at 22:59
Paul WoitaschekPaul Woitaschek
1,56662854
1,56662854
2
The answers to this question didn't work for me, but this did: askubuntu.com/a/404332/10244
– GlenPeterson
Jan 12 '14 at 13:45
1
Possible duplicate of Stop folders opening with different application than the file manager
– user47206
Jan 12 '17 at 0:09
add a comment |
2
The answers to this question didn't work for me, but this did: askubuntu.com/a/404332/10244
– GlenPeterson
Jan 12 '14 at 13:45
1
Possible duplicate of Stop folders opening with different application than the file manager
– user47206
Jan 12 '17 at 0:09
2
2
The answers to this question didn't work for me, but this did: askubuntu.com/a/404332/10244
– GlenPeterson
Jan 12 '14 at 13:45
The answers to this question didn't work for me, but this did: askubuntu.com/a/404332/10244
– GlenPeterson
Jan 12 '14 at 13:45
1
1
Possible duplicate of Stop folders opening with different application than the file manager
– user47206
Jan 12 '17 at 0:09
Possible duplicate of Stop folders opening with different application than the file manager
– user47206
Jan 12 '17 at 0:09
add a comment |
10 Answers
10
active
oldest
votes
After a lot of tries, I came upon the very simple method given above by Gill Bates, which was to
- Go into System Settings
- Switch default manager to something else
- Switch it back
So I did that, then closed and reopened Firefox and sure enough, it worked like a charm. Maybe I can invoke Occam's Razor here...
1
this worked for me. i did not have to restart firefox.
– Jayen
May 12 '14 at 22:18
2
Identical issue in Kubuntu 14.04, this fixed it. In KDE it'sDefault Applications -> File Manager
.
– Ash
May 28 '14 at 5:05
Thankyou! I can't believe this worked... As per Ash's comment this fix works on Kubuntu trusty
– dwurf
Sep 4 '14 at 0:59
3
Could you add a hint on where in System Settings that change can be made? In Ubuntu 16.10, there is a section named Default Applications in the Details settings, but it only lets me select defaults for Web, Mail, Calendar, Music, Video, and Photos, no file manager.
– O. R. Mapper
Dec 7 '16 at 9:40
The solution is the result of the file manager becoming the first mentioned afterinode/directory=
, in/usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.
– user47206
Jan 11 '17 at 23:25
|
show 1 more comment
The suggestion by @carnendil is not wise because the system generates this list at startup and it therefore should not be directly edited by the user. In fact, each entry is supposed to contain all the options available on the system and sometimes the first entry is not the preferred one.
In theory, the suggestion by @Fab should work, but it turns out that sometimes programs attempt to reference defaults.list
exclusively. For example, the discussion on Bugzilla reveals that Firefox doesn't even know to look for either of the user's local lists, defaults.list
and mimeapps.list
.
Therefore, I suggest you edit one of the following files, with the first option probably being the wisest choice unless you are on a multiuser system:
- Edit
/usr/share/applications/defaults.list
; or - Edit both
~/.local/share/applications/mimeapps.list
and~/.local/share/applications/defaults.list
; or - Edit one of the files within
~/.local/share/applications/
and then create a symbolic link to that file from the other (e.g. edit~/.local/share/applications/mimeapps.list
and link to it from~/.local/share/applications/defaults.list
).
To one of the following options above, add (or change) the following line:
inode/directory=Thunar-folder-handler.desktop
1
The accepted answer did not work for me, but this worked for me in Xubuntu 16.04 LTS for Thunar File Manager; Only editing point 1:inode/directory=thunar.desktop
(the other files don't exists).
– Rutrus
Mar 4 '17 at 14:19
1
I think usingxdf-mime default thunar.desktop inode/directory
is even more robust.
– Raphael
Nov 16 '17 at 7:23
add a comment |
I also encountered such problem, but in my case - just switching default File Manager to something and back to needed one, using standard gui, was helpful.
The solution is the result of the file manager becoming the first mentioned afterinode/directory=
, in/usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.
– user47206
Jan 11 '17 at 23:25
add a comment |
There is an old bug that points to some setting in the file /usr/share/applications/mimeinfo.cache
.
The line that starts with inode/directory=
in my system looks like this:
inode/directory=nautilus-folder-handler.desktop;nautilus.desktop;
I guess yours points to Thunar instead.
To make the change, you need to edit mimeinfo.cache
with:
gksu gedit /usr/share/applications/mimeinfo.cache
2
The KDE equivalent to that last line would be to Alt-F2 to get a run dialog and thenkdesudo kate /usr/share/applications/mimeinfo.cache
.
– pbhj
Jul 21 '15 at 22:44
add a comment |
If the already mentioned solutions don't work, try this.
Write the following to /usr/share/dbus-1/services/org.freedesktop.FileManager1.service
:
[D-BUS Service]
Name=org.freedesktop.FileManager1
Exec=/usr/bin/thunar --gapplication-service
Change the Exec
line to your liking. (Default nautilus
.)
add a comment |
If you don't want to modify the system settings, or don't have access to it, you may copy & personalize the line starting with inode/directory=
(from /usr/share/applications/mimeinfo.cache
) to ~/.local/share/applications/mimeapps.list
add a comment |
Solution for those running an XFCE environment, based on the other answers:
Run
xfce4-mime-settings
(or Settings Menu -> Mime Type Editor).Find inode/directory in the list
Set Open Folder with Thunar or similar
add a comment |
had the same problem (Kubuntu 14.04, download-folder are opened with audacious). Ultimative solution explained here: https://mtekk.us/archives/guides/make-firefox-use-dolphin-for-open-containing-folder/
In my case: I had to remove audacious and gwenview from the list and it worked (opens with my default file-manager dolphin)
add a comment |
The solution presented in other answers here and here involving refreshing the setting for file manager also works, but you need the GUI setting for that, and it also may be temporary, as the culprit may take over after programs installations or updates (see link below).
This is a problem that also appeared for me in more recent Ubuntu versions and ubuntu-based systems, and also in other Linux systems like Manjaro. It also appears in the same way in other browsers like Chrome and even other programs (like uGet, a downloader that also has the option "open containing folder"). The problem may appear also in more severe forms, where the default file manager is not replaced by other file manager, but by a different program (text editor, multimedia player).
The problem is, as indicated here, triggered only by the certain programs.
The best solution is to create or edit ~/.local/share/applications/mimeapps.list
: edit the line that starts with inode/directory=
and add the name of the file manager that you use if it is not there already; if that is already there but another program is listed there first, put the file manager first (if you need the other program(s) to open folders).
For Pantheon Files it should be like
[Default Applications]
inode/directory=nautilus-folder-handler.desktop
If the desktop environment is not freedesktop complient, like my Manjaro Cinnamon, the file to be created/edited should be ~/.local/share/applications/mimeinfo.cache
like so:
[MIME Cache]
inode/directory=nautilus-folder-handler.desktop
Also here.
add a comment |
I had the same issue as you guys but none of the answers really worked for me.
I had downloaded Konqueror (so that I can listen to Spotify independently of Firefox) and it had installed Dolphin as a prerequisite. Firefox started opening files in Dolphin after that.
As I do not use Dolphin for anything and Konqueror is only being used for Spotify, I decided to do away with Dolphin. Every distro has some kind of option to uninstall packages while leaving the packages that depend on them alone.
In arch it was:
sudo pacman -Rdd dolphin
I don't use Ubuntu but since this channel is called askubuntu, I did a bit of research for the Ubuntu equivalent:
sudo dpkg -r --force-depends dolphin
(based on this thread)
For Thunar it should be:
sudo dpkg -r --force-depends thunar
Obviously this won't apply to everyone. It's a judgment call, you have to be sure that the extra filebrowser you're removing is not essential to something that will break without it. As long you're certain no system apps need it, you can always uninstall it and see if things are stable and just re-install it if they are not.
you have installed the culprit without needing it, and removing it is of course a solution. but if the problem is created by a program that you want to keep, look here.
– user47206
Jan 13 '17 at 11:40
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f267514%2fopen-containing-folder-in-firefox-does-not-use-my-default-file-manager%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
10 Answers
10
active
oldest
votes
10 Answers
10
active
oldest
votes
active
oldest
votes
active
oldest
votes
After a lot of tries, I came upon the very simple method given above by Gill Bates, which was to
- Go into System Settings
- Switch default manager to something else
- Switch it back
So I did that, then closed and reopened Firefox and sure enough, it worked like a charm. Maybe I can invoke Occam's Razor here...
1
this worked for me. i did not have to restart firefox.
– Jayen
May 12 '14 at 22:18
2
Identical issue in Kubuntu 14.04, this fixed it. In KDE it'sDefault Applications -> File Manager
.
– Ash
May 28 '14 at 5:05
Thankyou! I can't believe this worked... As per Ash's comment this fix works on Kubuntu trusty
– dwurf
Sep 4 '14 at 0:59
3
Could you add a hint on where in System Settings that change can be made? In Ubuntu 16.10, there is a section named Default Applications in the Details settings, but it only lets me select defaults for Web, Mail, Calendar, Music, Video, and Photos, no file manager.
– O. R. Mapper
Dec 7 '16 at 9:40
The solution is the result of the file manager becoming the first mentioned afterinode/directory=
, in/usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.
– user47206
Jan 11 '17 at 23:25
|
show 1 more comment
After a lot of tries, I came upon the very simple method given above by Gill Bates, which was to
- Go into System Settings
- Switch default manager to something else
- Switch it back
So I did that, then closed and reopened Firefox and sure enough, it worked like a charm. Maybe I can invoke Occam's Razor here...
1
this worked for me. i did not have to restart firefox.
– Jayen
May 12 '14 at 22:18
2
Identical issue in Kubuntu 14.04, this fixed it. In KDE it'sDefault Applications -> File Manager
.
– Ash
May 28 '14 at 5:05
Thankyou! I can't believe this worked... As per Ash's comment this fix works on Kubuntu trusty
– dwurf
Sep 4 '14 at 0:59
3
Could you add a hint on where in System Settings that change can be made? In Ubuntu 16.10, there is a section named Default Applications in the Details settings, but it only lets me select defaults for Web, Mail, Calendar, Music, Video, and Photos, no file manager.
– O. R. Mapper
Dec 7 '16 at 9:40
The solution is the result of the file manager becoming the first mentioned afterinode/directory=
, in/usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.
– user47206
Jan 11 '17 at 23:25
|
show 1 more comment
After a lot of tries, I came upon the very simple method given above by Gill Bates, which was to
- Go into System Settings
- Switch default manager to something else
- Switch it back
So I did that, then closed and reopened Firefox and sure enough, it worked like a charm. Maybe I can invoke Occam's Razor here...
After a lot of tries, I came upon the very simple method given above by Gill Bates, which was to
- Go into System Settings
- Switch default manager to something else
- Switch it back
So I did that, then closed and reopened Firefox and sure enough, it worked like a charm. Maybe I can invoke Occam's Razor here...
edited May 12 '14 at 22:49
hytromo
3,49132356
3,49132356
answered Mar 14 '14 at 5:35
user258092user258092
17113
17113
1
this worked for me. i did not have to restart firefox.
– Jayen
May 12 '14 at 22:18
2
Identical issue in Kubuntu 14.04, this fixed it. In KDE it'sDefault Applications -> File Manager
.
– Ash
May 28 '14 at 5:05
Thankyou! I can't believe this worked... As per Ash's comment this fix works on Kubuntu trusty
– dwurf
Sep 4 '14 at 0:59
3
Could you add a hint on where in System Settings that change can be made? In Ubuntu 16.10, there is a section named Default Applications in the Details settings, but it only lets me select defaults for Web, Mail, Calendar, Music, Video, and Photos, no file manager.
– O. R. Mapper
Dec 7 '16 at 9:40
The solution is the result of the file manager becoming the first mentioned afterinode/directory=
, in/usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.
– user47206
Jan 11 '17 at 23:25
|
show 1 more comment
1
this worked for me. i did not have to restart firefox.
– Jayen
May 12 '14 at 22:18
2
Identical issue in Kubuntu 14.04, this fixed it. In KDE it'sDefault Applications -> File Manager
.
– Ash
May 28 '14 at 5:05
Thankyou! I can't believe this worked... As per Ash's comment this fix works on Kubuntu trusty
– dwurf
Sep 4 '14 at 0:59
3
Could you add a hint on where in System Settings that change can be made? In Ubuntu 16.10, there is a section named Default Applications in the Details settings, but it only lets me select defaults for Web, Mail, Calendar, Music, Video, and Photos, no file manager.
– O. R. Mapper
Dec 7 '16 at 9:40
The solution is the result of the file manager becoming the first mentioned afterinode/directory=
, in/usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.
– user47206
Jan 11 '17 at 23:25
1
1
this worked for me. i did not have to restart firefox.
– Jayen
May 12 '14 at 22:18
this worked for me. i did not have to restart firefox.
– Jayen
May 12 '14 at 22:18
2
2
Identical issue in Kubuntu 14.04, this fixed it. In KDE it's
Default Applications -> File Manager
.– Ash
May 28 '14 at 5:05
Identical issue in Kubuntu 14.04, this fixed it. In KDE it's
Default Applications -> File Manager
.– Ash
May 28 '14 at 5:05
Thankyou! I can't believe this worked... As per Ash's comment this fix works on Kubuntu trusty
– dwurf
Sep 4 '14 at 0:59
Thankyou! I can't believe this worked... As per Ash's comment this fix works on Kubuntu trusty
– dwurf
Sep 4 '14 at 0:59
3
3
Could you add a hint on where in System Settings that change can be made? In Ubuntu 16.10, there is a section named Default Applications in the Details settings, but it only lets me select defaults for Web, Mail, Calendar, Music, Video, and Photos, no file manager.
– O. R. Mapper
Dec 7 '16 at 9:40
Could you add a hint on where in System Settings that change can be made? In Ubuntu 16.10, there is a section named Default Applications in the Details settings, but it only lets me select defaults for Web, Mail, Calendar, Music, Video, and Photos, no file manager.
– O. R. Mapper
Dec 7 '16 at 9:40
The solution is the result of the file manager becoming the first mentioned after
inode/directory=
, in /usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.– user47206
Jan 11 '17 at 23:25
The solution is the result of the file manager becoming the first mentioned after
inode/directory=
, in /usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.– user47206
Jan 11 '17 at 23:25
|
show 1 more comment
The suggestion by @carnendil is not wise because the system generates this list at startup and it therefore should not be directly edited by the user. In fact, each entry is supposed to contain all the options available on the system and sometimes the first entry is not the preferred one.
In theory, the suggestion by @Fab should work, but it turns out that sometimes programs attempt to reference defaults.list
exclusively. For example, the discussion on Bugzilla reveals that Firefox doesn't even know to look for either of the user's local lists, defaults.list
and mimeapps.list
.
Therefore, I suggest you edit one of the following files, with the first option probably being the wisest choice unless you are on a multiuser system:
- Edit
/usr/share/applications/defaults.list
; or - Edit both
~/.local/share/applications/mimeapps.list
and~/.local/share/applications/defaults.list
; or - Edit one of the files within
~/.local/share/applications/
and then create a symbolic link to that file from the other (e.g. edit~/.local/share/applications/mimeapps.list
and link to it from~/.local/share/applications/defaults.list
).
To one of the following options above, add (or change) the following line:
inode/directory=Thunar-folder-handler.desktop
1
The accepted answer did not work for me, but this worked for me in Xubuntu 16.04 LTS for Thunar File Manager; Only editing point 1:inode/directory=thunar.desktop
(the other files don't exists).
– Rutrus
Mar 4 '17 at 14:19
1
I think usingxdf-mime default thunar.desktop inode/directory
is even more robust.
– Raphael
Nov 16 '17 at 7:23
add a comment |
The suggestion by @carnendil is not wise because the system generates this list at startup and it therefore should not be directly edited by the user. In fact, each entry is supposed to contain all the options available on the system and sometimes the first entry is not the preferred one.
In theory, the suggestion by @Fab should work, but it turns out that sometimes programs attempt to reference defaults.list
exclusively. For example, the discussion on Bugzilla reveals that Firefox doesn't even know to look for either of the user's local lists, defaults.list
and mimeapps.list
.
Therefore, I suggest you edit one of the following files, with the first option probably being the wisest choice unless you are on a multiuser system:
- Edit
/usr/share/applications/defaults.list
; or - Edit both
~/.local/share/applications/mimeapps.list
and~/.local/share/applications/defaults.list
; or - Edit one of the files within
~/.local/share/applications/
and then create a symbolic link to that file from the other (e.g. edit~/.local/share/applications/mimeapps.list
and link to it from~/.local/share/applications/defaults.list
).
To one of the following options above, add (or change) the following line:
inode/directory=Thunar-folder-handler.desktop
1
The accepted answer did not work for me, but this worked for me in Xubuntu 16.04 LTS for Thunar File Manager; Only editing point 1:inode/directory=thunar.desktop
(the other files don't exists).
– Rutrus
Mar 4 '17 at 14:19
1
I think usingxdf-mime default thunar.desktop inode/directory
is even more robust.
– Raphael
Nov 16 '17 at 7:23
add a comment |
The suggestion by @carnendil is not wise because the system generates this list at startup and it therefore should not be directly edited by the user. In fact, each entry is supposed to contain all the options available on the system and sometimes the first entry is not the preferred one.
In theory, the suggestion by @Fab should work, but it turns out that sometimes programs attempt to reference defaults.list
exclusively. For example, the discussion on Bugzilla reveals that Firefox doesn't even know to look for either of the user's local lists, defaults.list
and mimeapps.list
.
Therefore, I suggest you edit one of the following files, with the first option probably being the wisest choice unless you are on a multiuser system:
- Edit
/usr/share/applications/defaults.list
; or - Edit both
~/.local/share/applications/mimeapps.list
and~/.local/share/applications/defaults.list
; or - Edit one of the files within
~/.local/share/applications/
and then create a symbolic link to that file from the other (e.g. edit~/.local/share/applications/mimeapps.list
and link to it from~/.local/share/applications/defaults.list
).
To one of the following options above, add (or change) the following line:
inode/directory=Thunar-folder-handler.desktop
The suggestion by @carnendil is not wise because the system generates this list at startup and it therefore should not be directly edited by the user. In fact, each entry is supposed to contain all the options available on the system and sometimes the first entry is not the preferred one.
In theory, the suggestion by @Fab should work, but it turns out that sometimes programs attempt to reference defaults.list
exclusively. For example, the discussion on Bugzilla reveals that Firefox doesn't even know to look for either of the user's local lists, defaults.list
and mimeapps.list
.
Therefore, I suggest you edit one of the following files, with the first option probably being the wisest choice unless you are on a multiuser system:
- Edit
/usr/share/applications/defaults.list
; or - Edit both
~/.local/share/applications/mimeapps.list
and~/.local/share/applications/defaults.list
; or - Edit one of the files within
~/.local/share/applications/
and then create a symbolic link to that file from the other (e.g. edit~/.local/share/applications/mimeapps.list
and link to it from~/.local/share/applications/defaults.list
).
To one of the following options above, add (or change) the following line:
inode/directory=Thunar-folder-handler.desktop
edited Jan 14 '18 at 9:20
Mateen Ulhaq
1177
1177
answered Sep 18 '13 at 23:30
jakejake
7113
7113
1
The accepted answer did not work for me, but this worked for me in Xubuntu 16.04 LTS for Thunar File Manager; Only editing point 1:inode/directory=thunar.desktop
(the other files don't exists).
– Rutrus
Mar 4 '17 at 14:19
1
I think usingxdf-mime default thunar.desktop inode/directory
is even more robust.
– Raphael
Nov 16 '17 at 7:23
add a comment |
1
The accepted answer did not work for me, but this worked for me in Xubuntu 16.04 LTS for Thunar File Manager; Only editing point 1:inode/directory=thunar.desktop
(the other files don't exists).
– Rutrus
Mar 4 '17 at 14:19
1
I think usingxdf-mime default thunar.desktop inode/directory
is even more robust.
– Raphael
Nov 16 '17 at 7:23
1
1
The accepted answer did not work for me, but this worked for me in Xubuntu 16.04 LTS for Thunar File Manager; Only editing point 1:
inode/directory=thunar.desktop
(the other files don't exists).– Rutrus
Mar 4 '17 at 14:19
The accepted answer did not work for me, but this worked for me in Xubuntu 16.04 LTS for Thunar File Manager; Only editing point 1:
inode/directory=thunar.desktop
(the other files don't exists).– Rutrus
Mar 4 '17 at 14:19
1
1
I think using
xdf-mime default thunar.desktop inode/directory
is even more robust.– Raphael
Nov 16 '17 at 7:23
I think using
xdf-mime default thunar.desktop inode/directory
is even more robust.– Raphael
Nov 16 '17 at 7:23
add a comment |
I also encountered such problem, but in my case - just switching default File Manager to something and back to needed one, using standard gui, was helpful.
The solution is the result of the file manager becoming the first mentioned afterinode/directory=
, in/usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.
– user47206
Jan 11 '17 at 23:25
add a comment |
I also encountered such problem, but in my case - just switching default File Manager to something and back to needed one, using standard gui, was helpful.
The solution is the result of the file manager becoming the first mentioned afterinode/directory=
, in/usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.
– user47206
Jan 11 '17 at 23:25
add a comment |
I also encountered such problem, but in my case - just switching default File Manager to something and back to needed one, using standard gui, was helpful.
I also encountered such problem, but in my case - just switching default File Manager to something and back to needed one, using standard gui, was helpful.
answered Nov 4 '13 at 10:44
Gill BatesGill Bates
1481314
1481314
The solution is the result of the file manager becoming the first mentioned afterinode/directory=
, in/usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.
– user47206
Jan 11 '17 at 23:25
add a comment |
The solution is the result of the file manager becoming the first mentioned afterinode/directory=
, in/usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.
– user47206
Jan 11 '17 at 23:25
The solution is the result of the file manager becoming the first mentioned after
inode/directory=
, in /usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.– user47206
Jan 11 '17 at 23:25
The solution is the result of the file manager becoming the first mentioned after
inode/directory=
, in /usr/share/applications/mimeinfo.cache
after the setting for file manager is refreshed as indicated (see my answer). Your solution is possible in Unity and other desktops where one has that setting to switch the file manager with a GUI. When that is absent, it can be done manually as indicated.– user47206
Jan 11 '17 at 23:25
add a comment |
There is an old bug that points to some setting in the file /usr/share/applications/mimeinfo.cache
.
The line that starts with inode/directory=
in my system looks like this:
inode/directory=nautilus-folder-handler.desktop;nautilus.desktop;
I guess yours points to Thunar instead.
To make the change, you need to edit mimeinfo.cache
with:
gksu gedit /usr/share/applications/mimeinfo.cache
2
The KDE equivalent to that last line would be to Alt-F2 to get a run dialog and thenkdesudo kate /usr/share/applications/mimeinfo.cache
.
– pbhj
Jul 21 '15 at 22:44
add a comment |
There is an old bug that points to some setting in the file /usr/share/applications/mimeinfo.cache
.
The line that starts with inode/directory=
in my system looks like this:
inode/directory=nautilus-folder-handler.desktop;nautilus.desktop;
I guess yours points to Thunar instead.
To make the change, you need to edit mimeinfo.cache
with:
gksu gedit /usr/share/applications/mimeinfo.cache
2
The KDE equivalent to that last line would be to Alt-F2 to get a run dialog and thenkdesudo kate /usr/share/applications/mimeinfo.cache
.
– pbhj
Jul 21 '15 at 22:44
add a comment |
There is an old bug that points to some setting in the file /usr/share/applications/mimeinfo.cache
.
The line that starts with inode/directory=
in my system looks like this:
inode/directory=nautilus-folder-handler.desktop;nautilus.desktop;
I guess yours points to Thunar instead.
To make the change, you need to edit mimeinfo.cache
with:
gksu gedit /usr/share/applications/mimeinfo.cache
There is an old bug that points to some setting in the file /usr/share/applications/mimeinfo.cache
.
The line that starts with inode/directory=
in my system looks like this:
inode/directory=nautilus-folder-handler.desktop;nautilus.desktop;
I guess yours points to Thunar instead.
To make the change, you need to edit mimeinfo.cache
with:
gksu gedit /usr/share/applications/mimeinfo.cache
answered Mar 13 '13 at 23:26
carnendilcarnendil
4,85512152
4,85512152
2
The KDE equivalent to that last line would be to Alt-F2 to get a run dialog and thenkdesudo kate /usr/share/applications/mimeinfo.cache
.
– pbhj
Jul 21 '15 at 22:44
add a comment |
2
The KDE equivalent to that last line would be to Alt-F2 to get a run dialog and thenkdesudo kate /usr/share/applications/mimeinfo.cache
.
– pbhj
Jul 21 '15 at 22:44
2
2
The KDE equivalent to that last line would be to Alt-F2 to get a run dialog and then
kdesudo kate /usr/share/applications/mimeinfo.cache
.– pbhj
Jul 21 '15 at 22:44
The KDE equivalent to that last line would be to Alt-F2 to get a run dialog and then
kdesudo kate /usr/share/applications/mimeinfo.cache
.– pbhj
Jul 21 '15 at 22:44
add a comment |
If the already mentioned solutions don't work, try this.
Write the following to /usr/share/dbus-1/services/org.freedesktop.FileManager1.service
:
[D-BUS Service]
Name=org.freedesktop.FileManager1
Exec=/usr/bin/thunar --gapplication-service
Change the Exec
line to your liking. (Default nautilus
.)
add a comment |
If the already mentioned solutions don't work, try this.
Write the following to /usr/share/dbus-1/services/org.freedesktop.FileManager1.service
:
[D-BUS Service]
Name=org.freedesktop.FileManager1
Exec=/usr/bin/thunar --gapplication-service
Change the Exec
line to your liking. (Default nautilus
.)
add a comment |
If the already mentioned solutions don't work, try this.
Write the following to /usr/share/dbus-1/services/org.freedesktop.FileManager1.service
:
[D-BUS Service]
Name=org.freedesktop.FileManager1
Exec=/usr/bin/thunar --gapplication-service
Change the Exec
line to your liking. (Default nautilus
.)
If the already mentioned solutions don't work, try this.
Write the following to /usr/share/dbus-1/services/org.freedesktop.FileManager1.service
:
[D-BUS Service]
Name=org.freedesktop.FileManager1
Exec=/usr/bin/thunar --gapplication-service
Change the Exec
line to your liking. (Default nautilus
.)
edited Dec 18 '17 at 15:03
Mateen Ulhaq
1177
1177
answered Jun 29 '17 at 9:43
MagicadarkMagicadark
311
311
add a comment |
add a comment |
If you don't want to modify the system settings, or don't have access to it, you may copy & personalize the line starting with inode/directory=
(from /usr/share/applications/mimeinfo.cache
) to ~/.local/share/applications/mimeapps.list
add a comment |
If you don't want to modify the system settings, or don't have access to it, you may copy & personalize the line starting with inode/directory=
(from /usr/share/applications/mimeinfo.cache
) to ~/.local/share/applications/mimeapps.list
add a comment |
If you don't want to modify the system settings, or don't have access to it, you may copy & personalize the line starting with inode/directory=
(from /usr/share/applications/mimeinfo.cache
) to ~/.local/share/applications/mimeapps.list
If you don't want to modify the system settings, or don't have access to it, you may copy & personalize the line starting with inode/directory=
(from /usr/share/applications/mimeinfo.cache
) to ~/.local/share/applications/mimeapps.list
edited Jun 23 '13 at 19:14
papukaija
2,3092024
2,3092024
answered Jun 23 '13 at 18:25
FabFab
211
211
add a comment |
add a comment |
Solution for those running an XFCE environment, based on the other answers:
Run
xfce4-mime-settings
(or Settings Menu -> Mime Type Editor).Find inode/directory in the list
Set Open Folder with Thunar or similar
add a comment |
Solution for those running an XFCE environment, based on the other answers:
Run
xfce4-mime-settings
(or Settings Menu -> Mime Type Editor).Find inode/directory in the list
Set Open Folder with Thunar or similar
add a comment |
Solution for those running an XFCE environment, based on the other answers:
Run
xfce4-mime-settings
(or Settings Menu -> Mime Type Editor).Find inode/directory in the list
Set Open Folder with Thunar or similar
Solution for those running an XFCE environment, based on the other answers:
Run
xfce4-mime-settings
(or Settings Menu -> Mime Type Editor).Find inode/directory in the list
Set Open Folder with Thunar or similar
answered Feb 1 at 6:22
AndrewAndrew
1112
1112
add a comment |
add a comment |
had the same problem (Kubuntu 14.04, download-folder are opened with audacious). Ultimative solution explained here: https://mtekk.us/archives/guides/make-firefox-use-dolphin-for-open-containing-folder/
In my case: I had to remove audacious and gwenview from the list and it worked (opens with my default file-manager dolphin)
add a comment |
had the same problem (Kubuntu 14.04, download-folder are opened with audacious). Ultimative solution explained here: https://mtekk.us/archives/guides/make-firefox-use-dolphin-for-open-containing-folder/
In my case: I had to remove audacious and gwenview from the list and it worked (opens with my default file-manager dolphin)
add a comment |
had the same problem (Kubuntu 14.04, download-folder are opened with audacious). Ultimative solution explained here: https://mtekk.us/archives/guides/make-firefox-use-dolphin-for-open-containing-folder/
In my case: I had to remove audacious and gwenview from the list and it worked (opens with my default file-manager dolphin)
had the same problem (Kubuntu 14.04, download-folder are opened with audacious). Ultimative solution explained here: https://mtekk.us/archives/guides/make-firefox-use-dolphin-for-open-containing-folder/
In my case: I had to remove audacious and gwenview from the list and it worked (opens with my default file-manager dolphin)
answered Nov 4 '15 at 19:02
msch_muhmsch_muh
1
1
add a comment |
add a comment |
The solution presented in other answers here and here involving refreshing the setting for file manager also works, but you need the GUI setting for that, and it also may be temporary, as the culprit may take over after programs installations or updates (see link below).
This is a problem that also appeared for me in more recent Ubuntu versions and ubuntu-based systems, and also in other Linux systems like Manjaro. It also appears in the same way in other browsers like Chrome and even other programs (like uGet, a downloader that also has the option "open containing folder"). The problem may appear also in more severe forms, where the default file manager is not replaced by other file manager, but by a different program (text editor, multimedia player).
The problem is, as indicated here, triggered only by the certain programs.
The best solution is to create or edit ~/.local/share/applications/mimeapps.list
: edit the line that starts with inode/directory=
and add the name of the file manager that you use if it is not there already; if that is already there but another program is listed there first, put the file manager first (if you need the other program(s) to open folders).
For Pantheon Files it should be like
[Default Applications]
inode/directory=nautilus-folder-handler.desktop
If the desktop environment is not freedesktop complient, like my Manjaro Cinnamon, the file to be created/edited should be ~/.local/share/applications/mimeinfo.cache
like so:
[MIME Cache]
inode/directory=nautilus-folder-handler.desktop
Also here.
add a comment |
The solution presented in other answers here and here involving refreshing the setting for file manager also works, but you need the GUI setting for that, and it also may be temporary, as the culprit may take over after programs installations or updates (see link below).
This is a problem that also appeared for me in more recent Ubuntu versions and ubuntu-based systems, and also in other Linux systems like Manjaro. It also appears in the same way in other browsers like Chrome and even other programs (like uGet, a downloader that also has the option "open containing folder"). The problem may appear also in more severe forms, where the default file manager is not replaced by other file manager, but by a different program (text editor, multimedia player).
The problem is, as indicated here, triggered only by the certain programs.
The best solution is to create or edit ~/.local/share/applications/mimeapps.list
: edit the line that starts with inode/directory=
and add the name of the file manager that you use if it is not there already; if that is already there but another program is listed there first, put the file manager first (if you need the other program(s) to open folders).
For Pantheon Files it should be like
[Default Applications]
inode/directory=nautilus-folder-handler.desktop
If the desktop environment is not freedesktop complient, like my Manjaro Cinnamon, the file to be created/edited should be ~/.local/share/applications/mimeinfo.cache
like so:
[MIME Cache]
inode/directory=nautilus-folder-handler.desktop
Also here.
add a comment |
The solution presented in other answers here and here involving refreshing the setting for file manager also works, but you need the GUI setting for that, and it also may be temporary, as the culprit may take over after programs installations or updates (see link below).
This is a problem that also appeared for me in more recent Ubuntu versions and ubuntu-based systems, and also in other Linux systems like Manjaro. It also appears in the same way in other browsers like Chrome and even other programs (like uGet, a downloader that also has the option "open containing folder"). The problem may appear also in more severe forms, where the default file manager is not replaced by other file manager, but by a different program (text editor, multimedia player).
The problem is, as indicated here, triggered only by the certain programs.
The best solution is to create or edit ~/.local/share/applications/mimeapps.list
: edit the line that starts with inode/directory=
and add the name of the file manager that you use if it is not there already; if that is already there but another program is listed there first, put the file manager first (if you need the other program(s) to open folders).
For Pantheon Files it should be like
[Default Applications]
inode/directory=nautilus-folder-handler.desktop
If the desktop environment is not freedesktop complient, like my Manjaro Cinnamon, the file to be created/edited should be ~/.local/share/applications/mimeinfo.cache
like so:
[MIME Cache]
inode/directory=nautilus-folder-handler.desktop
Also here.
The solution presented in other answers here and here involving refreshing the setting for file manager also works, but you need the GUI setting for that, and it also may be temporary, as the culprit may take over after programs installations or updates (see link below).
This is a problem that also appeared for me in more recent Ubuntu versions and ubuntu-based systems, and also in other Linux systems like Manjaro. It also appears in the same way in other browsers like Chrome and even other programs (like uGet, a downloader that also has the option "open containing folder"). The problem may appear also in more severe forms, where the default file manager is not replaced by other file manager, but by a different program (text editor, multimedia player).
The problem is, as indicated here, triggered only by the certain programs.
The best solution is to create or edit ~/.local/share/applications/mimeapps.list
: edit the line that starts with inode/directory=
and add the name of the file manager that you use if it is not there already; if that is already there but another program is listed there first, put the file manager first (if you need the other program(s) to open folders).
For Pantheon Files it should be like
[Default Applications]
inode/directory=nautilus-folder-handler.desktop
If the desktop environment is not freedesktop complient, like my Manjaro Cinnamon, the file to be created/edited should be ~/.local/share/applications/mimeinfo.cache
like so:
[MIME Cache]
inode/directory=nautilus-folder-handler.desktop
Also here.
edited Apr 13 '17 at 12:37
Community♦
1
1
answered Jan 11 '17 at 22:22
user47206
add a comment |
add a comment |
I had the same issue as you guys but none of the answers really worked for me.
I had downloaded Konqueror (so that I can listen to Spotify independently of Firefox) and it had installed Dolphin as a prerequisite. Firefox started opening files in Dolphin after that.
As I do not use Dolphin for anything and Konqueror is only being used for Spotify, I decided to do away with Dolphin. Every distro has some kind of option to uninstall packages while leaving the packages that depend on them alone.
In arch it was:
sudo pacman -Rdd dolphin
I don't use Ubuntu but since this channel is called askubuntu, I did a bit of research for the Ubuntu equivalent:
sudo dpkg -r --force-depends dolphin
(based on this thread)
For Thunar it should be:
sudo dpkg -r --force-depends thunar
Obviously this won't apply to everyone. It's a judgment call, you have to be sure that the extra filebrowser you're removing is not essential to something that will break without it. As long you're certain no system apps need it, you can always uninstall it and see if things are stable and just re-install it if they are not.
you have installed the culprit without needing it, and removing it is of course a solution. but if the problem is created by a program that you want to keep, look here.
– user47206
Jan 13 '17 at 11:40
add a comment |
I had the same issue as you guys but none of the answers really worked for me.
I had downloaded Konqueror (so that I can listen to Spotify independently of Firefox) and it had installed Dolphin as a prerequisite. Firefox started opening files in Dolphin after that.
As I do not use Dolphin for anything and Konqueror is only being used for Spotify, I decided to do away with Dolphin. Every distro has some kind of option to uninstall packages while leaving the packages that depend on them alone.
In arch it was:
sudo pacman -Rdd dolphin
I don't use Ubuntu but since this channel is called askubuntu, I did a bit of research for the Ubuntu equivalent:
sudo dpkg -r --force-depends dolphin
(based on this thread)
For Thunar it should be:
sudo dpkg -r --force-depends thunar
Obviously this won't apply to everyone. It's a judgment call, you have to be sure that the extra filebrowser you're removing is not essential to something that will break without it. As long you're certain no system apps need it, you can always uninstall it and see if things are stable and just re-install it if they are not.
you have installed the culprit without needing it, and removing it is of course a solution. but if the problem is created by a program that you want to keep, look here.
– user47206
Jan 13 '17 at 11:40
add a comment |
I had the same issue as you guys but none of the answers really worked for me.
I had downloaded Konqueror (so that I can listen to Spotify independently of Firefox) and it had installed Dolphin as a prerequisite. Firefox started opening files in Dolphin after that.
As I do not use Dolphin for anything and Konqueror is only being used for Spotify, I decided to do away with Dolphin. Every distro has some kind of option to uninstall packages while leaving the packages that depend on them alone.
In arch it was:
sudo pacman -Rdd dolphin
I don't use Ubuntu but since this channel is called askubuntu, I did a bit of research for the Ubuntu equivalent:
sudo dpkg -r --force-depends dolphin
(based on this thread)
For Thunar it should be:
sudo dpkg -r --force-depends thunar
Obviously this won't apply to everyone. It's a judgment call, you have to be sure that the extra filebrowser you're removing is not essential to something that will break without it. As long you're certain no system apps need it, you can always uninstall it and see if things are stable and just re-install it if they are not.
I had the same issue as you guys but none of the answers really worked for me.
I had downloaded Konqueror (so that I can listen to Spotify independently of Firefox) and it had installed Dolphin as a prerequisite. Firefox started opening files in Dolphin after that.
As I do not use Dolphin for anything and Konqueror is only being used for Spotify, I decided to do away with Dolphin. Every distro has some kind of option to uninstall packages while leaving the packages that depend on them alone.
In arch it was:
sudo pacman -Rdd dolphin
I don't use Ubuntu but since this channel is called askubuntu, I did a bit of research for the Ubuntu equivalent:
sudo dpkg -r --force-depends dolphin
(based on this thread)
For Thunar it should be:
sudo dpkg -r --force-depends thunar
Obviously this won't apply to everyone. It's a judgment call, you have to be sure that the extra filebrowser you're removing is not essential to something that will break without it. As long you're certain no system apps need it, you can always uninstall it and see if things are stable and just re-install it if they are not.
edited Apr 13 '17 at 12:23
Community♦
1
1
answered Jan 10 '17 at 19:01
thebunnyrulesthebunnyrules
437310
437310
you have installed the culprit without needing it, and removing it is of course a solution. but if the problem is created by a program that you want to keep, look here.
– user47206
Jan 13 '17 at 11:40
add a comment |
you have installed the culprit without needing it, and removing it is of course a solution. but if the problem is created by a program that you want to keep, look here.
– user47206
Jan 13 '17 at 11:40
you have installed the culprit without needing it, and removing it is of course a solution. but if the problem is created by a program that you want to keep, look here.
– user47206
Jan 13 '17 at 11:40
you have installed the culprit without needing it, and removing it is of course a solution. but if the problem is created by a program that you want to keep, look here.
– user47206
Jan 13 '17 at 11:40
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f267514%2fopen-containing-folder-in-firefox-does-not-use-my-default-file-manager%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
The answers to this question didn't work for me, but this did: askubuntu.com/a/404332/10244
– GlenPeterson
Jan 12 '14 at 13:45
1
Possible duplicate of Stop folders opening with different application than the file manager
– user47206
Jan 12 '17 at 0:09