码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu开机屏幕发暗,设置开机自启动设置亮度

时间:2015-08-18 22:55:49      阅读:189      评论:0      收藏:0      [点我收藏+]

标签:

解决办法(不完美,至少比每次开机手工调亮度好。):

<span style="font-size:14px;">1.
代码:
sudo apt-get install xbacklight</span>


<span style="font-size:14px;">2.
代码:
gnome-session-properties</span>




3.
附件:
技术分享


参考:http://www.maketecheasier.com/configure-screen-brightness-in-ubuntu/


另一种方法:
<span style="font-size:14px;">1.Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, runthe command below will give you the maximum level of your laptopbacklight:
代码:
cat/sys/class/backlight/acpi_video0/max_brightness

Mineis 100, so I can set backlight level from 0 to 100.</span>


<span style="font-size:14px;">2.Run the command below one by one. You’ll get the super userprivilege and open the /etc/rc.local file, a script executed at theend of each multiuser runlevel, with gedit editor.
代码:
sudo gedit /etc/rc.local
</span>





<span style="font-size:14px;">Add the line below before the last. Change the number 0 to the brightnesslevel you want.
引用:
echo0 > /sys/class/backlight/acpi_video0/brightness</span>



参考:http://ubuntuhandbook.org/index.php/2014/04/save-screen-brightness-settings-in-ubuntu-14-04/





版权声明:本文为博主原创文章,未经博主允许不得转载。

ubuntu开机屏幕发暗,设置开机自启动设置亮度

标签:

原文地址:http://blog.csdn.net/djd1234567/article/details/47759851

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!