1

Suppose I have a certain file type that every time I double click on from Nautilus I want a to run a python command on this file, how can I do this?

For example let's say I have a file called test_file.my_extension and a python file called something.py that does something on my file. I want to be able to click on test_file.my_extension from Nautilus and make a bash session to open and run python something.py test_file.my_extension. Is it possible to do such a thing?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.