Skip navigation.
KDE Developer's Journals

Meet Dr. Klash

beineri's picture

I bet everyone running a development version has at least once met Dr. Konqi - but do you know his colleague Dr. Klash? How could I, you ask? He is sleeping right on your hard disk within kdelibs! Dr. Klash checks for accelerator conflicts in menus and widgets. To awake him put following into ~/.kde/share/config/kdeglobals (or the config file for the application you want to test):

[[Development]]
CheckAccelerators=F12
AutoCheckAccelerators=false
AlwaysShowCheckAccelerators=false

Now pressing F12 will show you the current accelerators conflicts and insert suggested new accelerators. With AutoCheckAccelerators enabled the dialog will popup automatically if a conflict exists and AlwaysShowCheckAccelerators can enforce the dialog to popup always.



A nice way to see such accelerators conflicts and proposals visually is the check style (kdesdk/scheck).



On a similar note, did you know that kdebugdialog has a --fullmode switch?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tsdgeos's picture

It has a small problem

The problem is that it sometimes suggest to put accelerators in letters that can't be an accelerator like à or è (on my locale of course that won't happen in english)

I know this is not bugs.kde.org, i'm reporting that here only because i found it curios i don't think anyone should waste any effort in make it work.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.