Set Idle python as default open in linux ubuntu, this day, i wanna show you simple tutorial how to Set Idle python as default open in linux ubuntu. This tutorial has been asked and solved by user and in

So, there i want to re-share again in this tutorial with simple setting:

1.Edit this location of applications with gedit or other editor.

$ gedit ~/.local/share/applications/mimeapps.list

2.Add this following text to bottom of [ Applications ] in mimeapps.list.


3.Edit idle.desktop like this commands. requirements for installed gksu, if not installed please installed with this following commands: $ sudo apt-get install gksu. and then:

$ gksudo gedit /usr/share/applications/idle.desktop

If that idle.desktop is blank, you can edit this idle-python2.7.desktop.

4.Edit in this line Exec=/usr/bin/idle, change to Exec=/usr/bin/idle -n %f, and then complete script like this:

[Desktop Entry]
Comment=Integrated Development Environment for Python
Exec=/usr/bin/idle -n %f

5.Click Right on your script of python. and then change as default idle. 

Set Idle python as default open in linux ubuntu

146 7 7 0