有无配置文件可以达到像xrandr命令的效果?(即通过配置文件而非运行命令的方式实现xrandr)

最大的社区版本,Ubuntu的发源地
回复
头像
kashu
帖子: 451
注册时间: 2014-02-07 17:31
系统: Xubuntu 14.04.5 64位

Re: 有无配置文件可以达到像xrandr命令的效果?

#2

帖子 kashu » 2017-01-31 18:49

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,通过调整显示器色温来控制屏幕所发射出来的有害蓝光,并根据你所在的时区和时间自动调整,听说可以防止长时间盯着屏幕的人不至于那么早失明…… :Haha
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命令的效果?

#3

帖子 科学之子 » 2017-01-31 20:11

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,通过调整显示器色温来控制屏幕所发射出来的有害蓝光,并根据你所在的时区和时间自动调整,听说可以防止长时间盯着屏幕的人不至于那么早失明…… :Haha
redshift - Set color temperature of display according to time of day.
xbacklight只能在硬件支持的情况下适用
redshift调节的是色温,不过这真的有必要?
记得以前电视上说过普通的显示器蓝光没那么夸张.

Tue Jan 31 20:24:45 CST 2017 补充:
另外我的目的不止亮度,就是xrandr命令能否有什么配置文件代替
就像xset的一些设置可以用xorg.conf来设置
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 有无配置文件可以达到像xrandr命令的效果?(即通过配置文件而非运行命令的方式实现xrandr)

#4

帖子 poloshiao » 2017-01-31 20:42

另外我的目的不止亮度,就是xrandr命令能否有什么配置文件代替
就像xset的一些设置可以用xorg.conf来设置
https://www.x.org/wiki/Projects/XRandR/
RandR Documentation
回复