LoginSignup
5
5

More than 5 years have passed since last update.

ubuntuでモニターの輝度を起動時に下げる

Last updated at Posted at 2014-06-29

ノートパソコンにインストールすると輝度が初期化されてしまうようです。

まず任意の明るさにバックライトの明るさを設定します。
設定したら現在の明るさの数値を確認します。

 cat /sys/class/backlight/acpi_video1/brightness 

rc.localを編集します

sudo vim /etc/rc.local

echo ユーザ定義 > /sys/class/backlight/acpi_video1/brightnessをexit0の上の行に追記します
ユーザ定義には明るさの値を入力します

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
echo ユーザ定義 > /sys/class/backlight/acpi_video1/brightness
exit 0

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5