Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to be able to double click on a Python script (or SH script) inside Nautilus and then it run. So I made a custom desktop file, contents:

[Desktop Entry]
Exec=run-txtexe %f
Comment=Runs executable text files

I put this in a file named run-txtexe.desktop under ~/.local/share/applications.

I go to Nautilus, right-click on a Python script (text/x-python) and mouse over the "Open With " menu. Not there. I click on "Other Application...". Not there. I then click "Show other applications". Not there either!

Is this a bug or am I just doing something wrong?

I am running:

Fedora 19
Nautilus 3.8.2
share|improve this question
up vote 2 down vote accepted

This is a new... 'feature' of Nautilus 3.8, it ignores .desktop files that have NoDisplay=true

Possible workaround: replace NoDisplay=true with NotShowIn=NAME-OF-YOUR-DESKTOP-ENVIRONMENT

share|improve this answer
Well that stinks. Thanks for the workaround. – DanielTA Oct 11 '13 at 18:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .