![]() Registered Member ![]()
|
I'm writing a program containing special rules to generate keyboard shortcut schemes that can be imported by various KDE applications. I would like for this program to make it easy for me update keyboard shortcuts across many applications, so I can easily "wear in" my keyboard shortcuts over time while keeping them consistent,
To do this, I need lists of all the configuration names of keyboard shortcuts in applications. To begin with, I'm working on the standard keyboard shortcuts for applications and the global keyboard shortcuts. The stanrdard keyboard shortcuts for applications are stored in ~/.kde/share/config/kdeglobals. Here is the relevant section, showing how keyboard shortcut configuration names are paired with keyboard shortcuts:
The problem is that the list does not contain all the shortcuts that are listed in the GUI: ![]() I see no pattern to which keyboard shortcut configuration names are missing and which aren't. Many names are listed even though they have no shortcuts assigned to them. And missing shortcut configuation names can be caused to appear by assigning them a shortcut in the GUI. It would be very tedious and time-consuming to assign temporary keyboard shortcuts just to get the configuration names to appear. And somewhere there is obviously a program which has knowledge of all the shortcut names. I don't know what program it is, but if I did, I bet I could look at its source code to find all these shortcut configuration names. Can someone point me in the right direction? Thanks in advance! |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]