Guake 在啟動時拋出錯誤

Guake 在啟動時拋出錯誤

我使用的是 Ubuntu-Server 12.04,但我不確定這是否是 Ubuntu 特定的問題,所以我將其發佈在這裡。

xinit我透過安裝和openbox(使用)獲得了一個圖形使用者介面apt-get install。我guake也安裝了(再次使用apt-get install)。但是,當我嘗試在終端模擬器(Sakura)中運行時guake,我收到以下錯誤訊息:

Traceback (most recent call last):
  File "/usr/lib/guake/guake.py", line 1356, in <module>
    if not main():
  File "/usr/lib/guake/guake.py", line 1299, in main
    instance = Guake()
  File "/usr/lib/guake/guake.py", line 649, in __init__
    notification.show()
glib.GError: GDBus.Error: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files

我該如何解決這個問題並開始guake運行?

答案1

報告顯示它是sudo apt-get install notification-daemon.

答案2

您需要安裝並運行DBus;特別是您想用來dbus-launch執行 X11 會話。 apt-get install dbus-x11應安裝守護程序組件和dbus-launch.

相關內容