You are not logged in.

#1 2012-02-05 19:07:24

mcicak
Member
From: Novi Sad, Serbia
Registered: 2010-11-30
Posts: 22

AweMenuGen - Awesome Menu Generator

Hi. I created a project called awemenugen. A project exists in AUR. It's purpose is to create an application menu for awesome desktop environment. Basicaly, a program checks for all installed applications, categorizes them in categories and generates a lua script containing menu structure.

After installing, run 'awemenugen'. A script will be generated in .config/awesome/applicationsmenu.lua (or if this folder does not exist, in your home folder).

Next edit your rc.lua script (menu-generated script and rc.lua script must be in same folder) and add

require("applicationsmenu")

at the beginning of rc.lua script. Also, edit the section where menu is defined. For example, mine looks like:

mymainmenu = awful.menu({items = {{"accessories", applicationsmenu.applicationsmenu(), beautiful.awesome_icon},
                                  { "open terminal",  terminal                                },
                                  { "restart",        awesome.restart                         },
                                  { "quit",           awesome.quit                            }
                           }
                        })

The essential part is

{"accessories", applicationsmenu.applicationsmenu(), beautiful.awesome_icon}

where generated menu is included. I didn't know how to make an announcement of newly created project, so in this way I inform of it's existence.

Thanks.

Offline

#2 2012-02-05 22:34:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 18,384

Re: AweMenuGen - Awesome Menu Generator

Thank you.  But this is probably in the wrong sub-forum
Moving to Community Contributions


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2012-02-06 03:13:25

lunamystry
Member
From: South Africa
Registered: 2011-04-14
Posts: 23

Re: AweMenuGen - Awesome Menu Generator

Offline

#4 2012-02-06 04:35:53

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,322

Re: AweMenuGen - Awesome Menu Generator

lunamystry wrote:

Me too, it even auto-generates. Any comments comparing your project with this?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2012-02-06 13:55:54

mcicak
Member
From: Novi Sad, Serbia
Registered: 2010-11-30
Posts: 22

Re: AweMenuGen - Awesome Menu Generator

I tried awesome-desktop. Much better stuff! I'm using it from now on. Didn't know it existed. It works similarly as my project, but also includes icons, which makes it a lot nicer, plus it auto-generates main menu on awesome restart, while my app requires executing 'awemenugen' line. smile

Maybe you'd like to check lxmed. It exists in AUR. It's a (not perfect) Java Swing application I made for organizing main menu in LXDE environment, but it can also be applied to any other, such as awesome

Offline

Board footer

Powered by FluxBB