[Lcdproc] Menus and Actions

david slugplayer@free.fr
Sun Aug 6 20:08:01 2006


On Sun, 2006-08-06 at 00:41 +0200, Joris Robijn wrote:
> > Hello
> > 
> > I've just discover LCDproc, and try to understand how it works.
> > 
> > I use LCDproc via sockets (port : 13666).
> > When I disconnect, the screens are deleted.
> > Can I keep them saved after the disconnection ?
> 
> No, at least not currently. Otherwise screens could get left orphaned
> and maybe an other client could hijack them. But maybe it would be a
> nice feature if you could leave the screen with a password to
> reconnect... Only the owning client should know the password.
> If you want to write that code, go ahead.
> 
> > I study the menus functionnality of LCDproc.
> > Can LCDproc itself launch an application or script when an action is
> > selected ?
> > Or, do I have to have a daemon connected by sockets (13666) and parse
> > all events ?
> 
> The lcdexec client is meant for just that, but it is not/hardly
> documented. Search the list archives for more info.
> 
> If you want more than only starting scripts/programs you have to
> write your own client.
> 
> Joris
> 
> _______________________________________________
> LCDproc mailing list
> LCDproc@lists.omnipotent.net
> http://lists.omnipotent.net/mailman/listinfo/lcdproc
> 

I don't have enough knowledge in C to modify lcdproc code.
But I'm writting a perl script that keep socket with lcdproc up, and can
manage a menus system from a simply config file.
I'm a beginner with perl, i don't know if I will be able to achieve my
goal :
Navigate in menus using lirc and control MPD daemon.

Thanks.

David.

-- 
http://slugplayer.free.fr