也许我做错了什么,但命令不应该(单独运行)
notify-send -t 1 "test"
notify-send -t 1000 "test"
notify-send -t 10000 "test"
Run Code Online (Sandbox Code Playgroud)
有不同的超时?第一个几乎是瞬时的,第二个需要 1 秒,第三个需要 10 秒?在所有情况下,我似乎需要大约六秒钟。
有没有办法解决这种行为?由于开发人员将其标记为“功能”而不是错误,因此我想要一些替代方案。
System Monitor Indicator 带有显示 CPU 负载、内存使用情况和其他系统统计信息的选项,但目前不包括显示温度(CPU、HDD、SSD、GPU 等)的选项。

似乎内置了通过应用命令(通过单击“新建”)来添加其他传感器的功能。但是,我不知道怎么做,也找不到任何描述此功能的文档。
我的系统设置为报告温度,如下所示:
user@host:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +106.0°C)
temp2: +29.8°C (crit = +106.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +79.0°C (high = +87.0°C, crit = +105.0°C)
Core 0: +79.0°C (high = +87.0°C, crit = +105.0°C)
Core 1: +77.0°C (high = +87.0°C, crit = +105.0°C)
pkg-temp-0-virtual-0
Adapter: Virtual device
temp1: +79.0°C
Run Code Online (Sandbox Code Playgroud)
这个问题指的是 13.04 raring 中的包 indicator-sysmonitor 0.4.3 版,尽管目前我在 13.10 saucy 安装上运行它,因为它尚未在 ppa 中更新:
是否有适用于 Ubuntu 的应用程序,它会在规定的时间(例如 30 分钟)后锁定计算机。我需要它来限制孩子们看动画片的时间。例如,观看 30 分钟,然后 PC 锁定,需要父母解锁。
对于 Windows,我使用了 Eyes Relax 应用程序,它显示黑屏和绿色进度条(解锁 PC 的剩余时间)并且需要密码才能覆盖锁定。
我想问如何开发一个简单的脚本/应用程序并将其放在时间附近的状态栏中(右上角)。假设我有一台笔记本电脑,脚本每 10 秒获取一次电池当前使用情况(以瓦为单位),以便将其显示在状态栏中。我正在使用 ubuntu 16 和 unity
13.10 ×1
16.04 ×1
dbus ×1
indicator ×1
libnotify ×1
lock-screen ×1
notify-osd ×1
sensors ×1
statusbar ×1
temperature ×1
unity ×1