You are not logged in.

#1 2009-06-20 16:43:57

soupcan
Member
From: ?
Registered: 2008-10-25
Posts: 268

[Solved] awesome-git: attempt to index field 'arrange' (a nil value)

This is the full error as shown in ~/.awesome.err:

Awesome crashed during startup on 20%/06/2009 12:28:00:

/home/killian/.config/awesome/awesomerc.lua:540: attempt to index field 'arrange' (a nil value)

This is line 540:

awful.hooks.arrange.register(function (screen)

I've been able to fix the problems I've had with awesome-git in the past, but I can't find anything about this on the forums or Google. I don't know what I need to change to make it work. Awesome will run if I delete the entire section, but it doesn't behave as I'd like. Can anyone offer some help?

Last edited by soupcan (2009-06-20 23:41:48)

Offline

#2 2009-06-20 18:47:22

elstupidos
Arch Linux f@h Team Member
From: Santa Barbara, CA
Registered: 2008-01-14
Posts: 43

Re: [Solved] awesome-git: attempt to index field 'arrange' (a nil value)

Look at the default config.. that line needs to be changed to..

awful.hooks.tags.register(function (screen ....bla bla..

along with a few other changes following that line.

the mylayoutbox[s] line under the wibox section also needs to be changed as well to get the layout widget icon working as well..

diff is your friend

Last edited by elstupidos (2009-06-20 18:47:49)

Offline

#3 2009-06-20 18:51:45

soupcan
Member
From: ?
Registered: 2008-10-25
Posts: 268

Re: [Solved] awesome-git: attempt to index field 'arrange' (a nil value)

elstupidos wrote:

Look at the default config.. that line needs to be changed to..

awful.hooks.tags.register(function (screen ....bla bla..

along with a few other changes following that line.

the mylayoutbox[s] line under the wibox section also needs to be changed as well to get the layout widget icon working as well..

diff is your friend

The default config on the awesome wiki?
EDIT: Oh, the one that installs with awesome-git. I forgot about that...
EDIT2: Where is it?

Last edited by soupcan (2009-06-20 18:57:03)

Offline

#4 2009-06-20 19:00:58

elstupidos
Arch Linux f@h Team Member
From: Santa Barbara, CA
Registered: 2008-01-14
Posts: 43

Re: [Solved] awesome-git: attempt to index field 'arrange' (a nil value)

the default rc.lua is located in /etc/xdg/awesome/rc.lua

the line that pertains to you is line 410 in the default config.

Offline

#5 2009-06-20 19:03:00

soupcan
Member
From: ?
Registered: 2008-10-25
Posts: 268

Re: [Solved] awesome-git: attempt to index field 'arrange' (a nil value)

elstupidos wrote:

the default rc.lua is located in /etc/xdg/awesome/rc.lua

the line that pertains to you is line 410 in the default config.

Ah, thanks very much. I was looking in /usr.

EDIT: That problem fixed. Now on to the next.

Last edited by soupcan (2009-06-20 23:31:16)

Offline

Board footer

Powered by FluxBB