Add a 'Run in Konsole' action .desktop

This adds a 'Run in Konsole' action in dolphin/konq/etc.

REVIEW: 107086
(cherry picked from commit 8287066eb5)
wilder-portage
Kurt Hindenburg 12 years ago
parent 89160c5985
commit dd1b68eb73
  1. 2
      desktop/CMakeLists.txt
  2. 13
      desktop/konsolerun.desktop

@ -6,4 +6,6 @@ install( PROGRAMS konsole.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES terminalemulator.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
install( FILES konsolepart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES konsolehere.desktop DESTINATION ${SERVICES_INSTALL_DIR}/ServiceMenus )
install( FILES konsolerun.desktop DESTINATION ${SERVICES_INSTALL_DIR}/ServiceMenus )
install( FILES konsole.notifyrc konsoleui.rc sessionui.rc partui.rc DESTINATION ${DATA_INSTALL_DIR}/konsole )

@ -0,0 +1,13 @@
[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=application/x-executable;
Actions=runInKonsole;
X-KDE-AuthorizeAction=shell_access
[Desktop Action runInKonsole]
TryExec=konsole
Exec=konsole --hold -e %f
Icon=utilities-terminal
Name=Run In Konsole
Loading…
Cancel
Save