# @package      hubzero-icewm
# @file         menu
# @copyright    Copyright (c) 2006-2020 The Regents of the University of California.
# @license      http://opensource.org/licenses/MIT MIT
#
# Copyright (c) 2006-2020 The Regents of the University of California.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
# HUBzero is a registered trademark of The Regents of the University of California.
#

prog xterm xterm xterm -class UXTerm -u8 -ls -sb
prog "Import/export file" stock_export.png /usr/bin/filexfer
prog "chuse" cbon.gif /usr/bin/chuse
separator
prog geany geany.png geany
prog gedit gedit-icon.png gedit
prog emacs emacs emacs
prog gvim vim gvim
separator
menu Help system-help.png {
   menu Rappture folder {
        prog Overview nopic /usr/bin/clientaction url http://rappture.org
        prog Documentation nopic /usr/bin/clientaction url http://rappture.org/wiki/Documentation
        prog "Course Material" nopic /usr/bin/clientaction url http://rappture.org/wiki/BootCamp2013
   }
   prog "Tool Development Process" nopic /usr/bin/clientaction url https://nanohub.org/resources/3965
   prog "How to use WebDAV" nopic /usr/bin/clientaction url https://hubzero.org/kb/tips/webdav
separator
   prog "Copy Rappture Examples" stock_copy.png /usr/bin/copy_rappture_examples
}
separator
menu "WWW Browsers" internet-web-browser.png {
    prog firefox firefox firefox
}
menu Editors text-editor.png {
    prog emacs emacs emacs
    prog geany geany.png geany
    prog gedit gedit-icon.png gedit
    prog gvim vim gvim
    prog nano nano xterm -e nano
    prog NEdit nedit nedit
}
menu "Development Tools" wrench.png {
    prog ddd ddd ddd
    prog gdb gdb xterm -e gdb
    prog kcachegrind kcachegrind kcachegrind
    prog perlconsole perlconsole xterm -T perlconsole -e "/bin/bash -l -c perlconsole"
    prog python python xterm -T python -e "/bin/bash -l -c python"
    prog qtoctave qtoctave qtoctave
    prog ruby ruby xterm -T irb -e "/bin/bash -l -c irb"
    prog tclsh tclsh xterm -T tclsh -e "/bin/bash -l -c \". /etc/environ.sh; use -e -r rappture; tclsh\""
    prog tkdiff tkdiff tkdiff
    prog wish wish xterm -T wish -e "/bin/bash -l -c \". /etc/environ.sh; use -e -r rappture; wish\""
}
menu "Multimedia & Graphics" applications-graphics.png {
    prog Gimp /usr/share/gimp/2.0/images/wilber-icon.png gimp
    prog ghostview ghostview gv
    prog inkscape inkscape inkscape
    prog mplayer mplayer gmplayer
    prog xpdf xpdf xpdf
}
menu "Math & Science" stock_insert-math-object.png {
    prog dx dx dx
    prog grace grace grace
    prog octave octave xterm -T octave -e "/bin/bash -l -c octave"
    prog scilab scilab scilab
}
menu Games folder {
    prog gnuchess gnuchess gnuchess
    prog nethack nethack nethack
}
menu Utilities utilities-desktop-extra.png {
    prog Calculator xcalc xcalc
    prog Clipboard xclip xclipboard
    prog "Font Selector" xfontsel xfontsel
    prog Clock xclock xclock
    prog htop htop xterm -e htop
    prog Magnify xmag xmag
    prog xkill bomb xkill
}
