Projects/Plasma/Kiosk: Difference between revisions

    From KDE TechBase
    mNo edit summary
    (immutability)
    Line 49: Line 49:
    | With this variable we tell the plasmoid at which place we can find it in the panel, it is set through the X-position, y-position. The following last 2 variables are the height and width for the icon, so that plasma can rescale it<br>
    | With this variable we tell the plasmoid at which place we can find it in the panel, it is set through the X-position, y-position. The following last 2 variables are the height and width for the icon, so that plasma can rescale it<br>
    |-
    |-
    | immutability<br>  
    | immutable<br>  
    | This variable does not have the same function as it has in the panel containment definition, if the Value is 2 the Applets are NOT deletable, indeed their are moveable <br>
    | This variable does not have the same function as it has in the panel containment definition, if the Value is 2 the Applets are NOT deletable, indeed their are moveable <br>
    |-
    |-
    Line 60: Line 60:


    <br>  
    <br>  
    ==== Immutability<br> ====
    Just a short deep dive into the topic of immutablity.<br>
    <br>
    {| cellspacing="1" cellpadding="1" border="1" style="width: 532px; height: 103px;"
    |-
    ! scope="col" | <br>
    ! scope="col" | Level<br>
    ! scope="col" | <br>
    |-
    | panel<br>
    | 2 <br>
    | prevent moving, configuring the panel<br>
    |-
    | <br>
    | <br>
    | prevents adding or moving applets, BUT does not prevent to delete an applet (as long, as it is itself not immutable=2)<br>
    |-
    | applet<br>
    | 2<br>
    | prevents configuring and deleting this applet <br>
    |}
    <br>


    <br>
    <br>

    Revision as of 09:24, 3 July 2009

    Kiosk Configuration Parameters

    This page shall give you an breath overview, over the main variables which can be set in the plasma-appletsrc. They might be helpful for centralized configurations like Kiosk. The normal users DOES NOT need them in their daily business.

    I will now just shortly cover the main variables which can be found in the configuration file.

    Coding of a Panel


    Variables
    Explanation
    desktop

    fmrmfactor

    immutability
    This number indicates wheter a panel is locked (Value: 2) or if the panel is editable (Value:1 )
    location
    The value which is set with this variable describes the location of the containment on the desktop (eg. Value: 4, this indicates that the panel is at the bottom)
    plugin
    Type of plugin, in this example it is the definition of a panel for the plasma desktop
    screen
    This variable indicates whether a plugin (in this case the panel) shall be always on top (Value: 1) or if overlapping is possible (Value: 0)


    Coding a Plasmoid

    Lets assume we integrated a plasmoid into our panel.


    Variable
    Explanation
    geometry X,Y,H,W
    With this variable we tell the plasmoid at which place we can find it in the panel, it is set through the X-position, y-position. The following last 2 variables are the height and width for the icon, so that plasma can rescale it
    immutable
    This variable does not have the same function as it has in the panel containment definition, if the Value is 2 the Applets are NOT deletable, indeed their are moveable
    plugin
    Defining the type of plugin which should be integrated into the panel, eg. the launcher (KDE4 standard launcher), simplelauncher (KDE3 like launcher)
    zvalue


    Immutability

    Just a short deep dive into the topic of immutablity.



    Level

    panel
    2
    prevent moving, configuring the panel


    prevents adding or moving applets, BUT does not prevent to delete an applet (as long, as it is itself not immutable=2)
    applet
    2
    prevents configuring and deleting this applet