搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Add application to applications list

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

Hello.

Im a happy user of firefox since many years. Im now trying to open a file with extension .py (Python file). I have some files but .py is not within the applications list. So I need to everytime, choose that I want to use geany to open this file. Why is not there a way to add file types in firefox? I can only change those that already is in there.

I have asked in chat and searched the internet, but cannot find any information about it.

Need help. Hopefully you can help me.

Thanks in advice

Kind regards

/Björn

Hello. Im a happy user of firefox since many years. Im now trying to open a file with extension .py (Python file). I have some files but .py is not within the applications list. So I need to everytime, choose that I want to use geany to open this file. Why is not there a way to add file types in firefox? I can only change those that already is in there. I have asked in chat and searched the internet, but cannot find any information about it. Need help. Hopefully you can help me. Thanks in advice Kind regards /Björn

所有回覆 (4)

more options

Hello /Björn, try the next add-on : Open in Browser

thank you

more options

I want to be able to add geany as the program to open python files with. Geany is a local program on my computer.

more options

To add Geany and open .py in firefox ? I don't known...and i don't think if that is possible, sorry.

Please wait another contributor, more familiar with linux to answer this, cor-el probably ?  :-)

thanks

more options

What is the default application for .py files?

You can only link a specific MIME type (application/x-python) to an application in Firefox. If the server sends a file with a generic MIME type then this won't work.

You can use a command like this in a terminal window to query the default application and set the default application.

  • MIME type:
    xdg-mime query default application/x-python
  • Set default application for a MIME type:
    xdg-mime default bluefish.desktop application/x-python