On Thu, 26 Feb 2009, kba wrote:
Thanks for writing it then ;-) However, I still don't know how to
write to stdout so I can debug my network widget. I tried variations
of 'io.stdout:write' and 'print' but the messages never appear. What's
the right syntax for this?
If you use a login manager those messages would be logged in it's log.
Often their Xsession files are written so that whole *error* output goes
to ~/.xsession-errors (or /tmp) and if you start X your self (or your
login manager uses ~/.xinitrc) you can start awesome like this (as I do
too):
exec /usr/bin/awesome 2> ~/.config/awesome/session-errors
...and then use io.stderr:write(err) to log to that file (or to
~/.xsession-errors like it's explained above).
--
To unsubscribe, send mail to [email protected].