I published screenshots, debian packages for 12.04 and 13.04 and source code archive with build/install instructions
on my web site at http://www.giuspen.com/customs/

On Fri, Sep 6, 2013 at 12:15 AM, Giuseppe Penone <giuspen@gmail.com> wrote:
Hi, I completed a first simple working version of this applet in case somebody would like to try it and provide feedback.

The name of the plugin is "Application Launch and Task Bar" and is a Launchbar plugin + a Taskbar plugin with interaction between them.

What is the interaction:

1) when right clicking on a task button you can see the new menu item "New Instance" if its desktop file is found in launcher or in the menu cache;

2) when right clicking on a task button you can see the new menu item"Add to Launcher"  if its desktop file is NOT found in launcher and is FOUND in the menu cache;

3) when right clicking on a task button you can see the new menu item"Remove from Launcher"  if its desktop file is FOUND in launcher;

4) when right clicking on a task button you will see none of the above if the funcion was not able to locate the desktop file at all.

The way that a desktop file is searched from a task button is simple and not perfect, in some cases it may fail and there's a config key file to handle these special cases.

a) The desktop files have an Exec section, the  exec command is stripped from any argument and the location of the binary (e.g. /usr/bin) is also removed;

b) From the task buttons I retrieve the PID of the window and from the PID I retrieve the command, this command is also stripped from arguments and binary location;

c) the key file about special cases is created if not found in ~/.config/lxpanel/launchtaskbar.cfg and the content is at the moment:


which means that for the task manager retrieved command in these 2 cases I search instead for the associated value

I know that we're moving to Qt so it's not worth to spend too much time again on new features for old lxpanel but since I already started this work one year ago spending a lot of time on it, I wanted to complete it, furthermore I have many PCs that will ship the good old lxde again for long time.

The code is in branch named xkb in git repo and is in line with 0.6 code except for languages updates.