[Live-demo] Re: [OSGeo] #419: Add all installed application to the
menu at the top of the desktop.
OSGeo
trac_osgeo at osgeo.org
Fri Sep 4 06:45:19 EDT 2009
#419: Add all installed application to the menu at the top of the desktop.
----------------------+-----------------------------------------------------
Reporter: shansen | Owner: live-demo at lists.osgeo.org
Type: task | Status: new
Priority: normal | Component: LiveDVD
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by hamish):
e.g. put this at the end of main.sh
{{{
TASKS="qgis gpsdrive gpsd-clients"
MENU_NAME="OSGeo Applications"
echo "# OSGeo submenu apps" > /tmp/osgeo_submenu
for TASK in $TASKS ; do
cat /usr/share/menu/$TASK | \
sed -e "s/section=\"[^\"].*/section=\"$MENU_NAME\"/" \
>> /tmp/osgeo_submenu
done
cp /tmp/osgeo_submenu /usr/share/menu
update-menus
}}}
Hamish
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/419#comment:2>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Live-demo
mailing list