panel plugin naming conventions
Alexander Toresson
alexander.toresson at gmail.com
Wed May 16 19:41:35 CEST 2007
On 5/16/07, Grant McWilliams <grantmasterflash at gmail.com> wrote:
> I'm configuring XFCE 4.4 machines via shell scripts and even though it's
> really easy to spit out the config files for
> panel plugins I want to clarify something first. The panel "plugins" all
> have a number after them in the name like this
>
> diskperf-11788246160.rc
> diskperf-11792536140.rc
> etc...
>
> Just to make sure I'm not trampling on something where does the number come
> from? I need to add diskperf plugins for 15 drives
> on each machine so it's really easy to just loop through them and create a
> config file I just want the naming to be correct.
>
> So
> 1. Where does the name come from and how do I create it?
seconds since 1970-01-01 00:00:00 UTC aka date +%s
> 2. Does anyone see any problem with me creating these plugin configs this
> way (via shell script)?
As far as I understood it it's just a way of giving the files unique
ids and thus unique filenames. Thus you could generate ids in any
other way if you just ensure that they'll have unique ids.
Regards, Alexander Toresson
More information about the Xfce4-dev
mailing list