無法啟動 Gnome 系統監視器

無法啟動 Gnome 系統監視器

我有 Debian 10 和 KDE Plasma。有時,當我雙擊 KDE 中的圖示來啟動 Gnome 系統監視器時,它似乎已加載,然後立即關閉。當我嘗試透過輸入從命令列啟動時

gnome-system-monitor

我明白了:

(gnome-system-monitor:3146): Gtk-WARNING **: 15:21:17.441: Theme parsing error: gtk.css:127:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(gnome-system-monitor:3146): Gtk-WARNING **: 15:21:17.441: Theme parsing error: gtk.css:128:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(gnome-system-monitor:3146): Gtk-WARNING **: 15:21:17.441: Theme parsing error: gtk.css:129:34: The style property GtkCheckButton:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(gnome-system-monitor:3146): Gtk-WARNING **: 15:21:17.441: Theme parsing error: gtk.css:130:36: The style property GtkCheckMenuItem:indicator-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(gnome-system-monitor:3146): Gtk-WARNING **: 15:21:17.441: Theme parsing error: gtk.css:132:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

(gnome-system-monitor:3146): Gtk-WARNING **: 15:21:17.442: Theme parsing error: gtk.css:135:30: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version

(gnome-system-monitor:3146): Gtk-WARNING **: 15:21:17.442: Theme parsing error: gtk.css:142:29: The style property GtkStatusbar:shadow-type is deprecated and shouldn't be used anymore. It will be removed in a future version

(gnome-system-monitor:3146): glibmm-CRITICAL **: 15:21:17.486: 
unhandled exception (type Glib::Error) in signal handler:
domain: g-io-error-quark
code  : 0
what  : Unable to find default local file monitor type

我不確定它如何進入無法啟動的狀態,或者如何修復它以便它可以再次啟動。我試過:

sudo killall gnome-system-monitor

並得到這個:

gnome-system-monitor: no process found

答案1

我能夠透過以下方式修復它:

  • 右鍵單擊啟動器中的應用程式
  • 點擊編輯應用程式
  • 點擊應用程式選項卡
  • 按一下進階選項
  • 點擊以其他用戶身份運行
  • 輸入“根”

我現在可以在 KDE 中再次啟動它。

相關內容