Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Add application to applications list

  • 4 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av 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

Alla svar (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