On Tue, 3 Aug 2004 12:26:33 -0300, [EMAIL PROTECTED] wrote: romildo> On Tue, Aug 03, 2004 at 02:04:21PM +0200, Wu wrote: romildo> > On Mon, 2 Aug 2004 21:06:04 -0300 romildo> > [EMAIL PROTECTED] wrote: romildo> > romildo> > > I want to add a submenu to the enlightenment menu. romildo> > > The submenu is generated by wmconfig with the romildo> > > command: romildo> > > romildo> > > $ wmconfig --no-promote --check-existence \ romildo> > > --output=e16 > ~/.enlightenment/wmconfig_menu romildo> > > romildo> > > It is attached here. romildo> > > romildo> > > What has to be done in order to have this submenu romildo> > > added to the "User Menus" menu? romildo> > romildo> > That's a easy one: romildo> > romildo> > open ~/.enlightenment/user_apps.menu with your romildo> > favourite editor, you will see some lines like: romildo> > romildo> > "Name" NULL exec "/path/to/command" romildo> > "AnotherName" NULL menu "name_of_the.menu" romildo> > romildo> > To add a custom menu, just create your .menu romildo> > file (you could write it manually too) romildo> > and add to user_apps.menu an entry for it, like: romildo> > romildo> > "MyMenu" NULL menu "mymenu.menu" romildo> > romildo> > Where MyMenu is the name you wil see in the menus. romildo> > Then copy your .menu file to ~/.enlightenment/ , romildo> > of course you could supply a different path romildo> > to the menu file. romildo> romildo> The problem is that the menu I have is not in the same romildo> format as the *.menu menus found in ~/.enlightenment, romildo> but in the format used in romildo> /usr/share/enlightenment/config/menus.cfg romildo> Therefore this procedure does not work.
Have you tried adding your menu to "menus.cfg" ?
If you can not directly edit
/usr/share/enlightenment/config/menus.cfg,
copy the file in "$HOME/.enlightenment" and then edit it.
I tried this way in my environment using the menu you
created and it looks fine.
---
Yasufumi Haga [EMAIL PROTECTED]
http://homepage3.nifty.com/peterpan/
fingerprint:0EFA 299A BC32 7D68 1FEF BA2B 804E 9B15 C4F0 F9F0
pgpitoGCosKut.pgp
Description: PGP signature
