ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Add application to applications list

  • 4 ردود
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه 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

All Replies (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