Only I can change my life, No one can do it for me.

除了为没有人能够改变我的命运。

Ubuntu16.04安装Redshift色温调节工具

以前一直使用f.lux色温调节工具,但是发现在Ubuntu台式机上安装f.lux后程序不能调节色温,查了很多资料都没有说怎么解决这个问题,随访期。。。但是长期看电脑还是应该要一个屏幕调节色温的工具,就找到了一个替代品------------------Redshift------------------能够与f.lux达到相同的效果。下面写一下安装配置步骤供参考:

安装

# 只安装Redshift发现没有界面,所以安装了三个包
$ sudo apt install gtk-redshift redshift python-appindicator
# 执行
$ gtk-redshift

也可以直接搜索应用执行:

执行后选择Autostart。

配置

生成配置文件

sudo gedit ~/.config/redshift.conf

在文件中加入以下内容,可以根据自己的需求更改相应的配置(其中本人经纬度设置为兰州):

; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=4500
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=36.10
lon=103.80; 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=1

Ubuntu16.04安装Redshift色温调节工具相关推荐

  1. 雷蛇键盘鼠标 Ubuntu16.04安装驱动和调节背光模式

    1. 安装驱动 网址:https://openrazer.github.io/ 点击右上角的 download,选择Ubuntu sudo add-apt-repository ppa:openraz ...

  2. Ubuntu16.04安装文本标注工具brat

    brat 的下载地址http://brat.nlplab.org/ Ubuntu16.04安装CGI环境 安装Apache2 sudo apt install apache2 配置CGI 1)打开文件 ...

  3. Ubuntu16.04安装ROS kinetic以及标定工具Kalibr流程

    Ubuntu16.04安装ROS kinetic以及标定工具Kalibr流程 一.安装ROS Kinetic 二.安装kalibr 编译期间可能遇到的问题及解决方案: 一.安装ROS Kinetic ...

  4. Linux ubuntu16.04 安装opencv4教程(源码编译)

    参考文章1:Ubuntu 安装 OpenCV(亲测有效) 参考文章2:OpenCV - Linux(Ubuntu 16.04)中安装OpenCV + OpenCV_Contrib 参考文章3:ubun ...

  5. Ubuntu16.04安装NVIDIA显卡(RTX20系列)驱动+CUDA10.0+cudnn+Pytorch1.1.0

    Ubuntu16.04,GPU: Geforce RTX 2070-Super(本博客是显卡驱动和cuda分开安装的教程). 1. Ubuntu16.04安装NVIDIA显卡驱动 1. 下载显卡驱动. ...

  6. ubuntu16.04 安装ros

    ubuntu16.04 安装ros 2018年04月30日 22:44:11 文刀过客 阅读数:512 标签: ros的安装 更多 个人分类: ROS 主要参考了以下两个帖子: https://blo ...

  7. ubuntu16.04安装metasploit+postgresql

    ubuntu16.04安装metasploit+postgresql 1.安装msf 1.1.打开终端,进入安装目录(你想放在哪就进哪 cd /opt curl https://raw.githubu ...

  8. Ubuntu16.04安装后开发环境配置和常用软件安装

    Ubuntu16.04安装后1.安装常用软件搜狗输入法+编辑器Atom+浏览器Chome+视频播放器vlc+图像编辑器GIMP Image Editor安装+视频录制软件RcordMyDesktop安 ...

  9. Ubuntu(护眼设置)安装屏幕色温调节软件F.lux

    CSDN GitHub Ubuntu(护眼设置)安装屏幕色温调节软件F.lux AderXCoding/system/tools/flux 本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 ...

最新文章

  1. 跨模态学习在三维语义分割领域适应中的应用
  2. 关于字符集报错显示“255”Unknown initial character set index '255' received from server.
  3. BZOJ5286:[HNOI/AHOI2018]转盘——题解
  4. 解决 SQLSERVER 2008 无法删除作业
  5. Unable to execute dex: Multiple dex files define 解决方法
  6. 昨天,我的大学学习[2]
  7. 手把手教你用原始方式上传项目至GitHub
  8. 【java设计模式】之 工厂(Factory)模式
  9. 欢迎关注我的微信公众账号:Linux技巧(微信号:irefactoring),一起学习Linux知识~~~...
  10. MyBatis Demo 编写(2)结果映射转换处理
  11. bzoj 1052: [HAOI2007]覆盖问题(二分+贪心)
  12. HDU 6162 2017 多校训练:Ch's gift(树链剖分)
  13. 使用百度echarts仿雪球分时图(二)
  14. 记忆网络之在对话系统中的应用
  15. 【无标题】手机扩容或更换字库后的指纹. 基带. 账号 .解锁等故障分析
  16. 打开微信备份文件db_安卓手机微信数据导出方法-adb备份(无需root) - Fenlog软件...
  17. 八数码问题简单解决办法
  18. Http请求常见Header
  19. UE4C++开发学习笔记(01)——创建一个能操控的Character
  20. 语c语言用语大全,C语言常用语总结.doc

热门文章

  1. 无线路由器开服务器玩游戏,游戏路由和普通无线路由器有什么区别?
  2. HIL测试系统的构建
  3. 【SpringMVC】拦截器和过滤器
  4. mysql sql 多表更新语句_MySQL跨表、多表更新SQL语句总结
  5. YOLO v3 详解
  6. 物研究所做一位科研人员
  7. 手把手教你使用 Java 在线生成 pdf 文档
  8. Android,ios,安卓app推送消息通知,java后台向手机推送app的通知教程
  9. 苹果ios超级签名源码包java版带分发页面支持安卓合并
  10. 英语长句分析经典100句