Thank you Alexis, I'll write here news as soon as I have something working.
My idea is to modify the existing plugin adding the functionalities that xfce4-xkb-plugin has (display list of keyboard layouts, select default layout, add/delete layout, edit shortcut to change layout).
Regards,
Giuseppe.


On Sun, Jul 15, 2012 at 4:15 PM, Alexis Lopez Zubieta <azubieta@estudiantes.uci.cu> wrote:
Hello Giuseppe:

The "change layout applet" is a plugging of lxpanel. What I did was an external application and also I modified the lxpanel plugging to offer the possibility of invoke my application.

Here is the code of my modified lxpanel plugging: https://github.com/azubieta/lxkb_config/downloads. You can take it as an example of how to create a plugging for lxpanel.

I recommend you to take a look at lxkb_config functionalities (https://github.com/azubieta/lxkb_config/wiki) before start a new project.

Greetings


From: "Giuseppe Penone" <giuspen@gmail.com>
To: "Alexis Lopez Zubieta" <azubieta@estudiantes.uci.cu>
Cc: "lxde-list" <lxde-list@lists.sourceforge.net>
Sent: Sunday, July 15, 2012 6:21:47 AM

Subject: Re: [Lxde-list] keyboard layout applet

Hi Alexis,
so if I understand correctly the "change layout applet" is part of the lxpanel code, I cannot work separately, and what you made is to create another external applet, am I right?
I don't have clear yet how it works with the applets in lxde, are all of them embedded into the panel code or there is a standard way to connect to the panel from external code?
Regards,
Giuseppe.



On Sat, Jul 14, 2012 at 11:08 PM, Alexis Lopez Zubieta <azubieta@estudiantes.uci.cu> wrote:
Hello Giuseppe:

I was working with an application (lxkb-config, you can find it at the lxde repository in sourceforge) to switch the keyboard layout and other settings of the keyboard. I also modify the lxpanel plugging to integrate it with the application. I guess that put all the application code in a lxpannel plugging will make it consume more memory. If you are interested in reuse the lxkb-config code I can help you.

About porting lxde to gtk3 I was wondering if someone have studied the impact on performance and memory consumption that this could produce, new functionalities always requires more resources . I guess that lxde should not jump into gtk3 until we answer that question.

Greetings


From: "Giuseppe Penone" <giuspen@gmail.com>
To: "Martin Bagge / brother" <brother@bsnet.se>
Cc: lxde-list@lists.sourceforge.net
Sent: Saturday, July 14, 2012 12:10:55 PM
Subject: Re: [Lxde-list] keyboard layout applet


Is it possible to work in gtkmm or for performance reason I have to use gtk if I want to be my code accepted?
is there a reason why lxde is not ported to gtk3?
I ported several applications from gtk2 and gtkmm2 to gtk3 and gtkmm3 and it wasn't that hard.
Regards,
Giuseppe.



On Sat, Jul 14, 2012 at 12:15 AM, Martin Bagge / brother <brother@bsnet.se> wrote:
On Fri, 13 Jul 2012, Giuseppe Penone wrote:

Is there someone taking care of it? I would work on it if somebody helps me
understand whom I have
to contact and from what code/version I have to work on.

The code sits in the lxpanel repository. Start developing and attach your patch at the patch tracker at sourceforge. Also good if you make the branch public by sending info about your progress here and push changes to a open collab platform like gitorious or such.

--
/brother
http://martin.bagge.nu
If we built a Dyson sphere around Bruce Schneier and captured all of his energy for 2 months, without any loss, we could power an ideal computer running at 3.2 degrees K to count up to 2^256. This strongly implies that not only can Bruce Schneier brute-force attack 256-bit keys, but that he is built of something other than matter and occupies something other than space.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list



--
... no se ve bien sino con el corazón, lo esencial es invisible a los ojos ...






--
... no se ve bien sino con el corazón, lo esencial es invisible a los ojos ...