You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, March 13th 2007, 7:56pm

kmenuedit - cannot reassign shortcut

Error:
The key Alt+Ctrl+F can not be used here because it is already in use.

I know "why". During a gentoo update to kde 3.5.2 many of my Kmenu items vanished. I have a number of shortcuts in limbo like this. It would seem that the existence of the older shortcuts got carried across but not their Kmenu entries.

Is there a file I can edit to purge these old shortcuts?

TIA

2

Tuesday, March 13th 2007, 9:17pm

you can try to rename/delete the directories ~/.local and ~/.kde/share/applnk and restart KDE
With some luck, most of the wrong entries in your kmenu are gone and others appear in the menu again.
Help mee om KDE 3.5.5 in het Nederlands te vertalen

3

Wednesday, March 14th 2007, 8:08pm

It didn't work I'm afraid. First thing I did after restarting kde was to try the menu editor was run the menu editor but it still knew about the old shortcut.

Any other suggestions?

If I knew what to grep for (or even the name of the sourcecode file) I'm stubbon enough to persist!

TIA

4

Friday, May 4th 2007, 8:00am

I had the same problem as you, and found the hidden blocked shortcut (Win+J) here:
~/.kde/share/config/khotkeysrc
In my case it looked like this:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Data_1_5]
Comment=
Enabled=true
Name=K Menu - eclipse-3.2-eclipse-sdk-3.2.desktop
Type=MENUENTRY_SHORTCUT_ACTION_DATA

[Data_1_5Actions]
ActionsCount=1

[Data_1_5Actions0]
CommandURL=eclipse-3.2-eclipse-sdk-3.2.desktop
Type=MENUENTRY

[Data_1_5Conditions]
Comment=
ConditionsCount=0

[Data_1_5Triggers]
Comment=Simple_action
TriggersCount=1

[Data_1_5Triggers0]
Key=Win+J
Type=SHORTCUT

I removed all that code, saved the file and assigned my new key in menu editor!

Good stuff, eh? :-)

Remember to not have the menu editor open while you edit the file.

This post has been edited 1 times, last edit by "cewan" (May 4th 2007, 8:33am)