Created
October 3, 2013 17:30
-
-
Save pierre-haessig/6813708 to your computer and use it in GitHub Desktop.
a .desktop file to create an entry in KDE Dolphin's Actions menu to lauch IPython in the current directory. File to be placed in ~/.kde/share/kde4/services/ServiceMenus/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Type=Service | |
X-KDE-ServiceTypes=KonqPopupMenu/Plugin | |
MimeType=inode/directory; | |
Actions=openIPythonHere; | |
X-KDE-AuthorizeAction=shell_access | |
[Desktop Action openIPythonHere] | |
# TryExec=ipython | |
Exec=cd %f; ipython qtconsole --pylab | |
Icon=utilities-terminal | |
Name=Open IPython Here | |
Name[fr]=Ouvrir IPython ici | |
# Ressources: | |
# Examples in /usr/share/kde4/services/ | |
# https://bbs.archlinux.org/viewtopic.php?id=136722 | |
# http://techbase.kde.org/Development/Tutorials/Creating_Konqueror_Service_Menus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment