Projects/Plasma/Kiosk

From KDE TechBase
Revision as of 08:21, 16 July 2009 by Tuxianer (talk | contribs)

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
immutability
default value is 1. Setting it to 2 disables the possibilities to configure it (configuring includes moving and deleting).
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