Summary: | newly assigned shortcut keys don't work | ||
---|---|---|---|
Product: | [Applications] kmenuedit | Reporter: | adam <spam> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | aendu+bugs.kde.org, gatoatigrado, jgj7.kde, untitled.no4, wstephenson |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | script to enable menu shortcuts in khotkeysrc |
Description
adam
2009-06-28 13:18:51 UTC
Same thing happens with Kubuntu 9.04 KDE 4.3 RC1. Shortcut keys that were set before upgrading to KDE 4.3 beta 2 work, but newly assigned shortcut keys don't. Problem is still present in KDE 4.3 RC2. How come this is normal priority/unconfirmed? Wouldn't want to roll out KDE 4.3 with this bug, surely? Fresh install of Kubuntu Karmic alpha 3 with full update today (KDE 4.3), and no app keyboard shortcuts assigned in kmenuedit work (it accepts and keeps them but they don't work). Alt-Tab and other global shortcuts work okay. Workaround... It appears that when kmenuedit adds the shortcut to ~/.kde/share/config/khotkeysrc (via qdbus?), it sets "Enabled=false". For example: [Data_1_2] Comment=firefox.desktop Enabled=false Name=Firefox Web Browser Type=MENUENTRY_SHORTCUT_ACTION_DATA If you edit khotskeyrc and change "Enabled=true" for the desired entry, then tell khotkeys to reload its config file: qdbus org.kde.kded /modules/khotkeys org.kde.khotkeys.reread_configuration Then the shortcuts work for me. (Note: Don't change all the "Enabled=false" in that file to true because some are just examples) Created attachment 36104 [details]
script to enable menu shortcuts in khotkeysrc
Be sure to run as user not as root
Also note that this bug may affect the workaround (namely, if it is a brand new menu item, you have to save it twice with the shortcut key before it will be stored, then use the above Enabled=true workaround)... https://bugs.kde.org/show_bug.cgi?id=203601 Also, above is a simple script that corrects the problem in khotkeysrc... run it after saving the menu and it will enable the keys. (On my system the "[Data1..." entries are for the menu - if this differs on your system you will need to change the script.) *** Bug 199315 has been marked as a duplicate of this bug. *** This seems to work for me with svn (4.4pre) *** Bug 203601 has been marked as a duplicate of this bug. *** |