Thx @ckrainey

Maybe the problem is attached to media-keys plugin of gsd:

settings - devices - keyboard - launchers - launch calculator
--> (in this case) falsely using command 'org.gnome.Calculator.desktop' or 
'gnome-calculator.desktop'

Using a custom shortcut with command 'gnome-calculator' works as a charm.
Even if I remove package gnome-calculator; with only snap gnome-calculator 
installed. ;-)

Imo this should be the solution.


So if I am right and I understood the sources without any errors, simply adding 
'gnome-calculator' to line 2437 in 'gsd-media-keys-manager.c' should fix the 
bug:

 do_execute_desktop_or_desktop (manager, "org.gnome.Calculator.desktop",
"gnome-calculator.desktop", "gnome-calculator", timestamp);

https://github.com/GNOME/gnome-settings-
daemon/blob/6f4cbea41e40877efe96d17d822e4d3c831ec25c/plugins/media-keys
/gsd-media-keys-manager.c#L2436

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1780308

Title:
  calculator does not start using special-key on keyboard

Status in gnome-settings-daemon package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  just installed 18.04 on my desktop.

  Using the calculator-special-key on my keyboard calculator does not start. :(
  Using the menu the calc just starts as expected.

  Looking for an error in gnome-logs, I found this one:

  gsd-media-keys
  Could not find application 'org.gnome.Calculator.desktop' or 
'gnome-calculator.desktop'

  Further investigation:
  Since 18.04 calc is installed as a snap.
  Looks like my special-key tries to start calc, but does not success due to an 
error in linking to the snap-system.

  As a workaround I installed the package gnome-calculator:
  sudo apt-get install gnome-calculator

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1780308/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to