You are not logged in.

#1 2009-06-03 03:30:10

snowball
Member
Registered: 2009-05-07
Posts: 19

Awesome wm menu

I was trying to find a good way to configure a "root menu" in awesome. I want the menu to appear when I click somewhere (Like in Enlightenment).

The menu should have categories (as described in the Arch wiki for application hierarchy). I just don't know how to add/edit sub-menus and applications.

Thanks.

P.S. Pressing Win+F1 doesn't bring up a command line. However, Win+Enter does open a terminal. What's wrong?

Last edited by snowball (2009-06-03 03:41:07)

Offline

#2 2009-06-03 06:19:57

wottam
Member
From: Spain
Registered: 2007-08-31
Posts: 59

Re: Awesome wm menu

Have a look into the file .xsession-errors under your home directory. It seems to me that the configuration has not been properly loaded.

Offline

#3 2009-06-03 06:31:00

snowball
Member
Registered: 2009-05-07
Posts: 19

Re: Awesome wm menu

I've "figured out" the Win+F1 "issue". tongue It's actually Win+r on the new versions.

The question about menus still stands, though. smile

Offline

#4 2009-06-03 07:48:20

cwjiof
Member
From: Taichung, TW
Registered: 2008-01-27
Posts: 131

Re: Awesome wm menu

Maybe you should
cp /etc/xdg/awesome/rc.lua  ~/.config/awesome/rc.lua

and restart the awesome.

Offline

#5 2009-06-03 18:28:22

snowball
Member
Registered: 2009-05-07
Posts: 19

Re: Awesome wm menu

cwjiof wrote:

Maybe you should
cp /etc/xdg/awesome/rc.lua  ~/.config/awesome/rc.lua

and restart the awesome.

What does that have to do with my menu question? I have an rc.lua in ~/.config/awesome/

Offline

#6 2009-06-03 18:58:52

akuneko
Member
Registered: 2009-04-14
Posts: 15

Re: Awesome wm menu

not sure if there is some file you can just autoload but here's how i manually made my own menu for awesome.  for subcategories i just made separate menus and loaded them in the root menu.

myawesomemenu = {
   { "ATI catalyst", aticfg },
   { "wallpaper", "nitrogen" },
   { "manual", terminal .. " -e man awesome" },
   { "edit config", editor_cmd .. " " .. awful.util.getdir("config") .. "/rc.lua" },
   { "restart", awesome.restart },
   { "quit", awesome.quit }
}

officemenu = {
    { "Adobe", acroread },
    { "OOo calc", "soffice -calc" },
    { "OOo impress", "soffice -impress" },
    { "OOo writer", "soffice -writer" },
}

mymainmenu = awful.menu.new(    { items = { { "terminal", terminal },
        { "file manager",pcmanfm },
        { "firefox", "firefox" },
        { "deluge", "deluge" },
        { "office", officemenu },
        { "awesome", myawesomemenu, beautiful.awesome_icon }
                                      }
                            })

Offline

#7 2009-06-03 19:05:20

snowball
Member
Registered: 2009-05-07
Posts: 19

Re: Awesome wm menu

Sweet, thanks akuneko. smile

Offline

Board footer

Powered by FluxBB