Die K Desktopumgebung

5.3 How do I embed an application in the panel?

It is possible to swallow small applications like xload or xbiff in the panel. To do this, you will have to add the lines:

 SwallowExec=...
 SwallowTitle=...

in the kdelnk file. The entry SwallowExec is the command that is executed to start the swallowed application. SwallowTitle is the title of the applications windows. This entry must exactly match the window title, as is is used to idenitify the window to show in the panel.

For example, a kdelnk file to swallow xload would read:

 # KDE Config File
 [KDE Desktop Entry]
 SwallowExec=xload -nolabel -geometry 50x50+10000+10000
 SwallowTitle=xload 
 Comment=System load
 Type=Application

You can still use the Exec entry to specifiy an application that is launched when you click at the panel button. You could e.g. start top.