Advertisement
fanex

LCDd.conf

May 1st, 2015
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.78 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, 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, sed1330, sed1520, serialPOS, serialVFD, shuttleVFD, sli,
  52. #   stv5730, svga, t6963, text, tyan, ula200, vlsys_m428, xosd
  53. Driver=glcdlib
  54.  
  55. # Tells the driver to bind to the given interface
  56. Bind=127.0.0.1
  57.  
  58. # Listen on this specified port; defaults to 13666.
  59. Port=13666
  60.  
  61. # Sets the reporting level; defaults to 2 (warnings and errors only).
  62. #ReportLevel=3
  63.  
  64. # Should we report to syslog instead of stderr ? [default: no; legal: yes, no]
  65. #ReportToSyslog=yes
  66.  
  67. # User to run as.  LCDd will drop its root privileges, if any,
  68. # and run as this user instead.
  69. User=nobody
  70.  
  71. # The server will stay in the foreground if set to true.
  72. #Foreground=no
  73.  
  74. # Hello message: each entry represents a display line; default: builtin
  75. Hello="  Welcome to"
  76. Hello="   LCDproc!"
  77.  
  78. # GoodBye message: each entry represents a display line; default: builtin
  79. #GoodBye="Thanks for using"
  80. #GoodBye="   LCDproc!"
  81.  
  82. # Sets the default time in seconds to displays a screen.
  83. WaitTime=5
  84.  
  85. # If set to no, LCDd will start with screen rotation disabled. This has the
  86. # same effect as if the ToggleRotateKey had been pressed. Rotation will start
  87. # if the ToggleRotateKey is pressed. Note that this setting does not turn off
  88. # priority sorting of screens. [default: on; legal: on, off]
  89. AutoRotate=no
  90.  
  91. # If yes, the the serverscreen will be rotated as a usual info screen. If no,
  92. # it will be a background screen, only visible when no other screens are
  93. # active. The special value 'blank' is similar to no, but only a blank screen
  94. # is displayed. [default: on; legal: on, off, blank]
  95. ServerScreen=no
  96.  
  97. # Set master backlight setting. If set to 'open' a client may control the
  98. # backlight for its own screens (only). [default: open; legal: off, open, on]
  99. #Backlight=open
  100.  
  101. # Set master heartbeat setting. If set to 'open' a client may control the
  102. # heartbeat for its own screens (only). [default: open; legal: off, open, on]
  103. #Heartbeat=open
  104.  
  105. # set title scrolling speed [default: 10; legal: 0-10]
  106. TitleSpeed=3
  107.  
  108. # The "...Key=" lines define what the server does with keypresses that
  109. # don't go to any client.
  110. # These are the defaults:
  111. ToggleRotateKey=Enter
  112. PrevScreenKey=Left
  113. NextScreenKey=Right
  114. #ScrollUpKey=Up
  115. #ScrollDownKey=Down
  116.  
  117. # If you have only 4 keys, you can choose to use this:
  118. #ToggleRotateKey=Enter
  119. #PrevScreenKey=Up
  120. #NextScreenKey=Down
  121.  
  122. # If you have only 3 keys, you can choose to use this:
  123. #ToggleRotateKey=Enter
  124. #PrevScreenKey=Up
  125.  
  126.  
  127.  
  128. ## The menu section. The menu is an internal LCDproc client. ##
  129. [menu]
  130. # You can configure what keys the menu should use. Note that the MenuKey
  131. # will be reserved exclusively, the others work in shared mode.
  132.  
  133. # The following works excellent with 4 keys or more.
  134. MenuKey=Escape
  135. EnterKey=Enter
  136. UpKey=Up
  137. DownKey=Down
  138. # If you have 6 keys you may define these as well
  139. #LeftKey=Left
  140. #RightKey=Right
  141.  
  142. # If you have only 3 keys, you could use something like this:
  143. #MenuKey=Escape
  144. #EnterKey=Enter
  145. #DownKey=Down
  146.  
  147.  
  148.  
  149. ### Driver sections are below this line, in alphabetical order  ###
  150.  
  151.  
  152. ## glcdlib meta driver for graphical LCDs ##
  153. [glcdlib]
  154.  
  155. ## mandatory:
  156.  
  157. # which graphical display supported by graphlcd-base to use [default: image]
  158. # (see /etc/graphlcd.conf for possible drivers)
  159. Driver=ax206dpf
  160.  
  161. # no=use graphlcd bitmap fonts (they have only one size / font file)
  162. # yes=use fonts supported by FreeType2 (needs Freetype2 support in libglcdprocdriver and its dependants)
  163. UseFT2=yes
  164.  
  165. # text resolution in fixed width characters [default: 16x4]
  166. # (if it won't fit according to available physical pixel resolution
  167. # and the minimum available font face size in pixels, then
  168. # 'DebugBorder' will automatically be turned on)
  169. TextResolution=20x4
  170.  
  171. # path to font file to use
  172. FontFile=/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-B.ttf
  173.  
  174. ## these only apply if UseFT2=yes:
  175.  
  176. # character encoding to use
  177. CharEncoding=CP1251
  178.  
  179. # minimum size in pixels in which fonts should be rendered
  180. MinFontFaceSize=21x42
  181.  
  182. ## optional:
  183. Brightness=50                   # Brightness (in %) if applicable
  184. Contrast=50                     # Contrast (in %) if applicable
  185. Backlight=no                    # Backlight if applicable
  186. UpsideDown=no                   # flip image upside down
  187. Invert=yes                       # invert light/dark pixels
  188. ShowDebugFrame=no               # turns on/off 1 pixel thick debugging
  189.                                 # border within the usable text area,
  190.                                 # for setting up TextResolution and
  191.                                 # MinFontFaceSize (if using FT2);
  192. ShowBigBorder=no                # border around the unused area
  193. ShowThinBorder=yes              # border around the unused area
  194. PixelShiftX=0
  195. PixelShiftY=2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement