Loading lcd4linux.conf.mensa 0 → 100644 +419 −0 Original line number Original line Diff line number Diff line # $Id$ # $URL$ Variables { tick 500 tack 100 minute 60000 } Display Mensa { Driver 'Mensa' Font '6x7' Size '480x70' URL 'tcp://mensadisplay:5556/' } #Plugin KVV { # StationID '12_701' # Refresh 30 # Proxy 'igate' # Port 8080; #} Plugin MySQL { server 'gsmlandia.com' # if none, localhost assumed port 3306 # if none, MySQL default assumed user 'lcd4linux' # if none, lcd4linux unix owner assumed password 'lcd4linux' # if none, empty password assumed database 'lcd4linux' # MUST be specified } Plugin DBus { # signal 0 is displayed IM msg # signal0sender 'im.pidgin.purple.PurpleService' # should be in the form com.domain.app.service, # the :1.23 form given by dbus-monitor will NOT work, # if unsure skip it signal0path '/im/pidgin/purple/PurpleObject' # find using dbus-monitor signal0interface 'im.pidgin.purple.PurpleInterface' # find using dbus-monitor signal0member 'DisplayedImMsg' # find using dbus-monitor signal0eventname 'got_im' # make something up, all Text widgets with an # event option matching this will be updated } #this example prints the second argument of signal# 0 #(in this case it prints the message displayed) Widget Pidgin { class 'Text' expression dbus::argument(0, 1) . ': ' . dbus::argument(0, 2)) width 20 align 'R' event 'got_im' } Widget OS { class 'Text' expression '*** Space is open ***' width 20 align 'M' style 'bold' speed 50 update tick } Widget CPU { class 'Text' expression uname('machine') prefix 'CPU ' width 14 align 'L' style test::onoff(7)>0?'bold':'norm' update tick } Widget CPUinfo { class 'Text' expression cpuinfo('model name') prefix '' width 20 align 'M' speed 100 update tick } Widget RAM { class 'Text' expression meminfo('MemTotal')/1024 postfix ' MB RAM' width 14 precision 0 align 'R' update tick } Widget Busy { class 'Text' expression proc_stat::cpu('busy', 500) prefix 'Busy' postfix '%' width 14 precision 1 align 'R' update tick } Widget BusyBar { class 'Bar' expression proc_stat::cpu('busy', 500) expression2 proc_stat::cpu('system', 500) length 10 direction 'E' update tack } Widget Load { class 'Text' expression loadavg(1) prefix 'Load' postfix loadavg(1)>1.0?'!':' ' width 10 precision 1 align 'R' update tick } Widget LoadBar { class 'Bar' expression loadavg(1) max 2.0 length 10 direction 'E' update tack } Widget Eth0 { class 'Text' expression (netdev('wlan0', 'Rx_bytes', 500)+netdev('wlan0', 'Tx_bytes', 500))/1024 prefix 'wlan0' postfix ' ' width 10 precision 0 align 'R' update tick } Widget Eth0Bar { class 'Bar' expression netdev('wlan0', 'Rx_bytes', 500) expression2 netdev('wlan0', 'Tx_bytes', 500) length 14 direction 'E' update tack } Widget Temp { class 'Text' expression i2c_sensors('temp1_input') prefix 'Temp' width 9 precision 1 align 'R' update tick } Widget TempBar { class 'Bar' expression i2c_sensors('temp1_input') min 40 max 80 length 10 direction 'E' update tack } Widget MySQLtest1 { class 'Text' expression MySQL::query('SELECT id FROM table1') width 20 align 'R' prefix 'MySQL test:' update minute } Widget MySQLtest2 { class 'Text' expression MySQL::status() width 20 align 'M' prefix 'Status: ' update minute } Widget Uptime { class 'Text' expression uptime('%d days %H:%M:%S') width 20 align 'R' prefix 'Up ' update 1000 } Widget mpris_TrackPosition_bar { class 'Bar' expression mpris_dbus::method_PositionGet('org.mpris.audacious') length 40 min 0 max 100 direction 'E' style 'H' update 200 } # Icons Widget Heartbeat { class 'Icon' speed 800 Bitmap { Row1 '.....|.....' Row2 '.*.*.|.*.*.' Row3 '*****|*.*.*' Row4 '*****|*...*' Row5 '.***.|.*.*.' Row6 '.***.|.*.*.' Row7 '..*..|..*..' Row8 '.....|.....' } } Widget EKG { class 'Icon' speed 50 Bitmap { Row1 '.....|.....|.....|.....|.....|.....|.....|.....' Row2 '.....|....*|...*.|..*..|.*...|*....|.....|.....' Row3 '.....|....*|...*.|..*..|.*...|*....|.....|.....' Row4 '.....|....*|...**|..**.|.**..|**...|*....|.....' Row5 '.....|....*|...**|..**.|.**..|**...|*....|.....' Row6 '.....|....*|...*.|..*.*|.*.*.|*.*..|.*...|*....' Row7 '*****|*****|****.|***..|**..*|*..**|..***|.****' Row8 '.....|.....|.....|.....|.....|.....|.....|.....' } } Widget Karo { class 'Icon' speed 200 Bitmap { Row1 '.....|.....|.....|.....|..*..|.....|.....|.....' Row2 '.....|.....|.....|..*..|.*.*.|..*..|.....|.....' Row3 '.....|.....|..*..|.*.*.|*...*|.*.*.|..*..|.....' Row4 '.....|..*..|.*.*.|*...*|.....|*...*|.*.*.|..*..' Row5 '.....|.....|..*..|.*.*.|*...*|.*.*.|..*..|.....' Row6 '.....|.....|.....|..*..|.*.*.|..*..|.....|.....' Row7 '.....|.....|.....|.....|..*..|.....|.....|.....' Row8 '.....|.....|.....|.....|.....|.....|.....|.....' } } Widget Heart { class 'Icon' speed 250 Bitmap { Row1 '.....|.....|.....|.....|.....|.....' Row2 '.*.*.|.....|.*.*.|.....|.....|.....' Row3 '*****|.*.*.|*****|.*.*.|.*.*.|.*.*.' Row4 '*****|.***.|*****|.***.|.***.|.***.' Row5 '.***.|.***.|.***.|.***.|.***.|.***.' Row6 '.***.|..*..|.***.|..*..|..*..|..*..' Row7 '..*..|.....|..*..|.....|.....|.....' Row8 '.....|.....|.....|.....|.....|.....' } } Widget Blob { class 'Icon' speed 250 Bitmap { Row1 '.....|.....|.....' Row2 '.....|.....|.***.' Row3 '.....|.***.|*...*' Row4 '..*..|.*.*.|*...*' Row5 '.....|.***.|*...*' Row6 '.....|.....|.***.' Row7 '.....|.....|.....' Row8 '.....|.....|.....' } } Widget Wave { class 'Icon' speed 100 Bitmap { Row1 '..**.|.**..|**...|*....|.....|.....|.....|.....|....*|...**' Row2 '.*..*|*..*.|..*..|.*...|*....|.....|.....|....*|...*.|..*..' Row3 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...' Row4 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...' Row5 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...' Row6 '.....|.....|....*|...*.|..*..|.*..*|*..*.|..*..|.*...|*....' Row7 '.....|.....|.....|....*|...**|..**.|.**..|**...|*....|.....' Row8 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....' } } Widget Squirrel { class 'Icon' speed 100 Bitmap { Row1 '.....|.....|.....|.....|.....|.....' Row2 '.....|.....|.....|.....|.....|.....' Row3 '.....|.....|.....|.....|.....|.....' Row4 '**...|.**..|..**.|...**|....*|.....' Row5 '*****|*****|*****|*****|*****|*****' Row6 '...**|..**.|.**..|**...|*....|.....' Row7 '.....|.....|.....|.....|.....|.....' Row8 '.....|.....|.....|.....|.....|.....' } } Widget Lightning { class 'icon' speed 100 visible cpu('busy', 500)-50 bitmap { row1 '...***' row2 '..***.' row3 '.***..' row4 '.****.' row5 '..**..' row6 '.**...' row7 '**....' row8 '*.....' } } Widget Rain { class 'icon' speed 200 bitmap { row1 '...*.|.....|.....|.*...|....*|..*..|.....|*....' row2 '*....|...*.|.....|.....|.*...|....*|..*..|.....' row3 '.....|*....|...*.|.....|.....|.*...|....*|..*..' row4 '..*..|.....|*....|...*.|.....|.....|.*...|....*' row5 '....*|..*..|.....|*....|...*.|.....|.....|.*...' row6 '.*...|....*|..*..|.....|*....|...*.|.....|.....' row7 '.....|.*...|....*|..*..|.....|*....|...*.|.....' row8 '.....|.....|.*...|....*|..*..|.....|*....|...*.' } } Widget Timer { class 'Icon' speed 50 Bitmap { Row1 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|' Row2 '.***.|.*+*.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.+++.|.+*+.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|' Row3 '*****|**+**|**++*|**+++|**++.|**++.|**+++|**+++|**+++|**+++|**+++|+++++|+++++|++*++|++**+|++***|++**.|++**.|++***|++***|++***|++***|++***|*****|' Row4 '*****|**+**|**+**|**+**|**+++|**+++|**+++|**+++|**+++|**+++|+++++|+++++|+++++|++*++|++*++|++*++|++***|++***|++***|++***|++***|++***|*****|*****|' Row5 '*****|*****|*****|*****|*****|***++|***++|**+++|*++++|+++++|+++++|+++++|+++++|+++++|+++++|+++++|+++++|+++**|+++**|++***|+****|*****|*****|*****|' Row6 '.***.|.***.|.***.|.***.|.***.|.***.|.**+.|.*++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.++*.|.+**.|.***.|.***.|.***.|.***.|' Row7 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|' } } Widget Test1 { class 'Text' expression 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' width 40 align 'M' speed 100 } Widget ImageTest { class 'Image' file 'tux.png' update 1000 visible 1 inverted 0 } Layout Default { Row1 { Col1 'OS' } Row2 { Col1 'CPU' Col15 'RAM' } Row3 { Col1 'Busy' Col15 'BusyBar' } Row4 { Col1 'Load' Col15 'LoadBar' } Row5 { } Row6 { } Row7 { Col1 'Lightning' } Row8 { Col1 'Rain' } Row9 { Col1 'Temp' Col11 'TempBar' } Row10 { Col1 'mpris_TrackPosition_bar' } } Display 'Mensa' Layout 'Default' Loading
lcd4linux.conf.mensa 0 → 100644 +419 −0 Original line number Original line Diff line number Diff line # $Id$ # $URL$ Variables { tick 500 tack 100 minute 60000 } Display Mensa { Driver 'Mensa' Font '6x7' Size '480x70' URL 'tcp://mensadisplay:5556/' } #Plugin KVV { # StationID '12_701' # Refresh 30 # Proxy 'igate' # Port 8080; #} Plugin MySQL { server 'gsmlandia.com' # if none, localhost assumed port 3306 # if none, MySQL default assumed user 'lcd4linux' # if none, lcd4linux unix owner assumed password 'lcd4linux' # if none, empty password assumed database 'lcd4linux' # MUST be specified } Plugin DBus { # signal 0 is displayed IM msg # signal0sender 'im.pidgin.purple.PurpleService' # should be in the form com.domain.app.service, # the :1.23 form given by dbus-monitor will NOT work, # if unsure skip it signal0path '/im/pidgin/purple/PurpleObject' # find using dbus-monitor signal0interface 'im.pidgin.purple.PurpleInterface' # find using dbus-monitor signal0member 'DisplayedImMsg' # find using dbus-monitor signal0eventname 'got_im' # make something up, all Text widgets with an # event option matching this will be updated } #this example prints the second argument of signal# 0 #(in this case it prints the message displayed) Widget Pidgin { class 'Text' expression dbus::argument(0, 1) . ': ' . dbus::argument(0, 2)) width 20 align 'R' event 'got_im' } Widget OS { class 'Text' expression '*** Space is open ***' width 20 align 'M' style 'bold' speed 50 update tick } Widget CPU { class 'Text' expression uname('machine') prefix 'CPU ' width 14 align 'L' style test::onoff(7)>0?'bold':'norm' update tick } Widget CPUinfo { class 'Text' expression cpuinfo('model name') prefix '' width 20 align 'M' speed 100 update tick } Widget RAM { class 'Text' expression meminfo('MemTotal')/1024 postfix ' MB RAM' width 14 precision 0 align 'R' update tick } Widget Busy { class 'Text' expression proc_stat::cpu('busy', 500) prefix 'Busy' postfix '%' width 14 precision 1 align 'R' update tick } Widget BusyBar { class 'Bar' expression proc_stat::cpu('busy', 500) expression2 proc_stat::cpu('system', 500) length 10 direction 'E' update tack } Widget Load { class 'Text' expression loadavg(1) prefix 'Load' postfix loadavg(1)>1.0?'!':' ' width 10 precision 1 align 'R' update tick } Widget LoadBar { class 'Bar' expression loadavg(1) max 2.0 length 10 direction 'E' update tack } Widget Eth0 { class 'Text' expression (netdev('wlan0', 'Rx_bytes', 500)+netdev('wlan0', 'Tx_bytes', 500))/1024 prefix 'wlan0' postfix ' ' width 10 precision 0 align 'R' update tick } Widget Eth0Bar { class 'Bar' expression netdev('wlan0', 'Rx_bytes', 500) expression2 netdev('wlan0', 'Tx_bytes', 500) length 14 direction 'E' update tack } Widget Temp { class 'Text' expression i2c_sensors('temp1_input') prefix 'Temp' width 9 precision 1 align 'R' update tick } Widget TempBar { class 'Bar' expression i2c_sensors('temp1_input') min 40 max 80 length 10 direction 'E' update tack } Widget MySQLtest1 { class 'Text' expression MySQL::query('SELECT id FROM table1') width 20 align 'R' prefix 'MySQL test:' update minute } Widget MySQLtest2 { class 'Text' expression MySQL::status() width 20 align 'M' prefix 'Status: ' update minute } Widget Uptime { class 'Text' expression uptime('%d days %H:%M:%S') width 20 align 'R' prefix 'Up ' update 1000 } Widget mpris_TrackPosition_bar { class 'Bar' expression mpris_dbus::method_PositionGet('org.mpris.audacious') length 40 min 0 max 100 direction 'E' style 'H' update 200 } # Icons Widget Heartbeat { class 'Icon' speed 800 Bitmap { Row1 '.....|.....' Row2 '.*.*.|.*.*.' Row3 '*****|*.*.*' Row4 '*****|*...*' Row5 '.***.|.*.*.' Row6 '.***.|.*.*.' Row7 '..*..|..*..' Row8 '.....|.....' } } Widget EKG { class 'Icon' speed 50 Bitmap { Row1 '.....|.....|.....|.....|.....|.....|.....|.....' Row2 '.....|....*|...*.|..*..|.*...|*....|.....|.....' Row3 '.....|....*|...*.|..*..|.*...|*....|.....|.....' Row4 '.....|....*|...**|..**.|.**..|**...|*....|.....' Row5 '.....|....*|...**|..**.|.**..|**...|*....|.....' Row6 '.....|....*|...*.|..*.*|.*.*.|*.*..|.*...|*....' Row7 '*****|*****|****.|***..|**..*|*..**|..***|.****' Row8 '.....|.....|.....|.....|.....|.....|.....|.....' } } Widget Karo { class 'Icon' speed 200 Bitmap { Row1 '.....|.....|.....|.....|..*..|.....|.....|.....' Row2 '.....|.....|.....|..*..|.*.*.|..*..|.....|.....' Row3 '.....|.....|..*..|.*.*.|*...*|.*.*.|..*..|.....' Row4 '.....|..*..|.*.*.|*...*|.....|*...*|.*.*.|..*..' Row5 '.....|.....|..*..|.*.*.|*...*|.*.*.|..*..|.....' Row6 '.....|.....|.....|..*..|.*.*.|..*..|.....|.....' Row7 '.....|.....|.....|.....|..*..|.....|.....|.....' Row8 '.....|.....|.....|.....|.....|.....|.....|.....' } } Widget Heart { class 'Icon' speed 250 Bitmap { Row1 '.....|.....|.....|.....|.....|.....' Row2 '.*.*.|.....|.*.*.|.....|.....|.....' Row3 '*****|.*.*.|*****|.*.*.|.*.*.|.*.*.' Row4 '*****|.***.|*****|.***.|.***.|.***.' Row5 '.***.|.***.|.***.|.***.|.***.|.***.' Row6 '.***.|..*..|.***.|..*..|..*..|..*..' Row7 '..*..|.....|..*..|.....|.....|.....' Row8 '.....|.....|.....|.....|.....|.....' } } Widget Blob { class 'Icon' speed 250 Bitmap { Row1 '.....|.....|.....' Row2 '.....|.....|.***.' Row3 '.....|.***.|*...*' Row4 '..*..|.*.*.|*...*' Row5 '.....|.***.|*...*' Row6 '.....|.....|.***.' Row7 '.....|.....|.....' Row8 '.....|.....|.....' } } Widget Wave { class 'Icon' speed 100 Bitmap { Row1 '..**.|.**..|**...|*....|.....|.....|.....|.....|....*|...**' Row2 '.*..*|*..*.|..*..|.*...|*....|.....|.....|....*|...*.|..*..' Row3 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...' Row4 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...' Row5 '*....|....*|...*.|..*..|.*...|*....|....*|...*.|..*..|.*...' Row6 '.....|.....|....*|...*.|..*..|.*..*|*..*.|..*..|.*...|*....' Row7 '.....|.....|.....|....*|...**|..**.|.**..|**...|*....|.....' Row8 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....' } } Widget Squirrel { class 'Icon' speed 100 Bitmap { Row1 '.....|.....|.....|.....|.....|.....' Row2 '.....|.....|.....|.....|.....|.....' Row3 '.....|.....|.....|.....|.....|.....' Row4 '**...|.**..|..**.|...**|....*|.....' Row5 '*****|*****|*****|*****|*****|*****' Row6 '...**|..**.|.**..|**...|*....|.....' Row7 '.....|.....|.....|.....|.....|.....' Row8 '.....|.....|.....|.....|.....|.....' } } Widget Lightning { class 'icon' speed 100 visible cpu('busy', 500)-50 bitmap { row1 '...***' row2 '..***.' row3 '.***..' row4 '.****.' row5 '..**..' row6 '.**...' row7 '**....' row8 '*.....' } } Widget Rain { class 'icon' speed 200 bitmap { row1 '...*.|.....|.....|.*...|....*|..*..|.....|*....' row2 '*....|...*.|.....|.....|.*...|....*|..*..|.....' row3 '.....|*....|...*.|.....|.....|.*...|....*|..*..' row4 '..*..|.....|*....|...*.|.....|.....|.*...|....*' row5 '....*|..*..|.....|*....|...*.|.....|.....|.*...' row6 '.*...|....*|..*..|.....|*....|...*.|.....|.....' row7 '.....|.*...|....*|..*..|.....|*....|...*.|.....' row8 '.....|.....|.*...|....*|..*..|.....|*....|...*.' } } Widget Timer { class 'Icon' speed 50 Bitmap { Row1 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|' Row2 '.***.|.*+*.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.*++.|.+++.|.+*+.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|.+**.|' Row3 '*****|**+**|**++*|**+++|**++.|**++.|**+++|**+++|**+++|**+++|**+++|+++++|+++++|++*++|++**+|++***|++**.|++**.|++***|++***|++***|++***|++***|*****|' Row4 '*****|**+**|**+**|**+**|**+++|**+++|**+++|**+++|**+++|**+++|+++++|+++++|+++++|++*++|++*++|++*++|++***|++***|++***|++***|++***|++***|*****|*****|' Row5 '*****|*****|*****|*****|*****|***++|***++|**+++|*++++|+++++|+++++|+++++|+++++|+++++|+++++|+++++|+++++|+++**|+++**|++***|+****|*****|*****|*****|' Row6 '.***.|.***.|.***.|.***.|.***.|.***.|.**+.|.*++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.+++.|.++*.|.+**.|.***.|.***.|.***.|.***.|' Row7 '.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|.....|' } } Widget Test1 { class 'Text' expression 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' width 40 align 'M' speed 100 } Widget ImageTest { class 'Image' file 'tux.png' update 1000 visible 1 inverted 0 } Layout Default { Row1 { Col1 'OS' } Row2 { Col1 'CPU' Col15 'RAM' } Row3 { Col1 'Busy' Col15 'BusyBar' } Row4 { Col1 'Load' Col15 'LoadBar' } Row5 { } Row6 { } Row7 { Col1 'Lightning' } Row8 { Col1 'Rain' } Row9 { Col1 'Temp' Col11 'TempBar' } Row10 { Col1 'mpris_TrackPosition_bar' } } Display 'Mensa' Layout 'Default'