Bug 742992 - Calculator shortcut does not work
Summary: Calculator shortcut does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-settings-daemon
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-03 14:26 UTC by Tim Waugh
Modified: 2012-06-22 18:52 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-22 18:52:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2011-10-03 14:26:50 UTC
Description of problem:
When pressing the shortcut assigned to "Calculator", no calculator window is shown.  Instead, this appears in .xsession-errors:

(gnome-settings-daemon:1805): media-keys-plugin-WARNING **: Could not find application 'gcalctool.desktop'

It seems like the desktop filename has changed to gnome-gcalctool.desktop.

Version-Release number of selected component (if applicable):
gnome-shell-3.2.0-2.fc16.x86_64
gcalctool-6.2.0-1.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Press the Calculator button (or whatever key is assigned to that shortcut)
  
Actual results:
No calculator

Expected results:
A calculator

Comment 1 Tim Waugh 2011-12-01 09:40:52 UTC
This is working now (gnome-shell-3.2.1-2.fc16.x86_64, gcalctool-6.2.0-1.fc16.x86_64).

Comment 2 Tim Waugh 2012-05-09 16:49:34 UTC
...and it's broken again in gnome-shell-3.4.1-3.fc17.x86_64.

Comment 3 Tim Waugh 2012-05-09 16:50:02 UTC
This time it's the other way around.  The installed file is gcalctool.desktop but gnome-shell is looking for gnome-gcalctool.desktop.

Comment 4 Owen Taylor 2012-05-09 17:02:25 UTC
And this isn't just a stale shortcut you created in the past when the desktop file was called gnome-gcalctool.desktop? If you remove from favorites and add to favorites again does it work? (I'm not saying it's good that shortcuts break, but it's hard to get around if apps change their desktop file name, which is the identifier we use to identify an application.)

Comment 5 Tim Waugh 2012-05-10 08:37:07 UTC
It's not a stale shortcut.  It also happens on e.g. a newly installed virtual machine.

1. System Settings -> Keyboard -> Shortcuts
2. Click on the shortcut next to 'Launch calculator'
3. Set a shortcut the virtual machine can hear e.g. Alt-C
4. Now press Alt-C
5. tail .xsession-errors

(gnome-settings-daemon:1114): media-keys-plugin-WARNING **: Could not find
application 'gnome-gcalctool.desktop'

Looks like the culprit is gsd-calculator.patch which just needs to be dropped.

Comment 6 Jason Farrell 2012-05-20 06:50:15 UTC
Noticed this bug today, but then as a workaround discovered a gnome shell calculator extension that's slightly more convenient than the standalone gcalctool.  WinKey + expression + WinKey   VS   Calculator key + expression + enter + alt-f4.

Comment 7 David 2012-05-31 05:20:18 UTC
I recently upgraded to Fedora 17 and have noticed the bug still occurs with;
 gnome-shell-3.4.1-5.fc17.x86_64
 gcalctool-6.4.1.1-1.fc17.x86_64

(gnome-settings-daemon:1760): media-keys-plugin-WARNING **: Could not find application 'gnome-gcalctool.desktop'


I use a keyboard which has a dedicated calculator button, so I'm not very keen to use other work arounds!

Comment 8 Andrey Motoshkov 2012-06-13 11:10:10 UTC
Same on my Fedora 17:
(gnome-settings-daemon:1401): media-keys-plugin-WARNING **: Could not find application 'gnome-gcalctool.desktop'

gnome-settings-daemon-3.4.2-1.fc17.x86_64
gcalctool-6.4.2.1-1.fc17.x86_64

Workaround I used:
ln -s /usr/share/applications/gcalctool.desktop /usr/share/applications/gnome-gcalctool.desktop

Comment 9 Fedora Update System 2012-06-14 11:41:31 UTC
gnome-settings-daemon-3.4.2-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/gnome-settings-daemon-3.4.2-3.fc17

Comment 10 Fedora Update System 2012-06-15 12:25:03 UTC
Package gnome-settings-daemon-3.4.2-3.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-settings-daemon-3.4.2-3.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9463/gnome-settings-daemon-3.4.2-3.fc17
then log in and leave karma (feedback).

Comment 11 Tim Waugh 2012-06-22 17:08:18 UTC
Works fine here.  Thanks!

Comment 12 Fedora Update System 2012-06-22 18:52:38 UTC
gnome-settings-daemon-3.4.2-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.