I recently asked a question about a Network Status plugin, but I've been
meaning to write my own plugin for something completely different, for a while
and only really getting started now. 

I've followed the instructions [1] but that has raised more questions then
it's answered.

I'm on Arch Linux on a RaspberryPi and to play with my new panel plugin I
created a new panel on the top of the screen so I'm not messing with the
existing panel on the bottom with all the default plugins in place. Problem
with that was that as soon as I executed the command "lxpanelctl restart" as
suggested in [1] it destroyed the bottom, existing, panel for it never to
return. I might have to re-install Arch on the SD card again, to get it back.

In the mean time I'm happy to keep playing with one panel on top to fine tune
my new plugin.

Another question there is that [1] has added text "TP-1" to the panel plugin
but that text is not showing up for me :-( Not sure where to start. Might have
to read a whole volume on GTK Development.

The last question would be how does that plugin get updated? I can't see any
mechanism to update the status of the displayed info. I really want to use
this plugin to display the status of a connected device. So A Daemon, probably
python, would monitor the device and notify the plugin of changes in
status. What would be used there? DBus to talk to the panel plugin? But how do
you get the plugin to check every few seconds?

Sorry much words 

[1] http://wiki.lxde.org/en/How_to_write_plugins_for_LXPanel

------------------------------------------------------------------------------
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to