Ask Your Question

Revision history [back]

set default application to a terminal command?

Hi, I have a .py file I am trying to open. I can open it with the terminal with python main.py, but I want to set python (filename) as the default for .py files. Is there a way to do this? I'm running fedora workstation 29, btw.