LazyLucretia

lcd-brightness.conf

Jan 31st, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. #
  2. # Configuration file for Laptop Mode Tools module lcd-brightness.
  3. #
  4. # For more information, consult the laptop-mode.conf(8) manual page.
  5. #
  6.  
  7.  
  8. ###############################################################################
  9. # LCD brightness settings
  10. # -----------------------
  11. #
  12. #__COMMENT Using these settings, you can make laptop mode tools automatically adjust
  13. #__COMMENT your LCD's brightness settings. The settings are extremely simple -- they
  14. #__COMMENT only allow for the execution of a command, nothing more. The reason for this
  15. #__COMMENT is that LCD brightness settings are very different between laptop vendors.
  16. #__COMMENT
  17. #__COMMENT Suggestions for commands:
  18. #__COMMENT
  19. #__COMMENT * If your system has the file "/proc/acpi/video/VID/LCD/brightness" (VID may
  20. #__COMMENT be VID1 or similar), use this file as BRIGHTNESS_OUTPUT, and use
  21. #__COMMENT the command "echo <value>". The possible values can be listed using the
  22. #__COMMENT command:
  23. #__COMMENT
  24. #__COMMENT cat /proc/acpi/video/VID/LCD/brightness
  25. #__COMMENT
  26. #__COMMENT * If you have a file /sys/class/backlight/.../brightness, then you can use
  27. #__COMMENT that file as BRIGHTNESS_OUTPUT, and the command "echo <value>".
  28. #__COMMENT
  29. #__COMMENT As far as I understand it the values are between 0 and
  30. #__COMMENT the value contained in the file /sys/class/backlight/.../max_brightness.
  31. #__COMMENT
  32. #__COMMENT * For Toshiba laptops, use the command "toshset" with the -lcd or -inten
  33. #__COMMENT command. Read the toshset(1) manual page for more information on the
  34. #__COMMENT parameters for this command. If you use this command, set
  35. #__COMMENT BRIGHTNESS_OUTPUT to "/dev/null".
  36. #
  37. ###############################################################################
  38.  
  39. ###############################################################################
  40. #
  41. # IMPORTANT: In versions 1.36 and earlier, these settings were included in the
  42. # main laptop-mode.conf configuration file. If they are still present, they
  43. # overrule the settings in this file. To fix this, simply delete the settings
  44. # from the main config file.
  45. #
  46. ###############################################################################
  47.  
  48. # Enable debug mode for this module
  49. # Set to 1 if you want to debug this module
  50. DEBUG=0
  51.  
  52. #
  53. # Should laptop mode tools control LCD brightness?
  54. #
  55. CONTROL_BRIGHTNESS=1
  56.  
  57.  
  58. #
  59. # Commands to execute to set the brightness on your LCD
  60. #
  61. BATT_BRIGHTNESS_COMMAND="echo 488"
  62. LM_AC_BRIGHTNESS_COMMAND="echo 4882"
  63. NOLM_AC_BRIGHTNESS_COMMAND="echo 4882"
  64. BRIGHTNESS_OUTPUT="/sys/class/backlight/intel_backlight/brightness"
Add Comment
Please, Sign In to add comment