Actions for KHotKeys (KDE 3.2)

(Work in progress. Use at your own risk ;). This page will be extended as more actions will be created. Excuse the lacking polish, I'm a developer, not a web designer.)

How to import the actions

Download the .khotkeys file, start the KHotKeys KControl module, go to the 'General Settings' tab, click 'Import New Actions', import the file. After the actions are imported, I suggest you quickly review the new actions, check that they're enabled, etc.

Download

NOTE: In case you had downloaded actions before this notice has appeared here, the actions that are now (or will be) in KDE CVS will be imported again during your KDE upgrade, so you'll have them twice. The current versions of the action files have a unique ImportId entry that will prevent duplicated import.


Basic Konqueror gestures: download [Already in CVS]
Actions for multimedia keys: download

Many of the multimedia keys shouldn't have actions assigned in KHotKeys, but instead the keys should be simply assigned to actions in applications. The Back/Forward etc. browsing keys should be assigned to actions in Konqueror. The media playback actions, they should be assigned in e.g. Noatun's Keyz module. I'm currently working on creating patches that will add these keys to defaults in next KDE versions.

In case your keyboard has a key which is not handled by this file and you believe it should be handled by KHotKeys, mail me the key name (e.g. 'XF86Back') and description saying which action the key should perform. Note that current versions of Qt doesn't handle all existing multimedia keys (patch sent to TT).


I'm interested in feedback on these actions. Some of them will be part of KDE 3.2.1.

Some KHotKeys actions are also available at http://datschge.gmxhome.de/khotkeys.html.

Notes

KHotKeys intercepts the mouse button used for drawing the gestures (middle button by default), so actions like moving Kicker applets using MMB+move work only after the timeout specified in the 'Gestures Settings' tab. I suggest lowering the value to e.g. 300ms, the default value 1 second in KDE 3.2.0 is too long. You may also try if using a different mouse button would be more comfortable for you.

How to create .khotkeys files

Backup your khotkeysrc, delete unwanted actions, arrange the remaining ones in the way you want, save the config, copy your khotkeysrc ($KDEHOME/share/config) somewhere and make it e.g. myactions.khotkeys. Only the [Data*] groups and Version/ImportId fields in [Main] are read when it will be imported, so you can manually remove the others.

IMPORTANT: Edit the .khotkeys file, and add entry ImportId= to the [Main] section. KHotKeys now remembers all identifiers of already imported action files, will not automatically import actions with identifier matching one of them (in case the actions file will be included in KDE CVS), and will warn if you try to import such actions manually.

KHotKeys in KDE 3.2.0 comes with example actions that demonstrate most of its features. These actions are in the 'Examples' group (surprise, surprise). The file from which these actions were included is $KDEDIR/share/apps/khotkeys/kde32b1.khotkeys.

Feel free to submit your own actions.


Lubos Lunak <l.lunak suse.cz> <l.lunak kde.org>