【急】ubuntu 13.04 安装后如何调节屏幕亮度

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
eson
帖子: 10
注册时间: 2013-04-27 11:30
系统: win8

【急】ubuntu 13.04 安装后如何调节屏幕亮度

#1

帖子 eson » 2013-04-29 21:17

小弟求教,y400安装ubuntu13.04后,无法调节屏幕亮度。
请教大家如何解决这个问题
top398
帖子: 130
注册时间: 2013-04-20 16:46
系统: Ubuntu 13.04

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#2

帖子 top398 » 2013-04-29 21:40

zt@zt-desktop:~$ xrandr | grep -i connected
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1280x720+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1280x720+0+0 (normal left inverted right x axis y axis) 603mm x 339mm
DP2 disconnected (normal left inverted right x axis y axis)
erted right x axis y axis)
top398
帖子: 130
注册时间: 2013-04-20 16:46
系统: Ubuntu 13.04

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#3

帖子 top398 » 2013-04-29 21:41

zt@zt-desktop:~$ xrandr --output HDMI1 --brightness 0.75

亮度值在0-1.0之间。
eson
帖子: 10
注册时间: 2013-04-27 11:30
系统: win8

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#4

帖子 eson » 2013-04-29 22:02

top398 写了:zt@zt-desktop:~$ xrandr --output HDMI1 --brightness 0.75

亮度值在0-1.0之间。
执行之后出现:
xrandr: Need crtc to set gamma on.
cym104
帖子: 16
注册时间: 2008-12-09 21:13
系统: Windows NT 6.2

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#5

帖子 cym104 » 2013-04-29 22:58

我勒个去有没有搞错调下屏幕亮度竟然都要开终端3楼你其实是高级黑吧噗哈哈哈
桌面Linux已死
-- ZDNet
eson
帖子: 10
注册时间: 2013-04-27 11:30
系统: win8

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#6

帖子 eson » 2013-04-29 23:23

cym104 写了:我勒个去有没有搞错调下屏幕亮度竟然都要开终端3楼你其实是高级黑吧噗哈哈哈
求可行的方法
top398
帖子: 130
注册时间: 2013-04-20 16:46
系统: Ubuntu 13.04

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#7

帖子 top398 » 2013-04-30 1:02

eson 写了:
top398 写了:zt@zt-desktop:~$ xrandr --output HDMI1 --brightness 0.75

亮度值在0-1.0之间。
执行之后出现:
xrandr: Need crtc to set gamma on.
看这样像是显卡驱动没装好?
要不再试试:
xgamma -gamma 0.7
还不行你看看系统信息里“图形”怎么说的?
top398
帖子: 130
注册时间: 2013-04-20 16:46
系统: Ubuntu 13.04

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#8

帖子 top398 » 2013-04-30 1:04

eson 写了:
cym104 写了:我勒个去有没有搞错调下屏幕亮度竟然都要开终端3楼你其实是高级黑吧噗哈哈哈
求可行的方法
其实应该是可以写进xsession里的,开机进桌面自动就调好了,只是自己也才上手几天,一时懒得搞而已。
top398
帖子: 130
注册时间: 2013-04-20 16:46
系统: Ubuntu 13.04

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#9

帖子 top398 » 2013-04-30 1:06

eson 写了:
top398 写了:zt@zt-desktop:~$ xrandr --output HDMI1 --brightness 0.75

亮度值在0-1.0之间。
执行之后出现:
xrandr: Need crtc to set gamma on.
还有就是你执行
xrandr | grep -i connected
这条命令后显示的又是什么?
不要机械照搬啊。
eson
帖子: 10
注册时间: 2013-04-27 11:30
系统: win8

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#10

帖子 eson » 2013-04-30 11:50

top398 写了:
eson 写了:
top398 写了:zt@zt-desktop:~$ xrandr --output HDMI1 --brightness 0.75

亮度值在0-1.0之间。
执行之后出现:
xrandr: Need crtc to set gamma on.
还有就是你执行
xrandr | grep -i connected
这条命令后显示的又是什么?
不要机械照搬啊。
$~ xrandr | grep -i connected
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected 1366x768+0+0 (normal left inverted right x axis y axis) 310mm x 174mm
HDMI-0 disconnected (normal left inverted right x axis y axis)

~$ xrandr --output HDMI-0 --brightness 0.75
xrandr: Need crtc to set gamma on.

~$ xgamma -gamma 0.7
-> Red 1.000, Green 1.000, Blue 1.000
<- Red 0.700, Green 0.700, Blue 0.700
eson
帖子: 10
注册时间: 2013-04-27 11:30
系统: win8

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#11

帖子 eson » 2013-04-30 11:56

top398 写了:
eson 写了:
top398 写了:zt@zt-desktop:~$ xrandr --output HDMI1 --brightness 0.75

亮度值在0-1.0之间。
执行之后出现:
xrandr: Need crtc to set gamma on.
还有就是你执行
xrandr | grep -i connected
这条命令后显示的又是什么?
不要机械照搬啊。

~$ xrandr --output HDMI-0 --brightness 0.8 --crtc 0.95
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 21 (RRSetCrtcConfig)
Serial number of failed request: 30
Current serial number in output stream: 30
这样就成功了 可以调节亮度了,非常感谢。。。
top398
帖子: 130
注册时间: 2013-04-20 16:46
系统: Ubuntu 13.04

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#12

帖子 top398 » 2013-04-30 17:13

$~ xrandr | grep -i connected
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected 1366x768+0+0 (normal left inverted right x axis y axis) 310mm x 174mm
HDMI-0 disconnected (normal left inverted right x axis y axis)

你这个说明显卡有3个输出口,当前只有LVDS-0是连接的,这应该是个笔记本吧。
那么亮度调节命令应该是
xrandr --output LVDS-0 --brightness 0.75

你上面的命令给的是HDMI-0输出口,所以是错误的,也不知道你亮度怎么就调节了。
eson
帖子: 10
注册时间: 2013-04-27 11:30
系统: win8

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#13

帖子 eson » 2013-04-30 23:04

top398 写了:$~ xrandr | grep -i connected
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected 1366x768+0+0 (normal left inverted right x axis y axis) 310mm x 174mm
HDMI-0 disconnected (normal left inverted right x axis y axis)

你这个说明显卡有3个输出口,当前只有LVDS-0是连接的,这应该是个笔记本吧。
那么亮度调节命令应该是
xrandr --output LVDS-0 --brightness 0.75

你上面的命令给的是HDMI-0输出口,所以是错误的,也不知道你亮度怎么就调节了。
是啊 应该是这个命令,学习了;非常感谢
xtz1990
帖子: 452
注册时间: 2010-06-03 22:51

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#14

帖子 xtz1990 » 2013-04-30 23:15

我的可以调节 但是无法保存
头像
北极的兔子
帖子: 3
注册时间: 2012-01-03 20:16

Re: 【急】ubuntu 13.04 安装后如何调节屏幕亮度

#15

帖子 北极的兔子 » 2013-05-06 15:00

xtz1990 写了:我的可以调节 但是无法保存

同样问题,无法保存
回复