How to setup your own menu's on IRIX

Default Toolchest

You can easily set up your own custom menu of commands and programs from the main Toolchest on the SGI Desktop. First you need to create a file named .auxchestrc in your home directory

Below I've included a sample .auxchestrc file for reference:


menu ToolChest
          {
               no-label           f.separator
              "My Stuff" 	  f.menu mystuff
          }
Menu mystuff
{
    "Good Xterm"	f.checkexec.sh.le "winterm -fn -sgi-screen-bold-r-normal--18-180-72-72-m-100-iso8859-1 -t `hostname -s`"
    "Hotjava Browser"   f.checkexec.sh.le "/usr/local/bin/hotjava"
    "Htmldoc"           f.checkexec.sh.le "/usr/local/bin/htmldoc"
    "Real Audio"        f.checkexec.sh.le "/usr/local/bin/rvplayer"
    "Adobe Acrobat" 	f.checkexec.sh.le "/usr/local/bin/acroread"
     no-label           f.separator
    "Xlock" 		f.checkexec.sh "xlock"
     no-label           f.separator
    "Terminals" 	f.menu Terminals
}

Menu Terminals
{
    "Basic Winterm"	f.checkexec.sh.le "winterm -fn -sgi-screen-bold-r-normal--15-150-72-72-m-90-iso8859-1"
    "Bigger Winterm"	f.checkexec.sh.le "winterm -fn -sgi-screen-bold-r-normal--18-180-72-72-m-100-iso8859-1"
    "Better Winterm"	f.checkexec.sh.le "winterm -fn -sgi-screen-bold-r-normal--18-180-72-72-m-100-iso8859-1 -bg black -fg gold"
}

After you create (or modify) this file, you need to close the toolchest. Click right mouse on the toolchest titlebar and select close. Then type toolchest& in a window to startup a new one. You should see a new toolchest that looks like this.

Custom Toolchest










Note the new menu tab My Stuff. included in the toolchest now.
You will also have a submenu named Terminals with three menu
choices under your menu tree.

Please see the man page for toolchest for the gory details on how this works. It's pretty obvious how it works once you look at for a couple minutes. I use the Auxillary Toolchest to set up custom windows and put tabs in to startup custom commands that I've set up, especially those that are graphical in nature.

Back to FAQ