JJD*_*JJD 6 gnome wayland caffeine 20.04
我最近从 Ubuntu 18.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)
Run Code Online (Sandbox Code Playgroud)
当我激活它时,这是输出:
INFO:root:caffeine-indicator is inhibiting desktop idleness
Run Code Online (Sandbox Code Playgroud)
该caffeine软件包包括三个命令:caffeine、caffeinate和caffeine-indicator。
它caffeine负责防止空闲,但它只在后台运行。您需要caffeine-indicator从顶部栏运行来控制它。
在启动应用程序中同时拥有这两个项目(一个条目为/usr/bin/caffeine,一个条目为/usr/bin/caffeine-indicator)对我来说很有效。
我在 20.04,我已经使用sudo apt install caffeine(与 apt-get 相同,顺便说一句)安装了咖啡因 2.9.4-2
按Super并键入extensions,然后在那里找到咖啡因并转到其setting并启用show on top panel
| 归档时间: |
|
| 查看次数: |
1627 次 |
| 最近记录: |