搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

话题已关闭并存档。 如果需要帮助请提出新问题。

How do I change the program that opens folders?

  • 6 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 MartinT

more options

When I download files, I then want to open them. If I click on the Downloads arrow and see my file, I click on the file and want to open the folder where it is. If I do this, my default file manager does not open. I get one named Files. I have searched and found several posts that tell how. None of them work for me.

I am running Fedora 21 64 bit mode.

How can I change the name of the program that opens the folder?

How can I add an entry into Firefoxes Applications tab?

Thank you.

When I download files, I then want to open them. If I click on the Downloads arrow and see my file, I click on the file and want to open the folder where it is. If I do this, my default file manager does not open. I get one named Files. I have searched and found several posts that tell how. None of them work for me. I am running Fedora 21 64 bit mode. How can I change the name of the program that opens the folder? How can I add an entry into Firefoxes Applications tab? Thank you.

所有回复 (6)

more options

Is this with all type files?

I've called the big guys to help you. Good luck.

more options

I want to change the program that opens up when I clink "Open Containing Folder" after I have downloaded something. I have tried everything that I could find.

Is the program name kept in about:config?

more options

That isn't a setting in Firefox, but is set on the OS level (Linux).

I get:

  • /usr/share/applications/nautilus-folder-handler.desktop
[Desktop Entry]
Name=Open Folder
TryExec=nautilus
Exec=nautilus --no-desktop %U
NoDisplay=true
Terminal=false
Icon=folder-open
StartupNotify=true
Type=Application
MimeType=x-directory/gnome-default-handler;x-directory/normal;inode/directory;application/x-gnome-saved-search;
OnlyShowIn=GNOME;

由cor-el于修改

more options

It does not look like Firefox is honoring the xdg-mine value.

[vince@Vincepc ~]$ xdg-mime query default inode/directory dolphin.desktop

xdg-open /etc opens the /etc directory in Dolphin like I want. However, in Firefox if I try to open the containing folder of a downloaded file, it opens in a program called Files. Where does Files come from? I do not have a program with that name installed according to YUMEX.

How do I find out where Firefox is getting the name of the program to use?

more options

Did you search the .desktop files to see if there is one with that Files item?

  • /usr/share/applications/
  • ~/.local/share/applications
more options

I have the same problem with Debian 8.

I used the Gnome System Monitor and found that 'Files' is actually /usr/bin/nautilus the Gnome file manager.

I renamed nautilus to stop it running. Firefox launched /usr/bin/pcmanfm, the LXDE file manager, instead.

I then renamed pcmanfm and Firefox then launched konqueror.

In fact, it now launches the default KDE program for handling directories which can easily be edited. In either konqueror or dolphin right-click on a directory, select 'properties', and then 'File Type Options'. You can move whatever you want to the top of the list.

So I solved the problem for my system - though it is a bit of a Kludge and I am still not sure what Firefox is doing.