You are not logged in.

#1 2012-09-08 08:45:15

Anders H
Member
From: Reno, NV
Registered: 2011-07-31
Posts: 43
Website

Vicious widgets stopped working after update of vicious [solved]

Hello,

Recently I ran a system update and included was Vicious 2.1.0-1

I am running the standard Awesome; no git or other developer branches so after I rebooted and my Awesome config was messed up. After some testing I narrowed down the problem to a couple of misbehaving widgets in my rc.lua

However these two widgets were lifted directly from the awesome wiki

http://awesome.naquadah.org/wiki/Vicious

 

-- Initialize widget
memwidget = widget({ type = "textbox" })
-- Register widget
vicious.register(memwidget, vicious.widgets.mem, "$1% ($2MB/$3MB)", 13)

and

-- Initialize widget
cpuwidget = widget({ type = "textbox" })
-- Register widget
vicious.register(cpuwidget, vicious.widgets.cpu, "$1%")

the "default" widgets (clock,task bar, etc.) work fine but every time I try to enable the above widgets I get the same issues with awesome's config.

Could someone tell me if the syntax or something else has changed in vicious. I would like to get these working again.

Thank You.

Last edited by Anders H (2012-09-08 09:20:19)

Offline

#2 2012-09-08 09:03:19

Linkas
Member
Registered: 2011-12-28
Posts: 26

Re: Vicious widgets stopped working after update of vicious [solved]

Hi
I had similar problem. Try to change line in rc.lua from:

require("viciouse") 

to:

 vicious = require("vicious")

Offline

#3 2012-09-08 09:19:51

Anders H
Member
From: Reno, NV
Registered: 2011-07-31
Posts: 43
Website

Re: Vicious widgets stopped working after update of vicious [solved]

Thank you for the reply, that worked. Now all of my widgets are running again.

Offline

Board footer

Powered by FluxBB