使用Ubuntu18.04时间并不长,之前一直使用Windows系统,习惯了通过任务管理器来查看系统当前运行的进程以及状态,所以开始使用Ubuntu18.04之后一直有查看系统监视器的习惯,但今天突然系统监视器无法打开了。
问题描述如下:
(若读者想直接查看解决办法,可跳过此节):
首先通过 Alt + F2 键输入命令
gnome-system-monitor
按 Enter,正常情况下这是应该出现了系统监视器的窗口,但是系统没有任何反应。
之后又在全部应用程序中点开“系统监视器”,屏幕左上角显示Loading的旋转圆圈,一段时间之后消失,系统监视器仍未打开。
后来又在终端中输入
gnome-system-monitor
显示
You need to connect this snap to the gnome platform snap.
You can do this with those commands:
snap install gnome-3-26-1604
snap connect gnome-system-monitor:gnome-3-26-1604 gnome-3-26-1604
(the '3-26-1604' number defines the platform version and might change)
按照提示输入了两个snap的命令之后,提示
error: snap "gnome-system-monitor" has no plug named "gnome-3-26-1604"
在网上没有查到相关的问题解答,个人认为这可能是Ubuntu系统的bug。
解决办法:
卸载gnome-system-monitor并重新安装。
在终端中输入:
snap remove gnome-system-monitor
snap install gnome-system-monitor
等待安装成功后即可,此时系统监视器就可以打开了。