You are not logged in.

#1 2010-10-02 22:57:39

hurleyef
Member
Registered: 2010-06-22
Posts: 72

awesome 3.4.7 configuration fun [solved]

I updated awesome to 3.4.7 today and when I restarted the wm it seemed to have loaded two configs, mine then the default.  At the top of the screen where it lists the desktops it listed my tags followed by the default 1 through 9.  I tried deleting the default config at /etc/xdg/awesome/rc.lua and awesome wouldn't load at all.  I replaced the default with my custom config and again it wouldn't load.  When I removed my custom config and edited the default where it was, changing only the default terminal from xterm to urxvt it again failed to load awesome, although awesome -k found no errors.  Moving the default to ~/.config/awesome/rc.lua again left me with a non-loading awesome.

I realize that newer versions of awesome tend to bring changes to config syntax, but I didn't find anything on the awesome wiki saying that 3.4.7 did.  Also, awesome refused the default config when the only change I made was to set urxvt as the terminal.

Not a huge issue, as 3.4.6 works great, but I like to have the latest software, so it irks my ocd a little that I can't.

For reference, I'm using gdm and a 32bit install.

PS, I just started using awesome a week ago, so if I'm missing something really stupid, don't be too hard on me.  tongue

Last edited by hurleyef (2010-10-05 03:11:36)

Offline

#2 2010-10-02 23:36:22

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: awesome 3.4.7 configuration fun [solved]

are you using some widgets? maybe something is missing. pastebin  your rc.lua. the rc.lua from 3.4.6 and 3.4.7 is exactly the same. smile

read this and try it:
http://wiki.archlinux.org/index.php/Awe … ing_Xephyr

PS: you have to install xorg-server-xephyr.

Offline

#3 2010-10-03 00:24:38

hurleyef
Member
Registered: 2010-06-22
Posts: 72

Re: awesome 3.4.7 configuration fun [solved]

current config:
http://pastebin.com/hqez3ZKS

I've only been using awesome for about a week now, so it's not anything fancy.  I'm not using any widgets except what it came with.

I'll try the xephyr thing when I get a chance and let you know what came up.

Offline

#4 2010-10-03 00:41:21

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: awesome 3.4.7 configuration fun [solved]

delete line 429: mymainmenu:add_signal("mouse::leave", function (c) c:hide() end)


and you should use only one function to autorun apps.

Offline

#5 2010-10-03 00:55:15

hurleyef
Member
Registered: 2010-06-22
Posts: 72

Re: awesome 3.4.7 configuration fun [solved]

That did it!

429 never worked anyway : /

Also changed the second autorun part to a simple os.execute command.  xscreensaver didn't like the run_once part.

Thanks for the help! big_smile

Offline

#6 2010-10-03 10:51:13

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: awesome 3.4.7 configuration fun [solved]

try this:

-- {{{ AUTORUN APPS!
function run_once(prg)
    if not prg then
        do return nil end
    end
    awful.util.spawn_with_shell("pgrep -u $USER -x '" .. prg .. "' || (" .. prg .. ")")
end

run_once("example --argument")
-- }}}

smile

Offline

#7 2010-10-04 13:06:10

hurleyef
Member
Registered: 2010-06-22
Posts: 72

Re: awesome 3.4.7 configuration fun [solved]

Thanks again, that worked perfectly.  big_smile

Offline

Board footer

Powered by FluxBB