Changing the taskbar dynamically via a script

Jasper Huijsmans jasper at xfce.org
Thu Feb 26 08:35:40 CET 2004


Op do 26-02-2004, om 08:25 schreef Garton, Jamie:
> Yeah I thought of that but it then locks the user into starting one
> machine second so it could see the first machine.
> 
> The grand plan is to have 2 morphix liveCDs running on 2 separate  machines
> connected via plip or ethernet or both, with the ability of both machines 
> being able to see each other.
> 
> I noticed that adding an item or menu to the panel via the gui does not
> change 
> the ~/.xfce4/xfce4rc file until it is shutdown. So maybe changing the panel
> at
> run time may only be done by calls altering the internal data structure.
> 
> I'm not sure how hard that would be. Anyone have an idea on how to do it and
> 
> how hard it would be?
> 

Pretty hard if not impossible. 

I think your best chance would be to write a panel plugin (e.g
Filesystems plugin), that would do this. You can use most of the code
from the launcher item. 

Definitely non-trivial though.

	Jasper





More information about the Xfce mailing list