有无配置文件可以达到像xrandr命令的效果?(即通过配置文件而非运行命令的方式实现xrandr)
-
- 帖子: 2284
- 注册时间: 2013-05-26 6:58
- 系统: Debian 9
有无配置文件可以达到像xrandr命令的效果?(即通过配置文件而非运行命令的方式实现xrandr)
有无配置文件可以达到像xrandr命令的效果?(即通过配置文件而非运行命令的方式实现xrandr)
上次由 科学之子 在 2017-01-31 20:16,总共编辑 1 次。
- kashu
- 帖子: 451
- 注册时间: 2014-02-07 17:31
- 系统: Xubuntu 14.04.5 64位
Re: 有无配置文件可以达到像xrandr命令的效果?
man xrandr看帮助时,里面提供了一个xbacklight
--brightness brightness
Multiply the gamma values on the crtc currently attached to the output to specified floating value. Useful for overly bright or overly dim outputs. However, this is a software only modification, if your hardware has support to actually change the brightness, you will probably prefer to use xbacklight.
$ apt-cache show xbacklight | grep -A2 Description-en
Description-en: simple utility to set the backlight level
xbacklight is a simple command-line utility to set the backlight level
using the RandR 1.2 Backlight output property.
还有一个redshift,通过调整显示器色温来控制屏幕所发射出来的有害蓝光,并根据你所在的时区和时间自动调整,听说可以防止长时间盯着屏幕的人不至于那么早失明……
redshift - Set color temperature of display according to time of day.
--brightness brightness
Multiply the gamma values on the crtc currently attached to the output to specified floating value. Useful for overly bright or overly dim outputs. However, this is a software only modification, if your hardware has support to actually change the brightness, you will probably prefer to use xbacklight.
$ apt-cache show xbacklight | grep -A2 Description-en
Description-en: simple utility to set the backlight level
xbacklight is a simple command-line utility to set the backlight level
using the RandR 1.2 Backlight output property.
还有一个redshift,通过调整显示器色温来控制屏幕所发射出来的有害蓝光,并根据你所在的时区和时间自动调整,听说可以防止长时间盯着屏幕的人不至于那么早失明……
redshift - Set color temperature of display according to time of day.
OS: Xubuntu 14.04.5 LTS 64-bit
CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
RAM: 12GB DDR3 1333MHz
128GB SSD + 2TB HDD
神舟优雅A480B-I5B 购于 2012.08
YouTube频道:https://www.youtube.com/channel/UCGSPXZ ... DuDYX8L6Qg
-
- 帖子: 2284
- 注册时间: 2013-05-26 6:58
- 系统: Debian 9
Re: 有无配置文件可以达到像xrandr命令的效果?
xbacklight只能在硬件支持的情况下适用kashu 写了:man xrandr看帮助时,里面提供了一个xbacklight
--brightness brightness
Multiply the gamma values on the crtc currently attached to the output to specified floating value. Useful for overly bright or overly dim outputs. However, this is a software only modification, if your hardware has support to actually change the brightness, you will probably prefer to use xbacklight.
$ apt-cache show xbacklight | grep -A2 Description-en
Description-en: simple utility to set the backlight level
xbacklight is a simple command-line utility to set the backlight level
using the RandR 1.2 Backlight output property.
还有一个redshift,通过调整显示器色温来控制屏幕所发射出来的有害蓝光,并根据你所在的时区和时间自动调整,听说可以防止长时间盯着屏幕的人不至于那么早失明……
redshift - Set color temperature of display according to time of day.
redshift调节的是色温,不过这真的有必要?
记得以前电视上说过普通的显示器蓝光没那么夸张.
Tue Jan 31 20:24:45 CST 2017 补充:
另外我的目的不止亮度,就是xrandr命令能否有什么配置文件代替
就像xset的一些设置可以用xorg.conf来设置
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 有无配置文件可以达到像xrandr命令的效果?(即通过配置文件而非运行命令的方式实现xrandr)
https://www.x.org/wiki/Projects/XRandR/另外我的目的不止亮度,就是xrandr命令能否有什么配置文件代替
就像xset的一些设置可以用xorg.conf来设置
RandR Documentation