https://bugs.kde.org/show_bug.cgi?id=435113

--- Comment #88 from Matthias Kretz <kr...@kde.org> ---
> Note that the call is kcminit mouse, not kcminit kcm_mouse as it should be.

Confirmed.

> Modifying the intercept program [...]

Confirmed.

In addition, I noticed that calling `kcminit` without arguments prints:

Initializing 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Initializing 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_style.so"
Initializing 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Initializing 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
kcm_touchpad: Using X11 backend
Initializing 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_kgamma.so"

i.e. it's looking for kcm_mouse in the right directory. So an alternative hack
is to forgo the symlink and change the intercept for `kcminit mouse` to simply
call `kcminit` without arguments. That does more than intended, but the mouse
settings are correct. One can use a script like:

#!/bin/bash
if [[ "$*" == "mouse" ]]; then
  exec /usr/bin/kcminit.real
fi
exec /usr/bin/kcminit.real "$@"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to