CVS: moonbase/x11-utils/MenuMaker menu2-howto.txt, NONE, 1.1 BUILD, 1.1, 1.2

csm at lunar-linux.org csm at lunar-linux.org
Tue Jul 22 23:25:05 GMT 2003


Update of /var/cvs/lunar/moonbase/x11-utils/MenuMaker
In directory dbguin.lunar-linux.org:/tmp/cvs-serv10079

Modified Files:
	BUILD 
Added Files:
	menu2-howto.txt 
Log Message:
adding a brief howto by joe klemmer to /usr/share/doc/MenuMaker/


--- NEW FILE: menu2-howto.txt ---
	Here are some very basic instructions for using MenuMaker to build an
additional menu to include all of the apps it finds on your system.

=====================================================================

1. Copy the file /etc/xfce4/menu.xml to your ~/.xfce4 directory.

	$ cp /etc/xfce4/menu.xml ~/.xfce4

2. Edit this file and remove the comment lines around the "&menu2;" line
which is at the bottom of the file.  It should look like this -

Before
------
    <!--
    &menu2;
    -->
After
-----

    &menu2;

3. Run MenuMaker for xfce4 with the -o switch to create a separate menu
file.  If you do not use the -o switch the menu.xml file in ~/.xfce4
will be overwritten.

	$ mmaker -v -o menu2.xml XFce4

4. Edit this file <menu2.xml> and remove the first 3 lines.  They should
look similar to this -

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE xfdesktop-menu []>
    <xfdesktop-menu>

4. Also delete the last line in this file, which should be 

    </xfdesktop-menu>

all by itself.

5. Move the menu2.xml file to your ~/.xfce4 directory.

	$ mv menu2.xml ~/.xfce4

6. (Optional) If you want to make this generated menu a sub-menu off of
the main one, edit the menu.xml and put something like this around the
"&menu2;" line -

    <separator/>
    <menu name="Apps" visible="yes">
        &menu2;
    </menu>

=====================================================================

-- 
Joe Klemmer <klemmerj at webtrek.com> 
Unix System/Network Administrator & Ad Hoc Programmer

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/x11-utils/MenuMaker/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD	22 Jul 2003 23:12:55 -0000	1.1
+++ BUILD	22 Jul 2003 23:25:03 -0000	1.2
@@ -1,8 +1,10 @@
 (
-cd $BUILD_DIRECTORY      &&
-unpack $SOURCE           &&
-cd $SOURCE_DIRECTORY     &&
-prepare_install          &&
-./setup.py install
+cd $BUILD_DIRECTORY               &&
+unpack $SOURCE                    &&
+cd $SOURCE_DIRECTORY              &&
+prepare_install                   &&
+./setup.py install                &&
+mkdir -p /usr/share/doc/MenuMaker &&
+cp $MOONBASE/x11-utils/MenuMaker/menu2-howto.txt /usr/share/doc/MenuMaker/
 
 ) > $C_FIFO 2>&1




More information about the Lunar-commits mailing list