xrandr --output LVDS --set BACKLIGHT_CONTROL native

Ubuntu ってどうなの?: 輝度の設定(xbacklight)

sudo apt-get install xbacklight libxxf86vm1

$ xrandr --output LVDS --set BACKLIGHT_CONTROL native
warning: output LVDS not found; ignoring
X Error of failed request:  BadRROutput (invalid Output parameter)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  15 (RRGetOutputProperty)
  Serial number of failed request:  31
  Current serial number in output stream:  31


あーこれこれ(スクリーンショットを見ながら),これが欲しかった.使えなかった.GUIを使えなかった.xbrightness-rgbgamma 10 を実行すると,画面が黒くなってどうにもならなかった.

sudo apt-get install gettext

$ xbrightness-rgbgamma-gtk 

** (xbrightness-rgbgamma-gtk:4907): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-2R5fiHx2ns: 接続を拒否されました
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed
  import gobject._gobject
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: specified class size for type 'PyGtkGenericCellRenderer' is smaller than the parent type's 'GtkCellRenderer' class size
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion 'node != NULL' failed
  from gtk import _gtk
Segmentation fault (コアダンプ)



sudo apt-get install redshift libxcb-randr0

$ redshift -l 35.82:139.38 
Using method `randr'.


$ redshift -h
Usage: redshift -l LAT:LON -t DAY:NIGHT [OPTIONS...]

Set color temperature of display according to time of day.

  -h		Display this help message
  -v		Verbose output
  -V		Show program version

  -b N		Screen brightness to apply (max is 1.0)
  -c FILE	Load settings from specified configuration file
  -g R:G:B	Additional gamma correction to apply
  -l LAT:LON	Your current location
  -l PROVIDER	Select provider for automatic location updates
  		(Type `list' to see available providers)
  -m METHOD	Method to use to set color temperature
  		(Type `list' to see available methods)
  -o		One shot mode (do not continously adjust color temperature)
  -O TEMP	One shot manual mode (set color temperature)
  -x		Reset mode (remove adjustment from screen)
  -r		Disable temperature transitions
  -t DAY:NIGHT	Color temperature to set at daytime/night

The neutral temperature is 6500K. Using this value will not
change the color temperature of the display. Setting the
color temperature to a value higher than this results in
more blue light, and setting a lower value will result in
more red light.

Default values:

  Daytime temperature: 5500K
  Night temperature: 3700K

Please report bugs to <https://bugs.launchpad.net/redshift>