Your message dated Tue, 14 Nov 2006 15:32:22 -0800 with message-id <[EMAIL PROTECTED]> and subject line Bug#396622: fixed in kdeutils 4:3.5.5-2 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: kmilo Version: 4:3.5.5-1 Severity: normal Hi, I tried to get my multimedia keys (volume up/down, mute etc.) on my laptop keyboard working. Unfortunately a standard kmilo installation had not effect. I first had to map X keycodes (e.g keycode 160 = XF86AudioMute) via ~/.xmodmaprc and then I had to apply a patch [1] from the kubuntu kdeutils package. I don't know if the first issue can be resolved within kmilo/KDE but at least consider to include the patch. Cheers, Michael [1] Extracted from http://packages.ubuntu.com/edgy/utils/kmilo -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (300, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.19-rc4 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages kmilo depends on: ii kdelibs4c2a 4:3.5.5a.dfsg.1-2 core libraries and binaries for al ii libc6 2.3.6.ds1-7 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-19 GCC support library ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library ii libpng12-0 1.2.8rel-7 PNG library - runtime ii libqt3-mt 3:3.3.7-1 Qt GUI Library (Threaded runtime v ii libsm6 1:1.0.1-3 X11 Session Management library ii libstdc++6 4.1.1-19 The GNU Standard C++ Library v3 ii libx11-6 2:1.0.3-2 X11 client-side library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxtst6 1:1.0.1-5 X11 Testing -- Resource extension ii zlib1g 1:1.2.3-13 compression library - runtime kmilo recommends no packages. -- no debconf informationdiff -Nur kdeutils-3.5.4/kmilo/generic/generic_monitor.cpp kdeutils-3.5.4.new/kmilo/generic/generic_monitor.cpp --- kdeutils-3.5.4/kmilo/generic/generic_monitor.cpp 2006-01-19 17:49:13.000000000 +0100 +++ kdeutils-3.5.4.new/kmilo/generic/generic_monitor.cpp 2006-08-20 12:14:10.000000000 +0200 @@ -25,6 +25,7 @@ #include <kgenericfactory.h> #include <kdebug.h> +#include <kprocess.h> #include <sys/types.h> #include <unistd.h> @@ -33,6 +34,7 @@ #include "kmilointerface.h" #include <qmessagebox.h> #include <qfile.h> +#include <qdir.h> // FIXME: use DCOPRef where possible instead of hand-rolled DCOP calls. @@ -58,7 +60,21 @@ bool GenericMonitor::init() { + config = new KConfig("kmilodrc"); + config->setGroup("kubuntu"); + static const ShortcutInfo shortcuts[] = { + { "Search", KShortcut("XF86Search"), SLOT(launchSearch()) }, + { "Home Folder", KShortcut("XF86MyComputer"), SLOT(launchHomeFolder()) }, + { "Mail", KShortcut("XF86Mail"), SLOT(launchMail()) }, + { "Audio Media", KShortcut("XF86AudioMedia"), SLOT(launchMusic()) }, + { "Music", KShortcut("XF86Music"), SLOT(launchMusic()) }, + { "Browser", KShortcut("XF86WWW"), SLOT(launchBrowser()) }, + { "Calculator", KShortcut("XF86Calculator"), SLOT(launchCalculator()) }, + { "Terminal", KShortcut("XF86Terminal"), SLOT(launchTerminal()) }, + { "Eject", KShortcut("XF86Eject"), SLOT(eject()) }, + { "Help", KShortcut("XF86Launch0"), SLOT(launchHelp()) }, + { "Light Bulb", KShortcut("XF86LightBulb"), SLOT(lightBulb()) }, { "FastVolumeUp", Qt::Key_VolumeUp, SLOT(fastVolumeUp()) }, { "FastVolumeDown", Qt::Key_VolumeDown, SLOT(fastVolumeDown()) }, { "SlowVolumeUp", Qt::CTRL+Qt::Key_VolumeUp, SLOT(slowVolumeUp()) }, @@ -128,16 +144,16 @@ void GenericMonitor::volumeUp(int step) { - if (!retrieveVolume()) - return; + if (!retrieveVolume()) + return; - // FIXME if the mixer doesn't support steps of the specified size it - // could get stuck at one position - m_volume += step; - if (m_volume > m_maxVolume) - m_volume = m_maxVolume; + // FIXME if the mixer doesn't support steps of the specified size it + // could get stuck at one position + m_volume += step; + if (m_volume > m_maxVolume) + m_volume = m_maxVolume; - displayVolume(); + displayVolume(); } void GenericMonitor::volumeDown(int step) @@ -249,6 +265,68 @@ return m_displayType; } +void GenericMonitor::launch(QString configKey, QString defaultApplication) +{ + QString application = config->readEntry(configKey, defaultApplication); + KProcess proc; + proc << application; + proc.start(KProcess::DontCare); +} + +void GenericMonitor::launchMail() +{ + kdDebug() << "launchMail" << endl; + kapp->invokeMailer("", "", "", "", "", "", "", ""); +} + +void GenericMonitor::launchBrowser() +{ + kapp->invokeBrowser(""); +} + +void GenericMonitor::launchSearch() +{ + launch("search", "kfind"); +} + +void GenericMonitor::launchHomeFolder() +{ + QString home = QDir::home().path(); + KProcess proc; + proc << "kfmclient" << "exec" << home; + proc.start(KProcess::DontCare); +} + +void GenericMonitor::launchMusic() +{ + launch("search", "amarok"); +} + +void GenericMonitor::launchCalculator() +{ + launch("search", "speedcrunch"); +} + +void GenericMonitor::launchTerminal() +{ + launch("search", "konsole"); +} + +void GenericMonitor::launchHelp() +{ + launch("search", "khelpcenter"); +} + +void GenericMonitor::eject() +{ + launch("search", "eject"); +} + +void GenericMonitor::lightBulb() +{ + kdDebug() << "lightBulb()" << endl; + _interface->displayText("Screen Light"); +} K_EXPORT_COMPONENT_FACTORY(kmilo_generic, KGenericFactory<GenericMonitor>("kmilo_generic")) diff -Nur kdeutils-3.5.4/kmilo/generic/generic_monitor.h kdeutils-3.5.4.new/kmilo/generic/generic_monitor.h --- kdeutils-3.5.4/kmilo/generic/generic_monitor.h 2006-01-19 17:49:13.000000000 +0100 +++ kdeutils-3.5.4.new/kmilo/generic/generic_monitor.h 2006-08-20 12:13:23.000000000 +0200 @@ -29,6 +29,7 @@ #include <kglobalaccel.h> #include <dcopref.h> #include <kapplication.h> +#include <kconfig.h> #include "kmilod.h" #include "monitor.h" @@ -62,6 +63,16 @@ void fastVolumeUp(); void fastVolumeDown(); void mute(); + void launchMail(); + void launchBrowser(); + void launchSearch(); + void launchHomeFolder(); + void launchMusic(); + void launchCalculator(); + void launchTerminal(); + void launchHelp(); + void eject(); + void lightBulb(); private: void volumeUp(int step); @@ -69,8 +80,10 @@ bool retrieveMute(); bool retrieveVolume(); void displayVolume(); + void launch(QString configKey, QString defaultApplication); KGlobalAccel *ga; + KConfig* config; DCOPRef *kmixClient, *kmixWindow;
--- End Message ---
--- Begin Message ---Source: kdeutils Source-Version: 4:3.5.5-2 We believe that the bug you reported is fixed in the latest version of kdeutils, which is due to be installed in the Debian FTP archive: ark_3.5.5-2_i386.deb to pool/main/k/kdeutils/ark_3.5.5-2_i386.deb kcalc_3.5.5-2_i386.deb to pool/main/k/kdeutils/kcalc_3.5.5-2_i386.deb kcharselect_3.5.5-2_i386.deb to pool/main/k/kdeutils/kcharselect_3.5.5-2_i386.deb kdelirc_3.5.5-2_i386.deb to pool/main/k/kdeutils/kdelirc_3.5.5-2_i386.deb kdessh_3.5.5-2_i386.deb to pool/main/k/kdeutils/kdessh_3.5.5-2_i386.deb kdeutils-dbg_3.5.5-2_i386.deb to pool/main/k/kdeutils/kdeutils-dbg_3.5.5-2_i386.deb kdeutils-dev_3.5.5-2_i386.deb to pool/main/k/kdeutils/kdeutils-dev_3.5.5-2_i386.deb kdeutils-doc-html_3.5.5-2_all.deb to pool/main/k/kdeutils/kdeutils-doc-html_3.5.5-2_all.deb kdeutils-doc_3.5.5-2_all.deb to pool/main/k/kdeutils/kdeutils-doc_3.5.5-2_all.deb kdeutils_3.5.5-2.diff.gz to pool/main/k/kdeutils/kdeutils_3.5.5-2.diff.gz kdeutils_3.5.5-2.dsc to pool/main/k/kdeutils/kdeutils_3.5.5-2.dsc kdeutils_3.5.5-2_all.deb to pool/main/k/kdeutils/kdeutils_3.5.5-2_all.deb kdf_3.5.5-2_i386.deb to pool/main/k/kdeutils/kdf_3.5.5-2_i386.deb kedit_3.5.5-2_i386.deb to pool/main/k/kdeutils/kedit_3.5.5-2_i386.deb kfloppy_3.5.5-2_i386.deb to pool/main/k/kdeutils/kfloppy_3.5.5-2_i386.deb kgpg_3.5.5-2_i386.deb to pool/main/k/kdeutils/kgpg_3.5.5-2_i386.deb khexedit_3.5.5-2_i386.deb to pool/main/k/kdeutils/khexedit_3.5.5-2_i386.deb kjots_3.5.5-2_i386.deb to pool/main/k/kdeutils/kjots_3.5.5-2_i386.deb klaptopdaemon_3.5.5-2_i386.deb to pool/main/k/kdeutils/klaptopdaemon_3.5.5-2_i386.deb kmilo_3.5.5-2_i386.deb to pool/main/k/kdeutils/kmilo_3.5.5-2_i386.deb kregexpeditor_3.5.5-2_i386.deb to pool/main/k/kdeutils/kregexpeditor_3.5.5-2_i386.deb ksim_3.5.5-2_i386.deb to pool/main/k/kdeutils/ksim_3.5.5-2_i386.deb ktimer_3.5.5-2_i386.deb to pool/main/k/kdeutils/ktimer_3.5.5-2_i386.deb kwalletmanager_3.5.5-2_i386.deb to pool/main/k/kdeutils/kwalletmanager_3.5.5-2_i386.deb superkaramba_3.5.5-2_i386.deb to pool/main/k/kdeutils/superkaramba_3.5.5-2_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Christopher Martin <[EMAIL PROTECTED]> (supplier of updated kdeutils package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Tue, 14 Nov 2006 17:32:12 -0500 Source: kdeutils Binary: kdeutils-dev kwalletmanager kedit kdf ktimer kcharselect kdeutils-dbg superkaramba kdeutils kdessh ksim kjots kdeutils-doc-html kfloppy kcalc kdelirc kmilo klaptopdaemon ark kdeutils-doc kgpg khexedit kregexpeditor Architecture: source i386 all Version: 4:3.5.5-2 Distribution: unstable Urgency: medium Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Changed-By: Christopher Martin <[EMAIL PROTECTED]> Description: ark - graphical archiving tool for KDE kcalc - calculator for KDE kcharselect - character selector for KDE kdelirc - infrared control for KDE kdessh - ssh frontend for KDE kdeutils - general purpose utilities from the official KDE release kdeutils-dbg - debugging symbols for kdeutils kdeutils-dev - development files for the KDE utilities module kdeutils-doc - developer documentation for the KDE utilities module kdeutils-doc-html - KDE utilities documentation in HTML format kdf - disk space utility for KDE kedit - basic text editor for KDE kfloppy - floppy formatter for KDE kgpg - GnuPG frontend for KDE khexedit - KDE hex editor kjots - note taking utility for KDE klaptopdaemon - battery monitoring and management for laptops using KDE kmilo - laptop special keys support for KDE kregexpeditor - graphical regular expression editor plugin for KDE ksim - system information monitor for KDE ktimer - timer utility for KDE kwalletmanager - wallet manager for KDE superkaramba - a program based on karamba improving the eyecandy of KDE Closes: 314691 396622 397098 397637 Changes: kdeutils (4:3.5.5-2) unstable; urgency=medium . +++ Changes by Fathi Boudra: . * Add 14_kmilo_actions patch, stolen from Kubuntu. It adds new actions to the generic kmilo actions (volume up/down and mute). Thanks to Jonathan Riddell. (Closes: #396622) . * Remove tpctl build-depends, which was removed from testing due to #392235 and #392239. (Closes: #397637) . +++ Changes by Josh Metzler: . * Adapt rewritten paragraph for kcharselect.1 manpage. (Closes: #314691) . * Add klaptopdaemon patch to check for empty filenames before trying to open them so we don't fill .xsession-errors and keep the disk busy. (Closes: #397098) Files: 609e00ab4af0ad61531c35e5a523adf1 1437 kde optional kdeutils_3.5.5-2.dsc 9ab5a64de04a6bc642dac78e72bac673 424483 kde optional kdeutils_3.5.5-2.diff.gz 79b432a6d78ff8fd1e5709394a9f5762 17892 kde optional kdeutils_3.5.5-2_all.deb dbda61198dfc214f3dbf88b0563544e8 716092 doc optional kdeutils-doc_3.5.5-2_all.deb c9aad857002f858beb1d8a7d50089374 115730 doc optional kdeutils-doc-html_3.5.5-2_all.deb b7519ba68ea6256152cda6028aec8f6b 34212 utils optional kdeutils-dev_3.5.5-2_i386.deb deb463b94fcaa66b130c20fdb9ed7011 295328 utils optional ark_3.5.5-2_i386.deb d1eda0ea7895d726113a71b26c8d22ec 200492 utils optional kcalc_3.5.5-2_i386.deb 2eeb9c33024c235b4c8337c8b25c03f2 71986 utils optional kcharselect_3.5.5-2_i386.deb 0b69807d8e1bb963ae418f0993b38a2f 258430 utils optional kdelirc_3.5.5-2_i386.deb 8fef6d02bf4f2e4547bc7182d780864d 31882 kde optional kdessh_3.5.5-2_i386.deb 965313155d66732e10328b3a8cf9dd54 339720 utils optional kdf_3.5.5-2_i386.deb c006b27a02de0bc42b04567edb8a6081 122902 editors optional kedit_3.5.5-2_i386.deb a7fa8c9a788fa1cc08eaefab94d429b1 99112 utils optional kfloppy_3.5.5-2_i386.deb 4970043a04b0ce8829bf7313c2578228 465820 kde optional kgpg_3.5.5-2_i386.deb af2dde051af07564b28642367eae9a4e 377436 utils optional khexedit_3.5.5-2_i386.deb d30b8b5cdd6706d61e0836b5376d57c1 110752 utils optional kjots_3.5.5-2_i386.deb 7d4dd12d235b5dff8e520e376b170a42 250894 kde optional klaptopdaemon_3.5.5-2_i386.deb 3fe10cc162dd28504153fb0a14ba00a2 154404 utils optional kmilo_3.5.5-2_i386.deb ee6423de3de7133852990c1443048ad5 285706 kde optional kregexpeditor_3.5.5-2_i386.deb 6b30a9ad0fed7df73267c8bc00a5e619 433954 utils optional ksim_3.5.5-2_i386.deb fa497eb7ca0b943378e66f83cdb788f4 75100 utils optional ktimer_3.5.5-2_i386.deb e0717b694c84f80e2e4a33912521f2c0 345654 utils optional kwalletmanager_3.5.5-2_i386.deb 1e13c24e95801d1186517951394b7c55 530946 kde optional superkaramba_3.5.5-2_i386.deb 28ad95794d9633ec1dc13771604bf8d0 9049302 libdevel extra kdeutils-dbg_3.5.5-2_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Signed by Christopher Martin <[EMAIL PROTECTED]> iD8DBQFFWk3DU+gWW+vtsysRAmYqAJ9ZdQonUGFD6BMYc1mnhmdiL3K5/wCeJ4yw nax6ljk5k5gqUzjN5uHR7U8= =w0fC -----END PGP SIGNATURE-----
--- End Message ---