From: Nate Graham Date: Sun, 17 Mar 2019 16:05:46 +0000 (-0600) Subject: Create a global launch shortcut (Meta+E) X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/58084cf7da362d77919483cbb9a7a23333ce86c5?ds=inline Create a global launch shortcut (Meta+E) Summary: This patch adds a global shortcut ({key Meta E}) to launch Dolphin, just like Konsole has. FEATURE: 405302 FIXED-IN: 19.04.0 Test Plan: 1. Apply patch and reboot, or create and log into a new user 2. Hit {key Meta E} 3. Dolphin opens! Reviewers: #dolphin, #vdg, elvisangelaccio Reviewed By: #dolphin, elvisangelaccio Subscribers: hallas, elvisangelaccio, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D19831 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7bd27a7f7..72ab75d36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,5 +142,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.dolphin.FileManager1.service install( FILES dolphin.categories DESTINATION ${KDE_INSTALL_CONFDIR} ) +install( FILES dolphin.khotkeys DESTINATION ${KDE_INSTALL_DATADIR}/khotkeys ) + feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) diff --git a/dolphin.khotkeys b/dolphin.khotkeys new file mode 100644 index 000000000..ae6fb02b4 --- /dev/null +++ b/dolphin.khotkeys @@ -0,0 +1,33 @@ +[Main] +ImportId=dolphin +Version=2 +Autostart=true +Disabled=false + +[Data] +DataCount=1 + +[Data_1] +Comment=Global keyboard shortcut to launch Dolphin +Enabled=true +Name=Launch Dolphin +Type=MENUENTRY_SHORTCUT_ACTION_DATA + +[Data_1Actions] +ActionsCount=1 + +[Data_1Actions0] +CommandURL=org.kde.dolphin.desktop +Type=MENUENTRY + +[Data_1Conditions] +Comment= +ConditionsCount=0 + +[Data_1Triggers] +Comment=Simple_action +TriggersCount=1 + +[Data_1Triggers0] +Key=Meta+E +Type=SHORTCUT