Hello,
I am searching into kde-apps and i've found a theme very useful, -supermonitor-
It is very simple to learn to make themes into kde .
Only a few changes i can get public ip and lan ip.
p.theme for example:
--------------------------cut & paste -------------------------------------------------
# SMonitor
# Author: santos
# Licence: GPL
#karamba x=0 y=0 w=150 h=30 interval=10000
karamba x=0 y=0 w=150 h=30
defaultfont font="DejaVu Sans Condensed" fontsize=10 color=255,255,255 shadow=0
text x=5 y=5 value="IP Publica:" fontsize=10 style=bold
text x=60 y=5 sensor=program program="rm -rf .temp ; mkdir .temp ; cd .temp ; wget
http://checkip.dyndns.org/index.html && cat index.html | cut -d ' ' -f 6 | cut -d '<' -f 1 ; cd .. ; rm -rf .temp" interval=1800000 style=bold fontsize=12
text x=5 y=18 value="IP LAN:" fontsize=10 style=bold
text x=60 y=18 sensor=program program="/sbin/ip addr s
--------------------------cut & paste -------------------------------------------------
file
mandriva.png: PNG image data, 40 x 60, 8-bit/color RGB, non-interlaced
-----------------------------------------------------------------------------------------
maindata.xml :
--------------------- cut & paste ------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE superkaramba_theme>
<superkaramba_theme>
<themefile>IPPublica.theme</themefile>
<name>Muestra IP Publica</name>
<icon>mandriva.png</icon>
<description>Muestra ip publica (adsl) e interna eth0</description>
<author>SANTOS</author>
<author_email></author_email>
<version>0.5</version>
<license>GPL</license>
--------------------- cut & paste ------------------------------------
and from bash :
superkaramba, load p.theme and test it ...
it you want to launch from kde statupt,
into .kde/Autostart , a file publicip.desktop for example
--------------------- cut & paste ------------------------------------
[Desktop Entry]
Exec=superkaramba <directory>/supermonitor/p.theme
Name=publicip
Type=Application
X-KDE-StartupNotify=false
--------------------- cut & paste ------------------------------------
and i got my adsl-internet router ip ( public ip ) and my lan ip (eth0)
into a theme.
And, can anyone help me to create an applet kde ?
thank you