Topic: How to have scripts in lxpanel menu

hi #!ers smile
yes, that's the question: how to have conkywonky (or any script) on your lxpanel menu (or any panel working with freedesktop format)?
you just have to create a conkywonky.desktop in your /usr/share/applications.
so first,

gksudo gedit /usr/share/applications/conkywonky.desktop


then, put something like this inside:

[Desktop Entry]
Name=conkywonky
GenericName=ConkyWonky
Comment=restart conky
Categories=GNOME;
Icon=ckw.png
Exec=conkywonky
StartupNotify=true
Terminal=false
Type=Application

and of course, make it executable

sudo chmod -x /usr/share/applications/conkywonky.desktop

the line Icon point on your /usr/share/pixmaps by default, so, you can choose or create an icon for conkywonky
you can take mine if you want wink
http://img11.imageshack.us/img11/3518/ckw.png
and sudo copy it to your /usr/share/pixmaps

now, you just have to left clic on lxpanel launchbar applet, select 'add' and go to your conkywonky.desktop.
done: you've got conkywonky in your lxpanel smile
and what it looks like:
http://img200.imageshack.us/img200/9555/2009082212509071361024x.png
and of course you can do it with any #! scripts or with your own scripts
hope it could be useful/fun smile
bye

Re: How to have scripts in lxpanel menu

Cool "how to", thank you for taking the time to write it. By the way, I love that conkywonky icon, nice work! smile

Re: How to have scripts in lxpanel menu

^thx corenominal, icon made with default 'refresh' icon from Tango set (i'm sure you guess smile  )

Re: How to have scripts in lxpanel menu

Hi

Was wondering if it works with tint2 (i also installed lxpanel but couldn't get it working)

what i would love would be to get only the line in conky for mpd in my panel smile

thx

Zeltak