Hi!
I'm using awesome for a few months and my configuration basically works. I
wnated to develop some more and I saw that some examples are not working in
my awesome installation.

I compled from source the newest awesome wm (without problems). I was
trying to run the example from here:
http://awesome.naquadah.org/doc/api/modules/awful.client.html#cycle
as:
[...]
awful.key({ modkey }, "`", function ()
      local urxvt = function (c)
      return awful.rules.match(c, {class = "URxvt"})
      end

      for c in awful.client.cycle(urxvt) do
      c.minimized = false
      end
 end),
[...]

and always when i press modkey + '`' i get the error:
W: awesome: luaA_dofunction:108: error while running function
stack traceback:
/home/wdanilo/.config/awesome/rc.lua:467: in function 'press'
/usr/share/awesome/lib/awful/key.lua:41: in function
</usr/share/awesome/lib/awful/key.lua:41>
error: /home/wdanilo/.config/awesome/rc.lua:467: attempt to call a nil value

(line 467 is this line:)
for c in awful.client.cycle(urxvt)

if I test:
print (awful.client.cycle(urxvt)==nil)
I get true :(

Because of this error a script "guake terminal" is not working also - I was
posting about it, bu I thought it is because of old version of awesome wm.
After update, the problem didnt disappear, so it has to be something else.

Could you please help me?

Reply via email to