[Pkg-kde-extras] Bug#760840: kde-config-touchpad doesn't start.System Settings-KDE crash handler is viewed.I can't use touchpad.

Maximiliano Curia maxy at debian.org
Tue Sep 9 06:51:00 UTC 2014


¡Hola Serkan!

El 2014-09-08 a las 14:59 +0300, Serkan Kurt escribió:
> Package: kde-config-touchpad
> Version: 0.8.1-2
> Severity: important

> "System Settings - KDE crash handler" is viewed when clicked to "Touchpad"
> section on the "input devices" from the KDE "System Settings". This issue
> has been solved as in the following address
> http://forum.pardus.net.tr/index.php?topic=95.0. In this site it is said
> that there is a bug in the kde-config-touchpad package and
> "touchpadinformationwidget.ui" file is searched as
> "touchpadInformationwidget.ui" because of a letter mistake and for this
> reason it can not be found, it gives error and breaks down. As a solution,
> the following commands are given:

> cd /usr/lib/python2.7/dist-packages/synaptiks/kde/widgets/ui
> sudo ln -s ../../../../../../../share/pyshared/synaptiks/kde/widgets/ui/touchpadinformationwidget.ui touchpadInformationwidget.ui

> When the commands above are activated the breakdown problem disapperas. But,
> although I have made the "tapping" settings touchpad and tapping processing
> do not occur. This problem is removed when this solution is used in some
> different computers. But in my Acer 5920G laptop this problem continues. In
> addition, the problem never occurs in GNOME system settings.

> Locale: LANG=tr_TR.UTF-8, LC_CTYPE=tr_TR.UTF-8 (charmap=UTF-8)

The file /usr/share/pyshared/synaptiks/kde/widgets/__init__.py has the code
that loads the ui file, and says: self.__class__.__name__.lower() + '.ui')
which would be bitten by the Turkish i issue:
http://blog.codinghorror.com/whats-wrong-with-turkey/

adding something like:

import string

def ascii_lower(s):
    s.translate(string.maketrans(string.ascii_uppercase, string.ascii_lowercase))

and replacing self.__class__.__name__.lower() with
 ascii_lower(self.__class__.__name__)

Should fix the issue.

Happy hacking,
-- 
"If a thing is done wrong often enough, it becomes right" -- Leahy's Law
Saludos /\/\ /\ >< `/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20140909/94692628/attachment.sig>


More information about the pkg-kde-extras mailing list