Hi Peter, 
  Thanks for your bug report. 

I was one of the original authors the system-monitor extension however
no longer actively involved in the project. gnome-shell extensions are
not supported by Canonical/Ubuntu (unless they are installed in the
default session) or GNOME.  You would need to fix system-monitor
extension to support querying for snaps in case the desktop file is not
found.

This could easily be done through the CLI with `snap list` and `snap
run`.

However a much nicer solution would probably be to use snapd-glib which
provides gobject-introspection bindings to snapd. I am not really
familiar with their API, but suspect it should provide similar
functionality to the CLI tool.

I am going to close this bug since its not really a bug in gnome-system-
monitor and could equally happen on any other distro that supports
snaps, if the user has installed gnome-system-monitor as a snap instead
of native packaging.

** Changed in: gnome-system-monitor (Ubuntu)
       Status: New => Invalid

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

Title:
  GNOME Shell applet can't open System Monitor installed as Snap

Status in gnome-system-monitor package in Ubuntu:
  Invalid

Bug description:
  It looks like the `gnome-system-monitor` package is installed as a
  snap package since Ubuntu 18.04 Bionic by default [1]. Unfortunately,
  this affects some GNOME Shell extensions.

  The popular "system-monitor" extension [3][4] fails to locate the
  system monitor executable to call and open it from the context menu.

  A related bug report on GitHub [5] (issue #474) explains the problem
  and documents that several users solve the issue by uninstalling the
  snap and installing the gnome-system-monitor .deb package [2] instead.

  Do we have to fix the GNOME Shell extension (if yes, how?), can this
  issue be resolved in the snap package, or is that a permanent
  restriction of the snap package? (i.e. wontfix)

  
  [1] 
https://www.reddit.com/r/Ubuntu/comments/8krkam/system_monitor_on_1804_is_a_snap_by_default/
  [2] https://packages.ubuntu.com/cosmic/gnome/gnome-system-monitor
  [3] https://extensions.gnome.org/extension/120/system-monitor/
  [4] https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet
  [5] 
https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/issues/474

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-system-monitor/+bug/1819263/+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