El 27/10/11 14:52, Thorsten Sperber escribió:
Am 26.10.2011 16:20, schrieb Tomás Solar Castro:
El 25/10/11 18:23, Rainux Luo escribió:
volumewidget =
obvious.volume_alsa():set_layout(awful.widget.layout.horizontal.rightleft).widget


mywibox[s].widgets = {
      cpuwidget.widget,
      separator,
      volumewidget
}

now that I'm seeing this, I've just remembered that I am having troubles
with this widget.

I put this in my rc.lua, and it does not work; if I don't define the
widget, I mean, if I don't put "obvious.volume_alsa()" in my rc.lua my
config works, but if I put that line, awesome doesn't work.

~/.xsession-errors is giving me NOTHING :(

I use debian sid, awesome 3.4.10. It fails with obvious from git and
from awesome-extra package.

Am I doing something wrong?



I don't have to append .widget to the volume_alsa() module.

require("obvious.volume_alsa")

obvious.volume_alsa(),

These are the lines from my config regarding the widget. Could you test
your setup with these?


I tried that. I've always had my config like that, but now it doesn't work :(

If I comment "obvious.volume_alsa()" in my wibox awesome runs without problems.


Also, which login manager do you use? I thought earlier that
.xsession-errors is something "common" and standard, but in fact, other
login managers behave otherwise (/var/log/slim.log for example). Is
there any logging in this file, if you place a syntax error in your rc.lua?


I use GDM3. There's no syntax error in my rc.lua.

My .xsession-errors has this:

W: awesome: luaA_dofunction:108: error while running function
stack traceback:
/usr/share/awesome/lib/obvious/temp_info/init.lua:42: in function </usr/share/awesome/lib/obvious/temp_info/init.lua:30> error: /usr/share/awesome/lib/obvious/temp_info/init.lua:42: attempt to compare nil with number

Many times...

But that widget is working fine.

If I put "obvious.volume_alsa()" in my config it shows my top wibox empty, and nothing more ;(


--
To unsubscribe, send mail to [email protected].

Reply via email to