On Mon, 2 Aug 2004 21:06:04 -0300
[EMAIL PROTECTED] wrote:

> Hello.
> 
> I want to add a submenu to the enlightenment menu.
> The submenu is generated by wmconfig with the
> command:
> 
> $ wmconfig --no-promote --check-existence \
>     --output=e16 > ~/.enlightenment/wmconfig_menu
> 
> It is attached here.
> 
> What has to be done in order to have this submenu
> added to the "User Menus" menu?

That's a easy one:

open ~/.enlightenment/user_apps.menu with your favourite editor, you will see some 
lines like:

"Name" NULL exec "/path/to/command"
"AnotherName" NULL menu "name_of_the.menu"

To add a custom menu, just create your .menu file (you could write it manually too)
and add to user_apps.menu an entry for it, like:

"MyMenu" NULL menu "mymenu.menu"

Where MyMenu is the name you wil see in the menus.
Then copy your .menu file to ~/.enlightenment/ , of course you could supply a 
different path
to the menu file.

Another nice trick, instead of NULL try something like:

"MyMenu" "mymenu.png" menu "mymenu.menu"

and copy an image mymenu.png into ~/.enlightenment/ , this way the image
will be displayed aside the name of the menu. Be careful because the image
will be shown full-sized, so if you use, for example, a 640x480 one, you could have 
some
problems in order to use the menus... XD 

> I am running enlightenment-0.16.7 in Gentoo Linux.
> 
> Romildo
> 


-- 

"Perceive that which cannot be seen with the eye." - Miyamoto Musashi
---------------------------------------------------------------------
Francisco de Borja L�pez R�o ([EMAIL PROTECTED])
C�digo23 - Secure Network Solutions
http://www.codigo23.net / http://www.e-shell.org


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to