SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-08-22 02:18:59

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 686
Website

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
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:
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

Offline

Be excellent to each other!

#2 2009-08-22 03:35:01

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,037
Website

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

Offline

#3 2009-08-22 04:12:28

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 686
Website

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  )

Offline

#4 2009-10-10 09:31:32

zeltak
Member
Registered: 2009-08-10
Posts: 23

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

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo