I'm using Ubuntu 13.04 and python 2.7. When I click a .py file, it opens it in gedit. I want it to open in IDLE. When I right-click and choose "open with", IDLE is not in the list. I have tried several things I've read online but none have worked.
Edit: I've fixed it. I needed to add a -python2.7 when opening idle.desktop, which allowed me to open the proper file and edit the proper line.