当前位置:七道奇文章资讯系统安全Linux安全
日期:2012-05-05 22:46:00  来源:本站整理

笔记本在Ubuntu下保存屏幕亮度的办法[Linux安全]

赞助商链接



  本文“笔记本在Ubuntu下保存屏幕亮度的办法[Linux安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:

  本文保存屏幕亮度办法合适利用笔记本的朋友,大家都知道,过亮的屏幕不但刺眼并且缩短LCD屏幕寿命,不幸的是,Ubuntu默许关机后并不保存当前屏幕亮度配置数据,每次开机都要重新设置亮度,很不便利.本文介绍的办法可以完好办理这个问题!

  1.改正/etc/default/acpi-support

  ENABLE_LAPTOP_MODE=true

  2.改正 /etc/laptop-mode/laptop-mode.conf

  交流电情势下利用 laptop mode

  #

  # Enable laptop mode when on AC power.

  #

  ENABLE_LAPTOP_MODE_ON_AC=1

  #电池那也可设为1

  利用 laptop mode 举行LCD亮度掌握

  #

  # Should laptop mode tools control LCD brightness?

  #

  CONTROL_BRIGHTNESS=1

  #

  # Commands to execute to set the brightness on your LCD

  #

  BATT_BRIGHTNESS_COMMAND=”echo 0″

  LM_AC_BRIGHTNESS_COMMAND=”echo 9″

  NOLM_AC_BRIGHTNESS_COMMAND=”echo 9″

  BRIGHTNESS_OUTPUT=”/sys/class/backlight/acpi_video1/brightness”

  假如你不懂得上面的设置的意思,可以参考下面的阐明:

  ***********************************

  # * If your system has the file “/proc/acpi/video/VID/LCD/brightness” (VID may

  # be VID1 or similar), use this file as BRIGHTNESS_OUTPUT, and use

  # the command “echo “. The possible values can be listed using the

  # command: www.linuxidc.com

  #

  # cat /proc/acpi/video/VID/LCD/brightness

  # * If you have a file /sys/class/backlight/…/brightness, then you can use

  # that file as BRIGHTNESS_OUTPUT, and the command “echo “.

  #

  # As far as I understand it the values are between 0 and

  # the value contained in the file /sys/class/backlight/…/max_brightness.

  **********************************

  以上是“笔记本在Ubuntu下保存屏幕亮度的办法[Linux安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
  • 笔记本在Ubuntu下保存屏幕亮度的办法
  • 本文地址: 与您的QQ/BBS好友分享!
    • 好的评价 如果您觉得此文章好,就请您
        0%(0)
    • 差的评价 如果您觉得此文章差,就请您
        0%(0)

    文章评论评论内容只代表网友观点,与本站立场无关!

       评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论
    Copyright © 2020-2022 www.xiamiku.com. All Rights Reserved .