This is a small appliation based on the discussion there:
http://www.murga.org/~puppy/viewtopic.php?t=6682
The idea is to run small scripts using a webserver, what allows to use HTML for their User-Interface.
The buttons you see are simply some pictures in a HTML-table.
The Widget itself is a modified version of Dillo.
Download (207 kb):
http://dotpups.de/dotpups/Desktop-Tools ... widget.pup
The script will offer to start your webserver (Ghttpd), if it is not already running.
Simply start it from the Dotpups-menu.
Configuration:
You can add Buttons in
/usr/local/iconbar-widget/iconbar.rc
A Button-entry looks like this:
Code: Select all
#icon#
leafpad
/gentooicons/l33t_DES_desktop.png
leafpad
Then the image. They are located in /root/ghttpd/htdocs.
Then the Tooltip-Text (that appears, when youmove the mouse over the button).
To change position and size of the Widget, edit
/usr/local/iconbar-widget/iconbarpos.rc
It looks like this:
Code: Select all
180x44+100+00
The script itself is in /root/ghttpd/cgi-bin.
As the Dillowidget cannot use Javascript, I also tried to compile Gtkmoz myself, but had no success.
Mark