gDesklets

from Wikipedia, the free encyclopedia
gDesklets

gDesklets icon
Desktop with gDesklets
Basic data

developer Martin Grimme and Christian Meyer
Current  version 0.36.3
(January 23, 2011)
operating system Linux , Unix
programming language python
category Widget
License GPL ( Free Software )
German speaking Yes
Snapshot of the website ( Memento from October 3, 2013 in the Internet Archive )

gDesklets is a free widget engine written in PyGTK . The software was brought to life by Martin Grimme (today partner at Lintegra OpenSource & Security) and Christian Meyer ( University of Passau ). Small desklets (a combination of the words desktop and applet ) can be placed anywhere on the desktop. gDesklets is so flexible that it not only runs under Gnome , for which it was originally designed, but also on KDE , Xfce , Fluxbox and many others, as long as the required Gnome libraries are installed.

The framework can be extended by so-called controls , since the desklets themselves run in a sandbox and cannot communicate directly with the system. This has the advantage that malicious code cannot damage the system. The desklets themselves are an XML dialect called ADL (= Applet Description Language). Similar to HTML, ADL is very easy to learn and does not cause any problems even for inexperienced users. Desklets can be brought to life with inline scripting. Inline scripting here means that both XML and Python code interlock, i.e. XML elements can be accessed and changed:

<?xml version="1.0" encoding="UTF-8"?>

<display window-flags="sticky">

    <label id="mylabel" font="Mono 18" value="Hallo" color="#00ff00"
           on-doubleclick="click_cb()" />

    <script>
    <![CDATA[

        def click_cb():
            Dsp.mylabel.value = "Welt"
            Dsp.mylabel.color = "#ff0000"

    ]]>
    </script>

</display>

Double-clicking on the desklet changes the label from hello to world and from green to red. In this way, very complex desklets can be created that react to user interactions.

Desklets

There is a multitude of desklets that cover a wide variety of areas. These include:

See also

Individual evidence

  1. dev.gentoo.org