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
install( FILES dolphin.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
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)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
--- /dev/null
+[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