We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Linux: downloaded files open with the wrong application

  • 2 답장
  • 22 이 문제를 만남
  • 11 보기
  • 최종 답변자: hemmung

more options

I'm using Firefox 31.0 on Ubuntu 14.04.

I've downloaded a DJVU-file. The filetype association on my PC is to open it in evince. However, when I use the drop-down download menu in the toolbar, where the last downloads are listed, to open the DJVU file, it is opened with gedit. If I select "Show All Downloads" and double-click the downloaded DJVU in the window that opens up, then it is correctly opened in evince.

What happens here? Why does Firefox use gedit for the drop-down list but the correct application in the library window? How can I fix this?

I'm using Firefox 31.0 on Ubuntu 14.04. I've downloaded a DJVU-file. The filetype association on my PC is to open it in evince. However, when I use the drop-down download menu in the toolbar, where the last downloads are listed, to open the DJVU file, it is opened with gedit. If I select "Show All Downloads" and double-click the downloaded DJVU in the window that opens up, then it is correctly opened in evince. What happens here? Why does Firefox use gedit for the drop-down list but the correct application in the library window? How can I fix this?

모든 댓글 (2)

more options

Hello there,

Lets try to fix this. Follow the following steps:

1.  Click the menu button in New Fx Menu and choose Options
2.  Select the Applications panel.
3.  The Applications panel will display. Select the type of file for which you 
      want to change the default action. (in your case DJVU-file)
 
4.  The Action column will give you a drop-down menu, with options on 
      action to take, whenever you click that type of file. 

https://support.cdn.mozilla.net/media/uploads/images/2014-08-09-07-28-26-cb20cb.png


       Always ask: will prompt you to select what action you want Firefox   
        to take when you click on that type of file. This can be useful if Firefox 
        is automatically saving a file type or is always opening it with a certain  
        program and you want to be asked what to do.
        Save File: will always save the file to your computer using the 
        Downloads window, whenever you click that type of file.
        Open the file with an application or plugin of your choosing. 
5.  Click OK to close the Options window after making changes. 

You can also refer to this article https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file for more info.

Hope it helps.

more options

Thank you for your reply!

Well, this is not precisely what I wanted to do: my option in the Application settings is set to "Always ask", and this is what I would like Firefox to do. However, after the file is saved, I expect that it is opened with my system's default application for DJVU files, but Firefox just keeps opening it with the text editor (gedit) if I click on the file in the download drop-down menu in the toolbar.

Meanwhile, I have figured out how to fix it, however I find that this should work from the beginning without having to fix it.

The problem was that in the application settings there was no default application set for that file type, although my system specifies one (see first picture).

After I have selected "User other..." and set it to my preferred programme for DJVU files (evince), the menu has changed (see second picture). Now, even if I leave the option "Always ask" set, the correct application is used for opening that file type.

There are several questions which I am wondering about: 1) Why is this not set to system's default application if the user has not manually specified anything else? I think using the text editor instead is not the best option. 2) Why is the behavior in the downloads window (="Library") different from the drop-down menu? Even with the default programme not set in the applications preferences, clicking on the file in the downloads windows opens system's default programme.

I am not sure if this is the desired behavior, for me it seems slightly inconsistent.