I wasted an hour today at work setting up KDE's KHotkeys component of the accessibility options. What a complete pile of sh*t it is. It should come under "inaccessibility options".
Defining a simple hotkey -> text insert requires you to define the text insert as a sequence of key strokes. For example, I wanted the following php skeleton text to be inserted for ctrl-numpad_0
class X {
public function __construct()
{
}
public function __destruct()
{
}
}
You have to define it like this:
C:L:A:S:S:Space:Shift+X:Space:Shift+[:Return:Tab:P:U:B:L:I:C:Space:F:U:N:C:T:I:O:N:.... etc
After developing RSI in my good hand writing this crap, the entire thing was borked anyway. For no apparent reason, it grouped all the fricking duplicated keypresses together in order of first appearence. Eg:
F:U:N:C:T:I:O:N -> funnctio
C:O:N:S:T:R:U:C:T -> conssttru
etc.
Doing all the various system updates made not one iota of difference :lol:
Somebody's idea of a joke?