我最近更新了Ubuntu18.04.4到20.04.1。虽然咖啡因指示器列在启动应用程序中..。

..。它不会自动出现在顶部状态栏后,我登录。这在以前的Ubuntu版本中有效。
我能做点什么吗?
从shell启动应用程序会产生以下输出:
$ caffeine-indicator
/usr/bin/caffeine-indicator:184: PyGIDeprecationWarning: Since version 3.11,
calling threads_init is no longer needed.
See: https://wiki.gnome.org/PyGObject/Threading
GObject.threads_init()
/usr/bin/caffeine-indicator:106: DeprecationWarning:
AyatanaAppIndicator3.Indicator.set_icon is deprecated
self.AppInd.set_icon(icon_name)当我激活它时,这就是输出:
INFO:root:caffeine-indicator is inhibiting desktop idleness发布于 2020-11-11 11:51:04
caffeine包包含三个命令:caffeine、caffeinate和caffeine-indicator。
caffeine负责防止空闲,但它只在后台运行。您需要运行caffeine-indicator来控制它。
在启动应用程序中使用这两种方式(一条用于/usr/bin/caffeine,另一条用于/usr/bin/caffeine-indicator)对我很有用。
我正在使用20.04,我使用sudo apt install caffeine安装了咖啡因2.9.4-2 (与apt-get相同)
发布于 2020-11-07 17:54:18
按Super并键入extensions,然后在那里找到咖啡因并进入其setting并启用show on top panel
https://askubuntu.com/questions/1285563
复制相似问题