护眼软件RedShift
Tofloor
poster avatar
193******89
deepin
2020-05-18 01:14
Author
软件安装命令
sudo apt-get install redshift
sudo apt-get install redshift-gtk
redshift-gtk -l 39.92:116.46 -t 5500:2500
注意事项:

redshift-gtk -l 39.92:116.46 -t 5500:2500
这条命令的意思是手动将经纬度设定在’39.92:116.46’(北京)
并且调整白天色温为 5500K,夜晚 2500K。
终端最好不要关闭 即使在命令后面加个"&" 也没法使软件在后台运行
我试了一下 ctrl + C  取消后 护眼色还在
欢迎加入deepin交流群937860250

Reply Favorite View the author
All Replies
avatar
193******89
deepin
2020-05-18 01:15
#1
欢迎加入
Reply View the author
avatar
176******49
deepin
2020-05-18 01:54
#2
本帖最后由 windnbike 于 2020-5-17 17:56 编辑

设置-显示-亮度-自动调节色温
默认已经装了redshift,再装上gtk就行了。

Reply View the author
avatar
houyawei
deepin
2020-05-18 02:25
#3
这个就是  红移  吧,经常在任务管理器看到
Reply View the author
avatar
koyang
deepin
2020-05-18 02:43
#4
在window有一个很不错的软件叫flux,好像也有Linux,但是我不会做deb包,不知道有没有哪位朋友能制作一下
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-05-18 03:01
#5
自带了redshift
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-05-18 03:04
#6
https://bbs.deepin.org/post/194541
在window有一个很不错的软件叫flux,好像也有Linux,但是我不会做deb包,不知道有没有哪位朋友能制作一下 ...

瞅了一眼,Linux版就是个双击打开的可执行文件啊!有什么打包的必要么?
Reply View the author
avatar
xiamingyu
deepin
2020-05-18 03:24
#7
redshift配置文件,解压后放到~/.config目录里即可,想怎么配置怎么配置。
Reply View the author
avatar
wnmer
deepin
2020-05-18 05:23
#8
谢谢,真的需要这个夜间模式护眼。我来试试。
Reply View the author
avatar
wnmer
deepin
2020-05-18 05:26
#9
本帖最后由 wnmer 于 2020-5-17 21:32 编辑

已经成功了,效果非常好,和debian里的夜间模式一样。建议官方把夜间护眼模式还是保留。但我按了ctrl+c后夜间模式就退出了。
我的输出是
redshift-gtk -l 39.92:116.46 -t 5500:2500
/usr/lib/python3/dist-packages/gi/overrides/Gdk.py:461: Warning: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
  initialized, argv = Gdk.init_check(sys.argv)

(redshift-gtk:14800): libappindicator-WARNING **: 21:28:50.978: Unable to get the session bus: 连接已关闭

(redshift-gtk:14800): LIBDBUSMENU-GLIB-WARNING **: 21:28:50.978: Unable to get session bus: 连接已关闭

不知道和楼主的是不是一样。

Reply View the author
avatar
wnmer
deepin
2020-05-18 05:47
#10
已经安装f.lux红移解决。
Reply View the author