由于缺少位置信息,Redshift 在没有互联网连接的情况下无法工作

emp*_*les 3 redshift

我的红移仅在我的笔记本电脑有互联网连接时才起作用。有解决方法吗?不能在软件中指定这一点,很不方便。这是我的终端输出:

\n\n
empedokles@thinkpad:~$ redshift\nTrying location provider `geoclue'...\nStarted Geoclue provider `Geoclue Master'.\nService \xc2\xbbgeoclue\xc2\xab is used.\nCould not get location (3 retries left): Geoclue master client has no usable Position providers.\nCouldn't get position from Service.\nempedokles@thinkpad:~$\n
Run Code Online (Sandbox Code Playgroud)\n

use*_*723 5

看着/usr/share/doc/redshift/example-redshift.conflat特别注意手动分配和的位lon。将此文件(或其中的一部分,如果您不喜欢所有设置)复制到~/.config/redshift.conf,找出您的纬度和经度(使用谷歌地图?),然后适当地编辑手动覆盖。

请注意,您可能已经通过查看man redshiftinfo redshift、(描述手动设置位置)和 的输出dpkg -L redshift(您将在其中看到它提供的位置example-redshift.conf)来弄清楚这一点。

  • redshift的菜单图标没有设置。作为用户,我不喜欢依赖命令行标志。 (2认同)