Re: Re : Cups/Num Lock change event

2012-04-17 Thread basilio
15.04.2012 14:22, W Wlourf пишет: > Hi, > > > Did you try with xset ? > > mytextbox = widget({ type = "textbox" }) > mytextbox.text = io.popen("xset q | grep Num |awk '{print $8}'"):read("*all") > > with a link to a Timer, but it's not efficient ... > > Thanks. Linking such thing to timer i

Re : Cups/Num Lock change event

2012-04-15 Thread W Wlourf
> > De : basilio >À : awesome@naquadah.org >Envoyé le : Vendredi 13 avril 2012 21h18 >Objet : Re: Cups/Num Lock change event > >Hi to all! > >I understand that my question is not as easy as changing background and >all that

Re: Cups/Num Lock change event

2012-04-14 Thread basilio
Hi, Can! I've just tried xbindkeys with no success. The same undesirable keyboard layout switching. But that: 14.04.2012 11:30, Can Altıparmak пишет: > If not refocusing current client can be the problem. Of course, I'm > just speculating. was the source of my problem. And after moving caps&num

Re: Cups/Num Lock change event

2012-04-14 Thread Can Altıparmak
basilio, Did you try xbindkeys? If not this thread may help. https://bbs.archlinux.org/viewtopic.php?id=116379 I have never used kbdd, is switching layout via Caps Lock, a feauture? If not refocusing current client can be the problem. Of course, I'm just speculating. When you add your keybinding t

Re: Cups/Num Lock change event

2012-04-13 Thread Claudio Roberto França Pereira
Remember that awesome is just a window manager, not a full desktop environment. Controlling input events is not its main purpose. As you've tried, you could set some key bindings using Caps Lock, but reading key states is a little off. -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.

Re: Cups/Num Lock change event

2012-04-13 Thread basilio
Thank you, Claudio! Will think about it. Looks like there's no an easy way and rc.lua is not enough for such things and awesome is not so awesome respectively. But it still is awesome though. Thanks again. -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Cups/Num Lock change event

2012-04-13 Thread Claudio Roberto França Pereira
On Fri, Apr 13, 2012 at 16:18, basilio wrote: > Hi to all! > > I understand that my question is not as easy as changing background and > all that bells and whistles and really needs an expert. But anyway I > need some help. I believe that this can be done somehow using signals. I > just can't unde

Re: Cups/Num Lock change event

2012-04-13 Thread basilio
t change of the current window either. 07.04.2012 23:41, basilio пишет: > Hi to all! > > Is there a way to trace Cups/Num lock change event from rc.lua? > (Other than awful.key({ }, "Caps_Lock", )) > I need that for triggering update of the widget with Cups & Num

Cups/Num Lock change event

2012-04-07 Thread basilio
Hi to all! Is there a way to trace Cups/Num lock change event from rc.lua? (Other than awful.key({ }, "Caps_Lock", )) I need that for triggering update of the widget with Cups & Num locks state. Thanks ahead. -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.