1. Dashboard
  2. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  3. Filebase
  4. Forum
  5. Zebradem-WIKI
  6. Foren-Regeln
  7. Spenden Liste
    1. Spenden
  • Anmelden
  • Registrieren
  • Suche
ZebraDem-Sponsoring
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Seiten
  • Dateien
  • Forum
  • Erweiterte Suche
  1. Forum
  2. Computer Ecke
  3. Mini PC s
  4. Thin Clients

Probleme mit der lcd4linux.conf

  • Jigsaw1712
  • 10. Oktober 2014 um 09:46
  • Jigsaw1712
    Gast
    • 10. Oktober 2014 um 09:46
    • #1

    Hallo zusammen,

    ich hoffe das ist der richtige Bereich hier. Ich habe erfolgreich seid gestern erfolgreich ein Pearl Display an meinem Futro s400 laufen. Allerdings bekomme ich es nicht so eingestellt wie ich es gerne hätte.

    der obere Teil ist völlig OK, er zeit die Version, die Revision und die Uhrzeit an. Da drunter kommen so Sachen wie RAM, freier Speicher, Busy, Load, Traffic, OScam uptime was auch völlig i.O ist.

    Als nächstes werden meine Reader und alle Proxy Reader angezeigt, was ich gerne nur auf meine eigenen reader beschränken würde um mehr Platz für die User zu haben. Kann mir da jemand unter die Arme greifen?

    So sieht die aktuelle lcd4linux.conf aus

    Code
    Display 'DPF'
    Layout 'mylayout'
    
    
    Variables    {
            time_minute    60000
            time_second    1000
            time_tick    second
            time_faster    0.5
            color_black    '000000'
            color_white    'ffffff'
            color_blue    '0000FF'
            color_green    '008000'
            color_red    '800000'
            color_transparent 'ffffff00'
            color_lighter    'ffffff80'
            color_darker    '00000080'
            color_fg    'ffffff'
            color_bg    '00000044'
            color_bar_fg    'ffffff'
            color_bar_bg    '00000044'
            color_bar1    '5f5fff'
            color_bar2    'ff5f5f'
            width_quarter    12
            width_full    53
            width_half    24
            width_idle    22
            width_logo    39
            tablestart 6
            }
    
    
    Display dpf    {
            driver        'DPF'
            port        'dev/sg0'
            font        '6x8'
            foreground    color_white
            background    color_blue
            basecolor    color_black
            }
    
    
    Display dpf    {
            driver        'DPF'
            port        'dev/sg0'
            font        '6x8'
            foreground    color_white
            background    color_blue
            basecolor    color_black
            }
    
    
    Widget OVersion    {
            class        'Text'
            expression    file::readline('/tmp/.oscam/oscam.lcd', 1)
            width        width_full
            align        'L'
            update        time_minute
            style        bold
            background    color_blue
            }
    
    
    Widget ORevision{
            class        'Text'
            expression    file::readline('/tmp/.oscam/oscam.lcd', 2)
            width        width_full
            align        'L'
            update        time_minute
            style        bold
            background    color_blue
            }
    
    
    Widget CLOCK    {
            class        'Text'
            expression    strftime    ('%H:%M:%S', time())
            prefix        ' '
            width        width_full
            align        'L'
            update        time_second
            style        bold
            background    color_green
            foreground    color_white
            }
    
    
    Widget DATE    {
            class        'Text'
            expression    strftime    ('%d.%m.%Y', time())
            width        width_full
            align        'L'
            update        time_second
            style        bold
            background    color_red
            foreground    color_white
            }
    
    
    Widget RAM    {
            class        'Text'
            expression    (floor(meminfo('MemFree')*10/1024)/10).' / '.(floor(meminfo('MemTotal')*10/1024)/10)
            prefix        'RAM'
            postfix        ' MB'
            width        width_half
            #precision    0
            align        'R'
            update        time_second
            Background    color_transparent
            Foreground    color_fg
            }
    
    
    Widget DF    {
            class        'Text'
            expression    statfs('/root', 'bavail')*statfs('/root', 'bsize')/1024/1024/1024
            prefix        'USBStick '
            postfix        ' GB frei'
            precision    2
            width        width_half
            align        'R'
            update        time_second * 10
            Background    color_transparent
            Foreground    color_fg
            }
    
    
    Widget Busy    {
            class        'Text'
            expression    proc_stat::cpu('busy', 500)
            prefix        'Busy'
            postfix        '%'
            width        width_half
            precision    1
            align        'R'
            update        time_second
            Background    color_transparent
            Foreground    color_fg
            }
    
    
    Widget BusyBar    {
            class        'Bar'
            expression    proc_stat::cpu('busy',   500)
            expression2    proc_stat::cpu('system', 500)
            length        width_half
            direction    'E'
            update        time_second * time_faster
            Background    color_transparent
            Foreground    color_bar_fg
            BarColor0    color_bar1
            BarColor1    color_bar2
            }
    
    
    Widget Load    {
            class        'Text'
            expression    loadavg(1)
            prefix        'Load'
            postfix        loadavg(1)>1.0?'!':' '
            width        width_half
            precision    1
            align        'R'
            update        time_second
            Background    color_transparent
            Foreground    color_fg
            }
    
    
    Widget LoadBar    {
            class        'Bar'
            expression    loadavg(1)
            max        5.0
            length        width_half
            direction    'E'
            update        time_second * time_faster
            Background    color_transparent
            Foreground    color_bar_fg
            BarColor0    color_bar1
            BarColor1    color_bar2
            }
    
    
    Widget Eth0    {
            class        'Text'
            expression    (netdev('eth0', 'Rx_bytes', 500)+netdev('eth0', 'Tx_bytes', 500))/1024/1024
            prefix        'eth0'
            postfix        ' MB/s'
            width        width_half
            precision    3
            align        'R'
            update        time_second
            Background    color_transparent
            Foreground    color_fg
            }
    
    
    Widget Eth0Bar    {
            class        'Bar'
            expression    netdev('eth0', 'Rx_bytes', 500)
            expression2    netdev('eth0', 'Tx_bytes', 500)
            length        width_half
            direction    'E'
            update        time_second * time_faster
            Background    color_transparent
            Foreground    color_bar_fg
            BarColor0    color_bar1
            BarColor1    color_bar2
            }
    
    
    Widget Eth0Trf    {
            class        'Text'
            expression    (netdev('eth0', 'Rx_bytes', 0)+netdev('eth0', 'Tx_bytes', 0))/1024/1024
            prefix        'Traffic eth0'
            postfix        ' MB'
            width        width_half
            precision    3
            align        'R'
            update        tick
            Background    color_transparent
            #Background    color_bg
            Foreground    color_fg
            }
    
    
    Widget OTotals    {
            class        'Text'
            expression    file::readline('/tmp/.oscam/oscam.lcd', 4)
            prefix        ' Server Totals: '
            width        width_full
            align        'L'
            update        time_minute
            style        'bold'
            Background    color_red
            Foreground    color_white
            }
    
    
    Widget Ouptime    {
            class        'Text'
            expression    file::readline('/tmp/.oscam/oscam.lcd', 3)
            prefix        'Oscam '
            width        width_full
            align        'L'
            update        10000
            foreground    color_white
            background    color_transparent
            }
    
    
    
    
    ####################### Oscam Table #####################
    
    
    Widget OscamRow00    {
            class        'Text'
            expression    file::readline('/tmp/.oscam/oscam.lcd', tablestart)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart),'T') == 0 ? color_blue : color_transparent
            }
    
    
    Widget OscamRow01    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 1)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 1),'T') == 0 ? color_blue : color_transparent
            }
            
    Widget OscamRow02    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 2)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 2),'T') == 0 ? color_blue : color_transparent
            }
    
    
    Widget OscamRow03    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 3)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 3),'T') == 0 ? color_blue : color_transparent
            }
            
    Widget OscamRow04    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 4)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 4),'T') == 0 ? color_blue : color_transparent
            }
            
    Widget OscamRow05    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 5)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 5),'T') == 0 ? color_blue : color_transparent
            }
    
    
    Widget OscamRow06    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 6)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 6),'T') == 0 ? color_blue : color_transparent
            }
            
    Widget OscamRow07    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 7)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 7),'T') == 0 ? color_blue : color_transparent
            }    
        
    Widget OscamRow08    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 8)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 8),'T') == 0 ? color_blue : color_transparent
            }    
        
    Widget OscamRow09    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 9)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 9),'T') == 0 ? color_blue : color_transparent
            }    
        
    Widget OscamRow10    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 10)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 10),'T') == 0 ? color_blue : color_transparent
            }    
        
    Widget OscamRow11    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 11)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 11),'T') == 0 ? color_blue : color_transparent
            }     
        
    Widget OscamRow12    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 12)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 12),'T') == 0 ? color_blue : color_transparent
            }     
        
    Widget OscamRow13    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 13)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 13),'T') == 0 ? color_blue : color_transparent
            }     
        
    Widget OscamRow14    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 14)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 14),'T') == 0 ? color_blue : color_transparent
            }     
        
    Widget OscamRow15    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 15)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 15),'T') == 0 ? color_blue : color_transparent
            }     
        
    Widget OscamRow16    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 16)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 16),'T') == 0 ? color_blue : color_transparent
            }     
        
    Widget OscamRow17    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 17)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 17),'T') == 0 ? color_blue : color_transparent
            }     
        
    Widget OscamRow18    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 18)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 18),'T') == 0 ? color_blue : color_transparent
            }     
        
    Widget OscamRow19    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 19)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 19),'T') == 0 ? color_blue : color_transparent
            }     
        
    Widget OscamRow20    {
            class        'Text'
            expression file::readline('/tmp/.oscam/oscam.lcd', tablestart + 20)
            width        width_full
            align        'L'
            update        10000
            Background    strstr(file::readline('/tmp/.oscam/oscam.lcd', tablestart + 20),'T') == 0 ? color_blue : color_transparent
            } 
                
    Layout mylayout    {
    #----------------------------------------<start    topline
            Row01.Col01    'OVersion'
            Row01.Col29    'ORevision'
            Row01.Col44    'CLOCK'
    #----------------------------------------<end    topline
    
    
    #----------------------------------------<start    header
            Row03.Col02    'RAM'
            Row03.Col29    'DF'
            Row04.Col02    'Busy'
            Row05.Col02    'BusyBar'
            Row06.Col02    'Load'
            Row07.Col02    'LoadBar'
            Row04.Col29    'Eth0'
            Row05.Col29    'Eth0Bar'
            Row06.Col29    'Eth0Trf'
            Row07.Col29    'Ouptime'
    #----------------------------------------<end    header
    
    
    
    
            ROW09.Col01    'OscamRow00'
            ROW10.Col01    'OscamRow01'
            ROW11.Col01    'OscamRow02'
            ROW12.Col01    'OscamRow03'
            ROW13.Col01    'OscamRow04'
            ROW14.Col01    'OscamRow05'
            ROW15.Col01    'OscamRow06'
            ROW16.Col01    'OscamRow07'
            ROW17.Col01    'OscamRow08'
            ROW18.Col01    'OscamRow09'
            ROW19.Col01    'OscamRow10'
            ROW20.Col01    'OscamRow11'
            ROW21.Col01    'OscamRow12'
            ROW22.Col01    'OscamRow13'
            ROW23.Col01    'OscamRow14'
            ROW24.Col01    'OscamRow15'
            ROW25.Col01    'OscamRow16'
            ROW26.Col01    'OscamRow17'
            ROW27.Col01    'OscamRow18'
            ROW28.Col01    'OscamRow19'
            ROW29.Col01    'OscamRow20'
    
    
    
    
    #----------------------------------------<start    lastline
            ROW30.Col01    'OTotals'
            ROW30.Col43    'DATE'
    #----------------------------------------<end    lastline
        Layer 2 {
        X1.Y1 'IMAGE'
        } 
    }
    Widget IMAGE2 {
        class    'Image'
        file     '/home/vpn/box.png'
        update   10000
        reload   1
        visible  1
        inverted 0
            }
    Alles anzeigen

    Danke im vorraus.

    Hmm, ich bekomme die Proxys weg, aber habe keine Ahnung wie ich die User nach oben rutschen lassen kann. Gibt es irgendwo in Netz eine genaue Erklärung wie sich die config aufbauen lässt, ich seh den Wald vor lauter Bäumen nicht :)

    Also, mittlerweile bin ich soweit, dass ich es so hinbekomme wie ich es haben möchte. Trotzdem bin ich ja nicht so der copy&paste Typ und würde gerne den Aufbau der Widgets etc. besser verstehen lernen. Gibt es dazu nirgends eine vereinfachte Erklärung?

    Keiner hier der sich ein bißchen damit auskennt?

    • Zitieren

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!

Benutzerkonto erstellen Anmelden

Spenden

Vielen Dank für die Unterstützung!
Hiermit unterstützt du Zebradem.
Das beinhaltet überwiegend die Serverkosten und Lizenzgebühren.
Spenden

Letzte Beiträge

  • Gefahr beim Streaming: Cyberkriminelle im Visier der Generation Z

    heugabel 31. Mai 2025 um 17:27
  • Überraschende Bürgeranfrage nach Cannabis-Beschlagnahmung

    Katze Flohli 31. Mai 2025 um 10:46
  • AVCheck Zerschlagen: Ein neuer Schlag gegen die Cybercrime-Szene

    heugabel 31. Mai 2025 um 10:36
  • Bundespolizei fordert verstärkte KI-gestützte Überwachung in Bahnhöfen

    Katze Flohli 31. Mai 2025 um 10:34
  • Kostenlose Bilder für Webseiten: Die 15 besten Quellen im Internet

    heugabel 31. Mai 2025 um 10:27
  • DNS-Sperre gegen NOX.to: Wer definiert die Netzfreiheit?

    heugabel 29. Mai 2025 um 13:27
  • 6 GHz WLAN in der EU: Ein Machtkampf um dein Heimnetz

    Morbid Angel 29. Mai 2025 um 00:07
  • Streaming-Preiserhöhung 2025: Kosten steigen, illegales IPTV boomt

    Katze Flohli 28. Mai 2025 um 22:23
  • Pluto TV

    Fellfresse 28. Mai 2025 um 20:01
  • Gefahr durch Betrug über Snapchat: Polizei warnt Jugendliche

    heugabel 27. Mai 2025 um 18:27

Aktivste Themen

  • AMIGA MINI Linux-PC im Alu-Gehäuse

    20 Antworten
  • Welchen Igel Thin Client?

    18 Antworten
  • Verbindung mit Putty nicht möglich falsches Passwort obwohl richtig

    5 Antworten
  • Igel zum Imagebau einsetzten

    5 Antworten
  • Igel Thin Client mit HDD sinnvoll?

    4 Antworten
  • Igel Version auslesen

    3 Antworten
  • Toter Igel?

    3 Antworten
  • kein Speicherplatz

    2 Antworten
  • Open VPN mit Igel

    1 Antwort
  • Probleme mit der lcd4linux.conf

    0 Antworten

Benutzer online in diesem Thema

  • 1 Besucher
  1. Kontakt
© 2024 Zebradem - Software by WoltLab