This answer Find and raise a window in KDE4 with shortcut tells how to set a keyboard shortcut which activates a particular windows. It works wonderfully. But if I close the application and restart it, the shortcut resets. Is there a way to make it persistent?
Asked
Active
Viewed 382 times
1 Answers
1
Go to the following KDE menu
System SettingsShortcuts and GesturesCustom Shortcuts
Now select
EditNewGlobal ShortcutCommand/URL
Which allows you to set a trigger and the action wmctrl -a "<application>".
In KDE 5, you need to enable the new action by clicking the checkbox next to it in the tree (or its group, if its group is not enabled).
Notes:
- Tested with KDE 4.11.5 and KDE Frameworks 5.18.0.
- Verify that
wmctrlis installed. - The global shortcut will not appear in the title bar of the window.
- If you select the
Examplesgroup, there is an entryActivate KSIRC Windowbut I could not find a way to recreate similar entries using the user interface. It is possible to export the example group to a*.khotkeysfile, manually create such entries and import them but usingwmcrtlseems more comfortable.
Robin Green
- 1,325
Silpion
- 266
- 2
- 5