Bug#291917: marked as done (Please add patch to enable calculator and music multimedia keys)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 08 Feb 2005 07:48:54 -0800


Your message dated Tue, 08 Feb 2005 10:32:15 -0500
with message-id <E1CyXLb-0007Yx-00@newraff.debian.org>
and subject line Bug#291917: fixed in control-center 1:2.8.1-4
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Jan 2005 23:01:35 +0000
>From sjoerd@luon.net Sun Jan 23 15:01:34 2005
Return-path: <sjoerd@luon.net>
Received: from simons.xs4all.nl (fire.luon.net) [80.126.201.244] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Csqje-00061i-00; Sun, 23 Jan 2005 15:01:34 -0800
Received: from spring.luon.net (spring-wired.ipv6.luon.net [IPv6:2001:888:1d84:0:20a:95ff:fed1:4834])
	by fire.luon.net (Postfix) with ESMTP id 781B659;
	Mon, 24 Jan 2005 00:01:28 +0100 (CET)
Received: by spring.luon.net (Postfix, from userid 1000)
	id 6F30137B1A; Mon, 24 Jan 2005 00:01:23 +0100 (CET)
Content-Type: multipart/mixed; boundary="===============0669830106=="
MIME-Version: 1.0
From: Sjoerd Simons <sjoerd@luon.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Please add patch to enable calculator and music multimedia keys
X-Mailer: reportbug 3.6
Date: Mon, 24 Jan 2005 00:01:23 +0100
Message-Id: <20050123230123.6F30137B1A@spring.luon.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0669830106==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: control-center
Severity: wishlist
Tags: patch

Hi,

  Some time ago my parents bought a new dell machine. It's multimedia keys
  include a calculator and a music key. Which don't work by default in gnome,
  so i made a patch for this. Patch is ofcourse attached.

  Note that i've put this in the gnome bugzilla (bug #165031), but if they
  include it it will obviously be in G2.10 thus not for sarge. Where it would
  be nice to have (imho) because there are quite some dell machine out there
  which have exactly the same keyboard.. 

  Sjoerd

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.9-spring
Locale: LANG=C, LC_CTYPE=nl_NL@euro (charmap=ISO-8859-15)

--===============0669830106==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="control-center-bindings.patch"

diff -aur control-center-2.8.1/capplets/keybindings/gnome-keybinding-properties.c control-center-2.8.1.patched/capplets/keybindings/gnome-keybinding-properties.c
--- control-center-2.8.1/capplets/keybindings/gnome-keybinding-properties.c	2004-09-10 04:34:56.000000000 +0200
+++ control-center-2.8.1.patched/capplets/keybindings/gnome-keybinding-properties.c	2005-01-11 12:07:32.000000000 +0100
@@ -48,6 +48,7 @@
   { "/apps/gnome_settings_daemon/keybindings/search", ALWAYS_VISIBLE, 0 },
   { "/apps/gnome_settings_daemon/keybindings/email", ALWAYS_VISIBLE, 0 },
   { "/apps/gnome_settings_daemon/keybindings/www", ALWAYS_VISIBLE, 0 },
+  { "/apps/gnome_settings_daemon/keybindings/calculator", ALWAYS_VISIBLE, 0 },
   { "/apps/metacity/global_keybindings/panel_run_dialog", ALWAYS_VISIBLE, 0 },
   { "/apps/metacity/global_keybindings/panel_main_menu", ALWAYS_VISIBLE, 0 },
   { "/apps/metacity/global_keybindings/run_command_screenshot", ALWAYS_VISIBLE, 0 },
@@ -60,6 +61,7 @@
 };
 const KeyListEntry sounds_key_list[] =
 {
+  { "/apps/gnome_settings_daemon/keybindings/music", ALWAYS_VISIBLE, 0 },
   { "/apps/gnome_settings_daemon/keybindings/volume_mute", ALWAYS_VISIBLE, 0 },
   { "/apps/gnome_settings_daemon/keybindings/volume_down", ALWAYS_VISIBLE, 0 },
   { "/apps/gnome_settings_daemon/keybindings/volume_up", ALWAYS_VISIBLE, 0 },
diff -aur control-center-2.8.1/gnome-settings-daemon/actions/acme.h control-center-2.8.1.patched/gnome-settings-daemon/actions/acme.h
--- control-center-2.8.1/gnome-settings-daemon/actions/acme.h	2004-03-24 03:54:33.000000000 +0100
+++ control-center-2.8.1.patched/gnome-settings-daemon/actions/acme.h	2005-01-11 12:05:30.000000000 +0100
@@ -38,6 +38,8 @@
 	SCREENSAVER_KEY,
 	HELP_KEY,
 	WWW_KEY,
+       MUSIC_KEY,
+       CALCULATOR_KEY,
 #ifdef USE_FBLEVEL
 	BRIGHT_DOWN_KEY,
 	BRIGHT_UP_KEY,
@@ -73,6 +75,8 @@
 	{ SCREENSAVER_KEY, GCONF_BINDING_DIR "/screensaver", NULL },
 	{ HELP_KEY, GCONF_BINDING_DIR "/help", NULL },
 	{ WWW_KEY, GCONF_BINDING_DIR "/www", NULL },
+	{ MUSIC_KEY, GCONF_BINDING_DIR "/music", NULL },
+	{ CALCULATOR_KEY, GCONF_BINDING_DIR "/calculator", NULL },
 #ifdef USE_FBLEVEL
 	{ BRIGHT_DOWN_KEY, GCONF_BINDING_DIR "/brightness_down", NULL },
 	{ BRIGHT_UP_KEY, GCONF_BINDING_DIR "/brightness_up", NULL },
diff -aur control-center-2.8.1/gnome-settings-daemon/gnome-settings-multimedia-keys.c control-center-2.8.1.patched/gnome-settings-daemon/gnome-settings-multimedia-keys.c
--- control-center-2.8.1/gnome-settings-daemon/gnome-settings-multimedia-keys.c	2004-10-09 03:52:01.000000000 +0200
+++ control-center-2.8.1.patched/gnome-settings-daemon/gnome-settings-multimedia-keys.c	2005-01-11 18:26:46.000000000 +0100
@@ -818,6 +818,12 @@
 	case SCREENSAVER_KEY:
 		execute ("xscreensaver-command -lock", FALSE);
 		break;
+  case MUSIC_KEY:
+    execute ("rhythmbox", FALSE);
+    break;
+  case CALCULATOR_KEY:
+    execute ("gcalctool", FALSE);
+    break;
 	case HELP_KEY:
 		do_help_action (acme);
 		break;
diff -aur control-center-2.8.1/schemas/apps_gnome_settings_daemon_keybindings.schemas.in control-center-2.8.1.patched/schemas/apps_gnome_settings_daemon_keybindings.schemas.in
--- control-center-2.8.1/schemas/apps_gnome_settings_daemon_keybindings.schemas.in	2004-05-17 19:03:38.000000000 +0200
+++ control-center-2.8.1.patched/schemas/apps_gnome_settings_daemon_keybindings.schemas.in	2005-01-11 12:17:13.000000000 +0100
@@ -14,6 +14,16 @@
 	</schema>
 
         <schema>
+            <key>/schemas/apps/gnome_settings_daemon/keybindings/music</key>
+            <applyto>/apps/gnome_settings_daemon/keybindings/music</applyto>
+            <type>string</type>
+            <default></default>
+            <locale name="C">
+                <short>Launch music player</short>
+                <long>Launch music players's shortcut</long>
+            </locale>
+        </schema>
+        <schema>
             <key>/schemas/apps/gnome_settings_daemon/keybindings/volume_mute</key>
             <applyto>/apps/gnome_settings_daemon/keybindings/volume_mute</applyto>
             <type>string</type>
@@ -156,6 +166,17 @@
             </locale>
         </schema>
 
+        <schema>
+            <key>/schemas/apps/gnome_settings_daemon/keybindings/calculator</key>
+            <applyto>/apps/gnome_settings_daemon/keybindings/calculator</applyto>
+            <type>string</type>
+            <default></default>
+            <locale name="C">
+                <short>Launch calculator</short>
+                <long>Launch calculator's shortcut</long>
+            </locale>
+        </schema>
+
 
         <schema>
             <key>/schemas/apps/gnome_settings_daemon/keybindings/brightness_down</key>

--===============0669830106==--

---------------------------------------
Received: (at 291917-close) by bugs.debian.org; 8 Feb 2005 15:38:02 +0000
>From katie@ftp-master.debian.org Tue Feb 08 07:38:02 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CyXRC-0002z1-00; Tue, 08 Feb 2005 07:38:02 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CyXLb-0007Yx-00; Tue, 08 Feb 2005 10:32:15 -0500
From: Arnaud Patard <arnaud.patard@rtp-net.org>
To: 291917-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#291917: fixed in control-center 1:2.8.1-4
Message-Id: <E1CyXLb-0007Yx-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 08 Feb 2005 10:32:15 -0500
Delivered-To: 291917-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 6

Source: control-center
Source-Version: 1:2.8.1-4

We believe that the bug you reported is fixed in the latest version of
control-center, which is due to be installed in the Debian FTP archive:

capplets-data_2.8.1-4_all.deb
  to pool/main/c/control-center/capplets-data_2.8.1-4_all.deb
capplets_2.8.1-4_i386.deb
  to pool/main/c/control-center/capplets_2.8.1-4_i386.deb
control-center_2.8.1-4.diff.gz
  to pool/main/c/control-center/control-center_2.8.1-4.diff.gz
control-center_2.8.1-4.dsc
  to pool/main/c/control-center/control-center_2.8.1-4.dsc
gnome-control-center_2.8.1-4_i386.deb
  to pool/main/c/control-center/gnome-control-center_2.8.1-4_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 291917@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Arnaud Patard <arnaud.patard@rtp-net.org> (supplier of updated control-center 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun,  6 Feb 2005 19:13:04 +0100
Source: control-center
Binary: capplets gnome-control-center capplets-data
Architecture: source all i386
Version: 1:2.8.1-4
Distribution: unstable
Urgency: low
Maintainer: Arnaud Patard <arnaud.patard@rtp-net.org>
Changed-By: Arnaud Patard <arnaud.patard@rtp-net.org>
Description: 
 capplets   - configuration applets for GNOME 2 - binaries files
 capplets-data - configuration applets for GNOME 2 - data files
 gnome-control-center - The GNOME Control Center for GNOME 2
Closes: 278762 281657 286220 287965 289009 291917
Changes: 
 control-center (1:2.8.1-4) unstable; urgency=low
 .
   * debian/patches:
     - 17_locate_pointer.patch: fix the "locate pointer" when numlock is
     activated.
     - 18_logout.patch: fix the logout shortcut (Closes: #289009).
     - 01_gnome-default-applications-properties-structs.c.patch: Corrected
     Thunderbird command (Closes: #278762)
     - Updated 08_pmu_fix.patch with patches from Sjoerd Simons and Sven Luther
     as a fix for the pmu error message
     - 19_extra_keybindings.patch: Add bindings for calculator and music
     multimedia keys (Closes: #291917)
     - 20_gswitchit_dont_crash_when_no_xkb_config.patch: Patch from kov to
     prevent crash when used remotely (Closes: #286220)
     - 21_show_xkb_warning_one_time.patch: Adopt a similar behaviour as for the
     xmodmap warning (Closes: #287965)
     - 22_bkg_capplet_follow_symlink.patch: Resolv symlink to generate the
     thumbnails (Closes: #281657)
Files: 
 2497ce06ece255108d405757860dd20c 2125 gnome optional control-center_2.8.1-4.dsc
 79d1110ad2a9e21e29196e54e01768f1 181960 gnome optional control-center_2.8.1-4.diff.gz
 3cc8aea1dcd2c7bd23a9bc191325e4ce 1749832 gnome optional capplets-data_2.8.1-4_all.deb
 7e001313d227631451c547d60afb315d 596840 gnome optional capplets_2.8.1-4_i386.deb
 037cec9b2f59ba189cc2fa0a106f8cf9 70960 gnome optional gnome-control-center_2.8.1-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCCNaVQxo87aLX0pIRAvn9AKCg533Lcg/yuSac19T4M3SXVz8/IgCgtYRc
czoRUb+EtXaBufEIghDQR4A=
=hBAL
-----END PGP SIGNATURE-----