1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-04 17:30:55 +00:00

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
This commit is contained in:
Nate Graham 2019-03-17 10:05:46 -06:00
parent bf314f2dff
commit 58084cf7da
2 changed files with 35 additions and 0 deletions

View File

@ -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)

33
dolphin.khotkeys Normal file
View File

@ -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