![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Add application to applications list
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)
Hello /Björn, try the next add-on : Open in Browser
thank you
I want to be able to add geany as the program to open python files with. Geany is a local program on my computer.
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
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