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 inhttp://askubuntu.com/a/78645.
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
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
idle.desktop is blank, you can edit this
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] Name=IDLE Comment=Integrated Development Environment for Python Exec=/usr/bin/idle -n %f Icon=/usr/share/pixmaps/idle.xpm Terminal=false Type=Application Categories=Application;Development; StartupNotify=true
5.Click Right on your script of python. and then change as default idle.
posted 7 months, 1 week ago