安装步骤如下:

1. sudo apt-grt install redshift

2.sudo apt-get install redshift-gtk

3.设置一下参数:redshift-gtk -l 34.27:108.93 -t 5500:5000

其中,34.27:108.93 表示西安的维度,用于昼夜调节 ;5500:5000 表示白天色温5500 夜晚色温5000

此时理论上在应用界面已经可以看到图标:

但是,以防看不到,那么,gtk-redshift  语句可以用来打开redshift

4.但,过了一会这个redshift就停止工作了,再次开启时,虽然是白天,但屏幕色温并不是我设定的5500,我不知道为啥,于是,我通过下面这个博客进行了修改:Linux高效护眼——怎样将redshift设置成全天高效护眼_Lailikes的博客-CSDN博客

简言之就是要再重定义一下redshift的配置文件:

gedit ~/.config/redshift.conf  用gedit打开(新建)一个redshift的配置文件

在redshift.conf中输入下面内容:

; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=5000
temp-night=3500; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature.
transition=1; Set the screen brightness. Default is 1.0.
;brightness=0.9
; It is also possible to use different settings for day and night
; since version 1.8.
;brightness-day=0.7
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel
; individually)
gamma=0.8
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
;gamma-day=0.8:0.7:0.8
;gamma-night=0.6; Set the location-provider: geoclue, geoclue2, manual
; type redshift -l list to see possible values.
; The location provider settings are in a different section.
location-provider=manual; Set the adjustment-method: randr, vidmode
; type redshift -m list to see all possible values.
; randr is the preferred method, vidmode is an older API.
; but works in some cases when randr does not.
; The adjustment method settings are in a different section.
adjustment-method=randr; Configuration of the location-provider:
; type redshift -l PROVIDER:help to see the settings.
; ex: redshift -l manual:help
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
lat=22.5
lon=88.3; Configuration of the adjustment-method
; type redshift -m METHOD:help to see the settings.
; ex: redshift -m randr:help
; In this example, randr is configured to adjust screen 1.
; Note that the numbering starts from 0, so this is actually the
; second screen. If this option is not specified, Redshift will try
; to adjust _all_ screens.
[randr]
screen=0

其中:temp-day是白天的色温,temp-night是晚上的色温,全天色温在此区间变动,可以适当将其调低,护眼效果更明显

之后执行命令:

redshift -c .config/redshift.conf
重新开启redshift,一定要注意先把原来的redshift关闭掉,不然两个redshift会相互影响,看到的效果就是不断闪屏

参考链接:ubuntu护眼第二大神器 Redshift_Lebhoryi的博客-CSDN博客_ubuntu 护眼

ubuntu护眼软件——Redshift_aaon22357的博客-CSDN博客

Ubuntu 的护眼软件 :RedShift相关推荐

  1. ubuntu16.04/20.04 xfce4下面使用护眼软件redshift

    sudo apt-get install redshift sudo apt-get install redshift-gtk 装完后,设置参数有以下两种方法: 一: redshift-gtk -l ...

  2. Linux下面护眼软件汇总

    护眼软件 备注 f.lux   redshift 目前自己常用 gnome Night Light xfce下面似乎不适合 sct xfce下面使用有bug 会回复到变化前的色温 xrandr apt ...

  3. linux调节伽马值软件,四个 Linux 下的“护眼”软件

    晚上熄灯后,看电脑时蓝光刺眼.推荐两个护眼软件.此外最低亮度还是觉得太亮,所以自己写一个调节工具,用一个半透明黑色的遮罩层覆盖屏幕以此"降低"亮度. Redshift 是一款显示器 ...

  4. linux终端护眼色参数,四个 Linux 下的“护眼”软件解析

    晚上熄灯后,看电脑时蓝光刺眼.推荐两个护眼软件.此外最低亮度还是觉得太亮,所以自己写一个调节工具,用一个半透明黑色的遮罩层覆盖屏幕以此"降低"亮度. Redshift Redshi ...

  5. Windows 技巧篇-电脑蓝光过滤,颜色校准调节蓝光,电脑源头过滤蓝光,保护眼睛,护眼软件原理

    蓝光的危害已经越来越被大家所知晓,很容易让眼睛疲惫. 无需买防护罩,只需在颜色校准调一下就能在源头过滤蓝光. 护眼软件的原理也是一样的. 下面为大家演示怎么设置: 第一步: 在"外观和个性化 ...

  6. 根据ip查经纬度软件_f.lux - 必须推荐给大家的开源免费的护眼软件

    f.lux 是一款 开源免费的护眼软件 ,它能够自动 降低屏幕亮度.调整柔和色调,对于需要 长时间 面对 电脑屏幕 的来说非常实用.我们直接访问 软件官网 直接点击 Download f.lux 按钮 ...

  7. 意外的惊喜:f.lux, 一款真的很强大的护眼软件

    一.引言 最近在使用笔记本的时候,总是觉得有的时候太过于刺眼,此时就萌生了想要找一个护眼软件的想法. 因为我的笔记本是 ThinkPad 的,所以 ThinkPad 的联想 Lenovo Vantag ...

  8. windows电脑蓝光过滤,颜色校准调节蓝光,电脑源头过滤蓝光,保护眼睛,护眼软件原理

    蓝光的危害已经越来越被大家所知晓,很容易让眼睛疲惫. 无需买防护罩,只需在颜色校准调一下就能在源头过滤蓝光. 护眼软件的原理也是一样的. 下面为大家演示怎么设置: 第一步: 在"外观和个性化 ...

  9. ubuntu16.04 护眼神器Redshift

    那么有两个版本,一个redshit,另一个为redshift-gtk,当然我懒得搞什么地区配置,那只需要安装redshift-gtk有图像化界面的这个版本: sudo apt-get install ...

  10. 护眼软件去广告教程(简单详细)

    软件名:护眼宝 包名:protect.eye 版本:9.4(86)大小:3.1m 修改前: 首先 去掉 抓布局,找到布局id: 打开xml,在xml里面进行搜索:(在AK里面直接搜索这个布局的id即可 ...

最新文章

  1. 自动调度GPU的卷积层
  2. centos6.3 nginx php,CentOS 6.3 编译安装Nginx+MySQL+PHP
  3. 移动端取消button点击出现阴影效果
  4. cout的输出格式初探2
  5. iOS开发者工具功能详述
  6. [BZOJ3874/AHOI2014]宅男计划
  7. 通过一个简单的例子学习Angular Injection Token工作原理
  8. 关于域名解析到服务器的问题
  9. 前端学习(2590):前端权限的菜单控制
  10. 只出现一次的数字 (桶排序和位运算)
  11. 快慢指针 —— 链表中点
  12. 如何优雅的编写Objective-C语言?
  13. 大型网站系统架构实践(六)深入探讨web应用集群Session保持
  14. Docker 比较好的新入门教程
  15. 好长的一篇Android与iPhone的对比
  16. couchbase php,数据库大全-之-Couchbase
  17. pytorch log
  18. html中楷书的格式,中国书法的书写格式
  19. OSChina 周六乱弹 —— 召唤养我的富婆
  20. linux系统编程1--文件编程open和close

热门文章

  1. JAVA:实现HillCipher希尔密码算法(附完整源码)
  2. 小爱同学服务器维修,小爱同学TTS服务(2019年5月29日更新可用版本)
  3. 华硕aura完全卸载_AURA神光同步是什么意思?AURA SYNC神光同步教程
  4. 字体管理工具字由 v2.4.0.0 绿色便携版
  5. php 微信签到功能,微信小程序实现签到功能
  6. 函数的凹凸区间怎么求_函数凹凸区间怎么求
  7. python 指定dns服务器,python实现dns解析
  8. kux格式如何无损转换为MP4格式
  9. kux格式怎么转换成mp3_kux格式怎么转换成mp4?快速转换格式的方法
  10. 智慧校园物联网管理平台建设方案2.0