Advertisement
Guest User

LCDd.conf

a guest
Oct 7th, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.84 KB | None | 0 0
  1. # LCDd.conf -- configuration file for the LCDproc server daemon LCDd
  2. #
  3. # This file contains the configuration for the LCDd server.
  4. #
  5. # The format is ini-file-like. It is divided into sections that start at
  6. # markers that look like [section]. Comments are all line-based comments,
  7. # and are lines that start with '#' or ';'.
  8. #
  9. # The server has a 'central' section named [server]. For the menu there is
  10. # a section called [menu]. Further each driver has a section which
  11. # defines how the driver acts.
  12. #
  13. # The drivers are activated by specifying them in a driver= line in the
  14. # server section, like:
  15. #
  16. # Driver=curses
  17. #
  18. # This tells LCDd to use the curses driver.
  19. # The first driver that is loaded and is capable of output defines the
  20. # size of the display. The default driver to use is curses.
  21. # If the driver is specified using the -d <driver> command line option,
  22. # the Driver= options in the config file are ignored.
  23. #
  24. # The drivers read their own options from the respective sections.
  25.  
  26.  
  27.  
  28. ## Server section with all kinds of settings for the LCDd server ##
  29. [server]
  30.  
  31. # Where can we find the driver modules ?
  32. # IMPORTANT: Make sure to change this setting to reflect your
  33. # specific setup! Otherwise LCDd won't be able to find
  34. # the driver modules and will thus not be able to
  35. # function properly.
  36. # NOTE: Always place a slash as last character !
  37. DriverPath=/usr/lib/lcdproc/
  38.  
  39. # Tells the server to load the given drivers. Multiple lines can be given.
  40. # The name of the driver is case sensitive and determines the section
  41. # where to look for further configuration options of the specific driver
  42. # as well as the name of the dynamic driver module to load at runtime.
  43. # The latter one can be changed by giving a File= directive in the
  44. # driver specific section.
  45. #
  46. # The following drivers are supported:
  47. # bayrad, CFontz, CFontzPacket, curses, CwLnx, ea65,
  48. # EyeboxOne, g15, glcd, glcdlib, glk, hd44780, icp_a106, imon, imonlcd,
  49. # IOWarrior, irman, joy, lb216, lcdm001, lcterm, lirc, lis, MD8800,
  50. # mdm166a, ms6931, mtc_s16209x, MtxOrb, mx5000, NoritakeVFD, picolcd,
  51. # pyramid, sdeclcd, sed1330, sed1520, serialPOS, serialVFD, shuttleVFD, sli,
  52. # stv5730, svga, t6963, text, tyan, ula200, vlsys_m428, xosd
  53. Driver=hd44780
  54.  
  55. # Tells the driver to bind to the given interface. [default: 127.0.0.1]
  56. Bind=127.0.0.1
  57.  
  58. # Listen on this specified port. [default: 13666]
  59. Port=13666
  60.  
  61. # Sets the reporting level; defaults to warnings and errors only.
  62. # [default: 2; legal: 0-5]
  63. #ReportLevel=3
  64.  
  65. # Should we report to syslog instead of stderr? [default: no; legal: yes, no]
  66. #ReportToSyslog=yes
  67.  
  68. # User to run as. LCDd will drop its root privileges and run as this user
  69. # instead. [default: nobody]
  70. User=nobody
  71.  
  72. # The server will stay in the foreground if set to yes.
  73. # [default: no, legal: yes, no]
  74. Foreground=no
  75.  
  76. # Hello message: each entry represents a display line; default: builtin
  77. Hello=" Welcome to"
  78. Hello=" OpenELEC"
  79.  
  80. # GoodBye message: each entry represents a display line; default: builtin
  81. GoodBye=" GoodBye"
  82.  
  83. # Sets the default time in seconds to displays a screen. [default: 4]
  84. WaitTime=5
  85.  
  86. # If set to no, LCDd will start with screen rotation disabled. This has the
  87. # same effect as if the ToggleRotateKey had been pressed. Rotation will start
  88. # if the ToggleRotateKey is pressed. Note that this setting does not turn off
  89. # priority sorting of screens. [default: on; legal: on, off]
  90. #AutoRotate=off
  91.  
  92. # If yes, the the serverscreen will be rotated as a usual info screen. If no,
  93. # it will be a background screen, only visible when no other screens are
  94. # active. The special value 'blank' is similar to no, but only a blank screen
  95. # is displayed. [default: on; legal: on, off, blank]
  96. ServerScreen=blank
  97.  
  98. # Set master backlight setting. If set to 'open' a client may control the
  99. # backlight for its own screens (only). [default: open; legal: off, open, on]
  100. Backlight=open
  101.  
  102. # Set master heartbeat setting. If set to 'open' a client may control the
  103. # heartbeat for its own screens (only). [default: open; legal: off, open, on]
  104. Heartbeat=open
  105.  
  106. # set title scrolling speed [default: 10; legal: 0-10]
  107. TitleSpeed=4
  108.  
  109. # The "...Key=" lines define what the server does with keypresses that
  110. # don't go to any client. The ToggleRotateKey stops rotation of screens, while
  111. # the PrevScreenKey and NextScreenKey go back / forward one screen (even if
  112. # rotation is disabled.
  113. # Assign the key string returned by the driver to the ...Key setting. These
  114. # are the defaults:
  115. ToggleRotateKey=Enter
  116. PrevScreenKey=Left
  117. NextScreenKey=Right
  118. #ScrollUpKey=Up
  119. #ScrollDownKey=Down
  120.  
  121.  
  122. ## The menu section. The menu is an internal LCDproc client. ##
  123. [menu]
  124. # You can configure what keys the menu should use. Note that the MenuKey
  125. # will be reserved exclusively, the others work in shared mode.
  126.  
  127. # Up to six keys are supported. The MenuKey (to enter and exit the menu), the
  128. # EnterKey (to select values) and at least one movement keys are required.
  129. # These are the default key assignments:
  130. MenuKey=Escape
  131. EnterKey=Enter
  132. UpKey=Up
  133. DownKey=Down
  134. #LeftKey=Left
  135. #RightKey=Right
  136.  
  137.  
  138. ### Driver sections are below this line, in alphabetical order ###
  139.  
  140.  
  141. ## Hitachi HD44780 driver ##
  142. [hd44780]
  143.  
  144. # Select what type of connection. See documentation for availabe types.
  145. ConnectionType=mplay
  146.  
  147. # I/O address of the LPT port. Usual values are: 0x278, 0x378 and 0x3BC.
  148. # For I2C connections this sets the slave address (usually 0x20).
  149. Port=0x378
  150.  
  151. # Device of the serial, I2C, or SPI interface [default: /dev/lcd]
  152. Device=/dev/ttyUSB0
  153.  
  154. # Bitrate of the serial port (0 for interface default)
  155. Speed=38400
  156.  
  157. # If you have a keypad connected.
  158. # You may also need to configure the keypad layout further on in this file.
  159. Keypad=no
  160.  
  161. # Set the initial contrast (bwctusb, lcd2usb, and usb4all)
  162. # [default: 800; legal: 0 - 1000]
  163. #Contrast=0
  164.  
  165. # Set brightness of the backlight (lcd2usb and usb4all):
  166. # Brightness is the brightness while the backlight is set to 'on'.
  167. # [default: 800; legal: 0 - 1000]
  168. Brightness=1000
  169.  
  170. # OffBrightness is the brightness while the backlight is set to 'off'.
  171. # [default: 300; legal: 0 - 1000]
  172. #OffBrightness=0
  173.  
  174. # If you have a switchable backlight.
  175. Backlight=no
  176.  
  177. # If you have the additional output port ("bargraph") and you want to
  178. # be able to control it with the lcdproc OUTPUT command
  179. OutputPort=no
  180.  
  181. # Specifies if the last line is pixel addressable (yes) or it controls an
  182. # underline effect (no). [default: yes; legal: yes, no]
  183. #Lastline=yes
  184.  
  185. # Specifies the size of the LCD.
  186. # In case of multiple combined displays, this should be the total size.
  187. Size=20x2
  188.  
  189. # For multiple combined displays: how many lines does each display have.
  190. # Vspan=2,2 means both displays have 2 lines.
  191. #vspan=2,2
  192.  
  193. # If you have an HD66712, a KS0073 or another controller with 'extended mode',
  194. # set this flag to get into 4-line mode. On displays with just two lines, do
  195. # not set this flag.
  196. # As an additional restriction, controllers with and without extended mode
  197. # AND 4 lines cannot be mixed for those connection types that support more
  198. # than one display!
  199. #ExtendedMode=yes
  200.  
  201. # In extended mode, on some controllers like the ST7036 (in 3 line mode)
  202. # the next line in DDRAM won't start 0x20 higher. [default: 0x20]
  203. #LineAddress=0x10
  204.  
  205. # Character map to to map ISO-8859-1 to the LCD's character set
  206. # [default: hd44780_default; legal: hd44780_default, hd44780_euro, ea_ks0073,
  207. # sed1278f_0b, hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5, upd16314 ]
  208. # (hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if
  209. # compiled with additional charmaps)
  210. CharMap=hd44780_default
  211.  
  212. # If your display is slow and cannot keep up with the flow of data from
  213. # LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4
  214. # to increase the delays. Default: 1.
  215. #DelayMult=2
  216.  
  217. # Some displays (e.g. vdr-wakeup) need a message from the driver to that it
  218. # is still alive. When set to a value bigger then null the character in the
  219. # upper left corner is updated every <KeepAliveDisplay> seconds. Default: 0.
  220. #KeepAliveDisplay=0
  221.  
  222. # If you experience occasional garbage on your display you can use this
  223. # option as workaround. If set to a value bigger than null it forces a
  224. # full screen refresh <RefreshDiplay> seconds. Default: 0.
  225. #RefreshDisplay=5
  226.  
  227. # You can reduce the inserted delays by setting this to false.
  228. # On fast PCs it is possible your LCD does not respond correctly.
  229. # Default: true.
  230. DelayBus=true
  231.  
  232. # If you have a keypad you can assign keystrings to the keys.
  233. # See documentation for used terms and how to wire it.
  234. # For example to give directly connected key 4 the string "Enter", use:
  235. # KeyDirect_4=Enter
  236. # For matrix keys use the X and Y coordinates of the key:
  237. # KeyMatrix_1_3=Enter
  238. KeyMatrix_4_1=Enter
  239. KeyMatrix_4_2=Up
  240. KeyMatrix_4_3=Down
  241. KeyMatrix_4_4=Escape
  242.  
  243. # EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement