Mar*_*ius 69 display color-management
f.lux 是根据一天中的时间调整显示器温度的软件。是否可以让 f.lux 在 Ubuntu 14.04 中工作?如果是这样,也许您可以分享您的知识或向我指出指南。
小智 74
我可以推荐RedShift吗?
它比flu.x 维护得更好,它有更多的选择,并且可以完美地与Ubuntu 14.10 x64 和Ubuntu 15.04 x64 配合使用。
它可以从存储库(12.04、14.04 和更新版本)安装:
sudo apt-get install redshift gtk-redshift
Run Code Online (Sandbox Code Playgroud)
您可以选择为 RedShift 创建配置文件。它不是自动创建的,因此您必须使用gedit ~/.config/redshift.conf
.
这是我的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.8
; It is also possible to use different settings for day and night since version 1.8.
brightness-day=0.9
brightness-night=0.7
; Set the screen gamma (for all colors, or each color channel individually)
gamma=0.8
;gamma=0.8:0.7:0.8
; Set the location-provider: 'geoclue', 'gnome-clock', 'manual'
; type 'redshift -l list' to see possible values
; The location provider settings are in a different section.
location-provider=geoclue
; 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'
[manual]
; set these values if you've set the location-provider to manual instead of geoclue
;lat=51.522698
;lon=-0.085358
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings
; ex: 'redshift -m randr:help'
[randr]
screen=0
Run Code Online (Sandbox Code Playgroud)
如果需要,手动编译它也很容易。这是官方存储库:https : //github.com/jonls/redshift
travis.yml
在运行引导程序可执行文件之前,请确保您已安装文件中指定的所有依赖项。
这里的说明:https : //github.com/jonls/redshift/blob/master/HACKING.md
对于 Ubuntu 15.04 用户:可能是因为缺少某些依赖项,您将无法使用 redshift。尝试通过直接从github获取代码来编译它。
sudo apt-get install build-essential libxcb-randr0-dev
./bootstrap
./configure --enable-randr
make
sudo checkinstall
Run Code Online (Sandbox Code Playgroud)
...或者只是install
如果您不想使用checkinstall
. 的libxcb-randr0-dev
包应满足的依赖性使用RANDR作为调整方法。否则尝试通过执行以下操作启用vidmode:
./configure --enable-vidmode
Run Code Online (Sandbox Code Playgroud)
RNA*_*RNA 37
这是我刚刚发现的另一种方法。我必须这样做,因为无论我尝试什么,公司防火墙都不会让我添加 apt 存储库。
从作者的github下载源代码
git clone https://github.com/xflux-gui/xflux-gui.git
Run Code Online (Sandbox Code Playgroud)安装
cd xflux-gui
sudo python setup.py install
Run Code Online (Sandbox Code Playgroud)从命令行运行
fluxgui
Run Code Online (Sandbox Code Playgroud)[截至 2017 年 2 月 23 日更新] repo 已更改
kar*_*rel 10
从 2017 年 3 月 22 日发布的 GNOME 桌面环境 3.24 开始,包含一个新的夜灯功能,可自动减少屏幕在一天中的某些时间发出的蓝光量。可以从显示设置启用新功能。屏幕颜色遵循您所在位置的日出/日落时间,但也可以设置为自定义时间表。Night Light 面板指示灯显示该功能何时处于活动状态,系统菜单允许暂时禁用该功能。
在 Ubuntu 17.10 中,Ubuntu 附带了 GNOME 桌面环境,而不是 Unity,并且默认包含 Night Light 功能。Night Light 适用于 X11 和 Wayland。要在 Ubuntu 17.10 中启用 Night Light,请转到System Settings -> Devices -> Displays -> Night Light并将 Night Light 滑块从 OFF 滑动到 ON。然后配置计划设置。
夜灯滑块 GNOME Shell 扩展提供了一个简单的界面,可以从面板的通知区域调整夜灯的温度。请务必查看 GNOME Tweak Tool 中的首选项以自定义或启用附加功能。您还可以轻松地将夜灯配置为始终开启或始终显示状态图标。
sudo add-apt-repository ppa:nathan-renniewaldock/flux
sudo apt-get update
sudo apt-get install fluxgui
Run Code Online (Sandbox Code Playgroud)
在 Ubuntu 12.04 和 14.04 中安装 f.lux 可以通过为 f.lux 添加 PPA 轻松完成。只需在终端中键入以下内容:
sudo add-apt-repository ppa:kilian/f.lux
sudo apt-get update
sudo apt-get install fluxgui
Run Code Online (Sandbox Code Playgroud)
64 位
wget -c https://justgetflux.com/linux/xflux64.tgz
tar -xvzf xflux64.tgz
rm -rf xflux64.tgz
sudo cp xflux /usr/bin/
sudo chmod 755 /usr/bin/xflux
Run Code Online (Sandbox Code Playgroud)
32 位
wget -c https://justgetflux.com/linux/xflux-pre.tgz
tar -xvzf xflux-pre.tgz
rm -rf xflux-pre.tgz
sudo cp xflux /usr/bin/
sudo chmod 755 /usr/bin/xflux
Run Code Online (Sandbox Code Playgroud)
f.lux GUI 可以从 Dash 或从终端使用命令启动fluxgui
。当它运行时,面板的通知区域中有一个 f.lux 图标。
? Xubuntu 14.04 中的 f.lux 指示器小程序首选项
归档时间: |
|
查看次数: |
84475 次 |
最近记录: |