Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 3258  / 2 Years ago, thu, january 27, 2022, 5:06:59

I have followed the instructions in this thread: How do I set IDLE as the default editor for Python scripts?, but it hasn't resulted in the option to open in IDLE being shown.



So I used the 'Find applications online' option in the 'Open with...' menu and installed SPE (Stanli's Python Editor) at it's recommendation, but the option to open .py files with that also isn't in the menu.



Does anyone have any suggestions? I'm running ubuntu 13.10 and am trying to use Python 3.3.



Thanks in advance.



Screenshots:



Option 1:



mimeapps.list



open with options



Option 2:



idle.desktop



more open with options


More From » 13.10

 Answers
6

I had the same problem. This how I solved it:




  1. Uninstall idle from where you installed it.

  2. Install IDLE (using Python-3.3) from the Ubuntu Software Center. (It didn't work when I installed from Synaptic)

  3. Enter in terminal: gksudo gedit /usr/share/applications/idle-python3.3.desktop

  4. Edit file so it looks like this (exactly):




[Desktop Entry]
Name=IDLE (using Python-3.3)
Comment=Integrated Development Environment for Python (using Python-3.3)
Exec=/usr/bin/idle-python3.3 %F
Icon=/usr/share/pixmaps/python3.3.xpm
Terminal=false
Type=Application
Categories=Application;Development;
MimeType=text/x-python;
StartupNotify=true



Then it was visible in the menu for me.


[#26408] Friday, January 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
wherejuic

Total Points: 53
Total Questions: 123
Total Answers: 117

Location: Zambia
Member since Mon, Jan 23, 2023
1 Year ago
;