diff --git a/package/lcd4linux/files-skel/etc/lcd4linux.conf b/package/lcd4linux/files-skel/etc/lcd4linux.conf index 9858314e..97eb1a0f 100644 --- a/package/lcd4linux/files-skel/etc/lcd4linux.conf +++ b/package/lcd4linux/files-skel/etc/lcd4linux.conf @@ -502,7 +502,7 @@ Widget SS_WIND { expression file::exist(FWEATHER) == 0 ? '' : round(substr(file::readline(W . 'wind', 1), 0, strstr(file::readline(W . 'wind', 1), '|'))). ' m/s' update 10000 reload 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget SS_WIND1 { @@ -515,7 +515,7 @@ Widget SS_WIND1 { expression file::exist(FWEATHER) == 0 ? '' : round(substr(file::readline(W . 'wind', 1), 0, strstr(file::readline(W . 'wind', 1), '|'))*3.6). ' km/h' update 10000 reload 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget WEATHER_CITY1 { @@ -528,7 +528,7 @@ Widget WEATHER_CITY1 { expression file::exist(FWEATHER) == 0 ? '' : file::readline('/tmp/lcd/weather_city', 1) update 10000 reload 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget WEATHERICON_CURRENT { @@ -554,7 +554,6 @@ Widget TEMPERATURE_CURRENT { width 3 update 10000 reload 1 - DEBUGBORDER D_B } Widget TEMPERATURE_CURRENT1 { @@ -567,7 +566,7 @@ Widget TEMPERATURE_CURRENT1 { expression file::exist(FWEATHER) == 0 ? '' : file::readline('/tmp/lcd/weather_temp', 1) . '°' update 10000 reload 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget TEMPERATURE_LATER { @@ -577,7 +576,6 @@ Widget TEMPERATURE_LATER { width 3 update 10000 reload 1 - DEBUGBORDER D_B } Widget TEMPERATURE_LATER1 { @@ -590,7 +588,7 @@ Widget TEMPERATURE_LATER1 { expression file::exist(FWEATHER) == 0 ? '' : (TEMP=file::readline('/tmp/lcd/weather_temp', strftime('%H', time()) < 16 ? 2 : 3); substr(TEMP, (strstr(TEMP, '|') + 1))) . '°' update 10000 reload 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } # --- OS/N/DOScam ----------------------------------------------------------- # @@ -1339,7 +1337,7 @@ Widget S_TUNERTXT { width 90 height 25 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TUNER { @@ -1372,7 +1370,7 @@ Widget S_TUNERTXT1 { width 60 height 25 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TUNER_SIG { @@ -1385,7 +1383,7 @@ Widget S_TUNER_SIG { width 80 height 30 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TUNERTXT2 { @@ -1400,7 +1398,7 @@ Widget S_TUNERTXT2 { width 60 height 25 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TUNER_SNR { @@ -1413,7 +1411,7 @@ Widget S_TUNER_SNR { width 80 height 30 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_REC { @@ -1424,7 +1422,6 @@ Widget S_REC { inverted 0 align 'R' scale 300 - DEBUGBORDER D_B } Widget S_TS { @@ -1504,7 +1501,7 @@ Widget S_TTF-CHANNEL { width 800 height 108 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TTF-CHANNEL1 { @@ -1517,7 +1514,7 @@ Widget S_TTF-CHANNEL1 { width 1024 height 108 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_START { @@ -1531,7 +1528,7 @@ Widget S_START { align 'C' update 3000 reload 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_END { @@ -1545,7 +1542,7 @@ Widget S_END { align 'C' update 3000 reload 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TTF-EPG-NOW { @@ -1560,7 +1557,7 @@ Widget S_TTF-EPG-NOW { width 595 height 50 align 'L' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TTF-EPG-NOW1 { @@ -1573,7 +1570,7 @@ Widget S_TTF-EPG-NOW1 { width 819 height 50 align 'L' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TTF-EPG-NEXT { @@ -1588,7 +1585,7 @@ Widget S_TTF-EPG-NEXT { width 595 height 50 align 'L' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TTF-EPG-NEXT1 { @@ -1601,7 +1598,7 @@ Widget S_TTF-EPG-NEXT1 { width 819 height 50 align 'L' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION { @@ -1616,7 +1613,7 @@ Widget S_DURATION { width 160 height 50 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION1 { @@ -1629,7 +1626,7 @@ Widget S_DURATION1 { width 160 height 50 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION_BJ { @@ -1642,7 +1639,7 @@ Widget S_DURATION_BJ { width 60 height 30 align 'R' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION_BE { @@ -1655,7 +1652,7 @@ Widget S_DURATION_BE { width 60 height 30 align 'L' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION_KPL { @@ -1668,7 +1665,7 @@ Widget S_DURATION_KPL { width 60 height 30 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_LEFT { @@ -1681,7 +1678,7 @@ Widget S_LEFT { width 20 height 30 align 'R' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_RIGHT { @@ -1694,7 +1691,7 @@ Widget S_RIGHT { width 20 height 30 align 'L' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION_BJ1 { @@ -1707,7 +1704,7 @@ Widget S_DURATION_BJ1 { width 90 height 40 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION_BE1 { @@ -1720,7 +1717,7 @@ Widget S_DURATION_BE1 { width 90 height 40 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION_KPL1 { @@ -1733,7 +1730,7 @@ Widget S_DURATION_KPL1 { width 90 height 40 align 'C' - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_EPGBAR { @@ -1768,7 +1765,7 @@ Widget HST { align 'L' update 4000 reload 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget HST_STB { @@ -1781,7 +1778,7 @@ Widget HST_STB { align 'L' update 0 reload 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget RES320x240 { @@ -1793,7 +1790,7 @@ Widget RES320x240 { height 20 align 'R' update 0 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget RES800x480 { @@ -1805,7 +1802,7 @@ Widget RES800x480 { height 20 align 'R' update 0 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget RES800x600 { @@ -1817,7 +1814,7 @@ Widget RES800x600 { height 20 align 'R' update 0 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget RES1024x600 { @@ -1829,7 +1826,7 @@ Widget RES1024x600 { height 20 align 'R' update 0 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } # --- the digital clock ----------------------------------------------------- # @@ -1925,7 +1922,7 @@ Widget TAGDATUM-TTF { update 30000 reload 1 visible 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget TAGDATUM-TTF1 { @@ -1939,7 +1936,7 @@ Widget TAGDATUM-TTF1 { update 30000 reload 1 visible 1 - DEBUGBORDER D_B + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } # --------------------------------------------------------------------------- # @@ -2480,8 +2477,9 @@ Layout Samsung1024x600_standby { # --- General Settings ------------------------------------------------------ # Variables { - D_B1 'ffff0000' #DEBUGBORDER ein - D_B 'ffff00ff' #DEBUGBORDER aus + DEBUGBORDER '/var/etc/.debugborder' + DB_ON 'ffff0000' # debugborder on + DB_OFF 'ffff00ff' # debugborder off W '/tmp/lcd/weather_' W_ICON '/share/lcd/icons/wind/' ICONS '/share/lcd/icons/' diff --git a/package/lcd4linux/files-skel/var/etc/lcd4linux.conf b/package/lcd4linux/files-skel/var/etc/lcd4linux.conf index 4931c4a9..2692229b 100644 --- a/package/lcd4linux/files-skel/var/etc/lcd4linux.conf +++ b/package/lcd4linux/files-skel/var/etc/lcd4linux.conf @@ -73,7 +73,7 @@ Widget Pearl_SERVICE { width 320 height 60 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_EVENT { @@ -86,7 +86,7 @@ Widget Pearl_EVENT { height 36 update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_PROGRESS { @@ -111,7 +111,7 @@ Widget Pearl_START { height 36 update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_END { @@ -124,7 +124,7 @@ Widget Pearl_END { height 36 update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_DURATION { @@ -134,7 +134,6 @@ Widget Pearl_DURATION { width 13 update 1000 foreground 'c4caca' #RAL 7025 Lichtgrau - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget Pearl_DURATION_BJ { @@ -147,7 +146,7 @@ Widget Pearl_DURATION_BJ { height 20 update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_DURATION_BE { @@ -160,7 +159,7 @@ Widget Pearl_DURATION_BE { height 20 update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_DURATION_KPL { @@ -173,7 +172,7 @@ Widget Pearl_DURATION_KPL { height 20 update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_LEFT { @@ -186,7 +185,7 @@ Widget Pearl_LEFT { height 20 update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_RIGHT { @@ -199,7 +198,7 @@ Widget Pearl_RIGHT { height 20 update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_TIME { @@ -212,7 +211,7 @@ Widget Pearl_TIME { height 51 update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } # --- general mode-icons ---------------------------------------------------- # @@ -293,7 +292,7 @@ Widget Pearl_DURATION1 { height 15 update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_SERVICE1 { @@ -306,7 +305,7 @@ Widget Pearl_SERVICE1 { height 15 update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_EVENT1 { @@ -319,7 +318,7 @@ Widget Pearl_EVENT1 { height 15 update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_TIME1 { @@ -332,7 +331,7 @@ Widget Pearl_TIME1 { height 15 update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_VOLUME { @@ -345,7 +344,7 @@ Widget Pearl_VOLUME { height 15 update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_VOLUME1 { @@ -360,7 +359,7 @@ Widget Pearl_VOLUME1 { width 40 height 20 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_HST { @@ -373,7 +372,7 @@ Widget Pearl_HST { align 'L' update 4000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget Pearl_RES320x240 { @@ -385,7 +384,7 @@ Widget Pearl_RES320x240 { height 15 align 'R' update 0 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } # --- the background -------------------------------------------------------- # @@ -439,7 +438,6 @@ Widget ICON_WEATHER { file file::exist(FWEATHER) == 0 ? '' : ICONS . 'mode/weather_on.png' update 10000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget ICON_WEATHER1 { @@ -448,7 +446,6 @@ Widget ICON_WEATHER1 { update 10000 reload 1 scale 270 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget ICON_WEATHER2 { @@ -457,7 +454,6 @@ Widget ICON_WEATHER2 { update 10000 reload 1 scale 200 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_WIND { @@ -466,7 +462,6 @@ Widget S_WIND { update 4000 reload 1 align 'L' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S1_WIND { @@ -476,7 +471,6 @@ Widget S1_WIND { reload 1 align 'L' scale 20 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S2_WIND { @@ -489,7 +483,7 @@ Widget S2_WIND { align 'C' update 10000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget SS_WIND { @@ -502,7 +496,7 @@ Widget SS_WIND { align 'L' update 10000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget SS_WIND1 { @@ -515,7 +509,7 @@ Widget SS_WIND1 { align 'C' update 10000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget WEATHER_CITY1 { @@ -528,7 +522,7 @@ Widget WEATHER_CITY1 { align 'C' update 10000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget WEATHERICON_CURRENT { @@ -537,7 +531,6 @@ Widget WEATHERICON_CURRENT { update 10000 reload 1 scale 100 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget WEATHERICON_LATER { @@ -546,7 +539,6 @@ Widget WEATHERICON_LATER { update 10000 reload 1 scale 100 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget TEMPERATURE_CURRENT { @@ -556,7 +548,6 @@ Widget TEMPERATURE_CURRENT { width 3 update 10000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget TEMPERATURE_CURRENT1 { @@ -569,7 +560,7 @@ Widget TEMPERATURE_CURRENT1 { align 'C' update 10000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget TEMPERATURE_LATER { @@ -579,7 +570,7 @@ Widget TEMPERATURE_LATER { width 3 update 10000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget TEMPERATURE_LATER1 { @@ -592,7 +583,7 @@ Widget TEMPERATURE_LATER1 { align 'C' update 10000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } @@ -603,7 +594,6 @@ Widget S_BAR { file file::exist('/tmp/lcd/menu') == 1 ? ICONS . 'background/800x600/' . 'bar1.png' : ICONS . 'background/800x600/' . 'bar3.png' update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_BAR1 { @@ -611,7 +601,6 @@ Widget S_BAR1 { file file::exist('/tmp/lcd/menu') == 1 ? ICONS . 'background/1024x600/' . 'bar1.png' : ICONS . 'background/1024x600/' . 'bar3.png' update 5000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S800_STRIPE { @@ -619,7 +608,6 @@ Widget S800_STRIPE { file ICONS . 'background/800x600/' . 'stripe.png' update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S1024_STRIPE { @@ -627,7 +615,6 @@ Widget S1024_STRIPE { file ICONS . 'background/1024x600/' . 'stripe.png' update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_SERVICE2 { @@ -640,7 +627,7 @@ Widget S_SERVICE2 { height 20 update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_EVENT { @@ -653,7 +640,7 @@ Widget S_EVENT { height 20 update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TIME { @@ -666,7 +653,7 @@ Widget S_TIME { height 20 update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_WEATHER { @@ -679,7 +666,7 @@ Widget S_WEATHER { height 20 update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_VOLUME { @@ -692,7 +679,7 @@ Widget S_VOLUME { height 20 update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_VOLUME1 { @@ -707,7 +694,7 @@ Widget S_VOLUME1 { width 60 height 40 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S800x600_STB { @@ -828,7 +815,6 @@ Widget S_TIMER { reload 1 align 'R' scale 300 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_VFORMAT { @@ -838,7 +824,6 @@ Widget S_VFORMAT { reload 1 align 'R' scale 150 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_ASPECTRATIO { @@ -848,7 +833,6 @@ Widget S_ASPECTRATIO { reload 1 align 'R' scale 150 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_DOLBY { @@ -858,7 +842,6 @@ Widget S_DOLBY { reload 1 align 'R' scale 150 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_TXT { @@ -868,7 +851,6 @@ Widget S_TXT { reload 1 align 'R' scale 150 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_TUNERTXT { @@ -883,7 +865,7 @@ Widget S_TUNERTXT { width 90 height 20 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TUNERTXT3 { @@ -898,7 +880,7 @@ Widget S_TUNERTXT3 { width 35 height 40 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TUNERTXT1 { @@ -913,7 +895,7 @@ Widget S_TUNERTXT1 { width 60 height 20 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TUNER_SIG { @@ -926,7 +908,7 @@ Widget S_TUNER_SIG { width 85 height 40 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TUNERTXT2 { @@ -941,7 +923,7 @@ Widget S_TUNERTXT2 { width 60 height 20 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TUNER_SNR { @@ -954,7 +936,7 @@ Widget S_TUNER_SNR { width 85 height 40 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_REC { @@ -1021,7 +1003,6 @@ Widget S_LOGO { width 780 height 108 #scale 270 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_LOGO1 { @@ -1033,7 +1014,6 @@ Widget S_LOGO1 { width 1004 height 108 #scale 270 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_SERVICE { @@ -1046,7 +1026,7 @@ Widget S_SERVICE { height 108 align 'C' reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_SERVICE1 { @@ -1059,7 +1039,7 @@ Widget S_SERVICE1 { width 1024 height 108 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_START { @@ -1073,7 +1053,7 @@ Widget S_START { align 'C' update 3000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_END { @@ -1087,7 +1067,7 @@ Widget S_END { align 'C' update 3000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TTF-EPG-NOW { @@ -1102,7 +1082,7 @@ Widget S_TTF-EPG-NOW { width 800 height 60 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TTF-EPG-NOW1 { @@ -1117,7 +1097,7 @@ Widget S_TTF-EPG-NOW1 { width 1024 height 60 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TTF-EPG-NEXT { @@ -1132,7 +1112,7 @@ Widget S_TTF-EPG-NEXT { width 800 height 60 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_TTF-EPG-NEXT1 { @@ -1147,7 +1127,7 @@ Widget S_TTF-EPG-NEXT1 { width 1024 height 60 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION { @@ -1162,7 +1142,7 @@ Widget S_DURATION { width 160 height 50 align 'R' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION1 { @@ -1175,7 +1155,7 @@ Widget S_DURATION1 { width 160 height 40 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_LEFT { @@ -1188,7 +1168,7 @@ Widget S_LEFT { width 30 height 50 align 'R' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_RIGHT { @@ -1201,7 +1181,7 @@ Widget S_RIGHT { width 30 height 50 align 'L' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION_BJ1 { @@ -1214,7 +1194,7 @@ Widget S_DURATION_BJ1 { width 110 height 50 align 'R' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION_BE1 { @@ -1227,7 +1207,7 @@ Widget S_DURATION_BE1 { width 110 height 50 align 'L' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_DURATION_KPL1 { @@ -1240,7 +1220,7 @@ Widget S_DURATION_KPL1 { width 110 height 50 align 'C' - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget S_EPGBAR { @@ -1252,7 +1232,6 @@ Widget S_EPGBAR { update 5000 direction 'E' foreground 'f70000' #RAL 3024 Leuchtrot - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget S_EPGBAR1 { @@ -1264,7 +1243,6 @@ Widget S_EPGBAR1 { update 5000 direction 'E' foreground 'f70000' #RAL 3024 Leuchtrot - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' } Widget HST { @@ -1277,7 +1255,7 @@ Widget HST { align 'L' update 4000 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget HST_STB { @@ -1290,7 +1268,7 @@ Widget HST_STB { align 'L' update 0 reload 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget RES320x240 { @@ -1302,7 +1280,7 @@ Widget RES320x240 { height 15 align 'R' update 0 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget RES800x480 { @@ -1314,7 +1292,7 @@ Widget RES800x480 { height 15 align 'R' update 0 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget RES800x600 { @@ -1326,7 +1304,7 @@ Widget RES800x600 { height 15 align 'R' update 0 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget RES1024x600 { @@ -1338,7 +1316,7 @@ Widget RES1024x600 { height 15 align 'R' update 0 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } # --- the digital clock ----------------------------------------------------- # @@ -1434,7 +1412,7 @@ Widget TAGDATUM-TTF { update 30000 reload 1 visible 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } Widget TAGDATUM-TTF1 { @@ -1448,7 +1426,7 @@ Widget TAGDATUM-TTF1 { update 30000 reload 1 visible 1 - DEBUGBORDER file::readline('/tmp/lcd/volume', 1) eq '1' ? 'ffff0000' : 'ffff00ff' + debugborder file::exist(DEBUGBORDER) == 1 ? DB_ON : DB_OFF } # --------------------------------------------------------------------------- # @@ -1668,8 +1646,9 @@ Layout Samsung1024x600_user { # --- General Settings ------------------------------------------------------ # Variables { - D_B1 'ffff0000' #DEBUGBORDER ein - D_B 'ffff00ff' #DEBUGBORDER aus + DEBUGBORDER '/var/etc/.debugborder' + DB_ON 'ffff0000' # debugborder on + DB_OFF 'ffff00ff' # debugborder off W '/tmp/lcd/weather_' W_ICON '/share/lcd/icons/wind/' ICONS '/share/lcd/icons/'