« June 12, 2006 | Main | July 12, 2006 »

July 6, 2006 Archives

July 6, 2006

Getting Oracle XE Menus in the IceWM Window Manager

On Linux, IceWM GNOME menus don't always get displayed as expected. If an executable is not found in the path, its menu item won't be displayed. Because of this, the Oracle 10g XE menus appear empty. You can either work out how to change your path so it is set prior to window manager startup, or use hard coded paths. I added Oracle XE menus with explicit paths to ~/.icewm/menu (these long lines are going to look ugly in this style sheet):

menu "Oracle Database 10g Express Edition"  folder {
  menu "Get Help" folder {
    prog "Go To Online Forum" /usr/share/pixmaps/oraclexe-gotoonlineforum.png /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/gotoonlineforum.sh
    prog "Read Documentation" /usr/share/pixmaps/oraclexe-readdocumentation.png /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/readdocumentation.sh
    prog "Read Online Help" /usr/share/pixmaps/oraclexe-readonlinehelp.png /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/readonlinehelp.sh
    prog "Register For Online Forum" /usr/share/pixmaps/oraclexe-registerforonlineforum.png /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/registerforonlineforum.sh
  }
  prog "Get Started" /usr/share/pixmaps/oraclexe-getstarted.png /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/gettingstarted.sh
prog "Go To Database Home Page" /usr/share/pixmaps/oraclexe-gotodatabasehomepage.png /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/DatabaseHomePage.sh
  prog "Run SQL Command Line" /usr/share/pixmaps/oraclexe-runsqlcommandline.png /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/runsqlplus.sh
  prog "Start Database" /usr/share/pixmaps/oraclexe-startdatabase.png /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/startdb.sh
  prog "Stop Database" /usr/share/pixmaps/oraclexe-stopdatabase.png  /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/stopdb.sh
  prog "Backup Database" /usr/share/pixmaps/oraclexe-backup.png /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/backupdatabase.sh
  prog "Restore Database" /usr/share/pixmaps/oraclexe-restore.png /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/restoredatabase.sh
}
A couple of the menu items that open URLs didn't run with Firefox in my configuration. I fixed this by editing readdocumentation.sh and adding an http:// prefix to the URL. This changed
  /usr/bin/$i www.oracle.com/technology/xe/documentation
to
  /usr/bin/$i http://www.oracle.com/technology/xe/documentation

Similarly I edited gotoonlineforum.sh and added the http:// prefix, changing
  /usr/bin/$i www.oracle.com/technology/xe/forum
to
  /usr/bin/$i http://www.oracle.com/technology/xe/forum

About July 2006

This page contains all entries posted to Christopher Jones on OPAL in July 2006. They are listed from oldest to newest.

June 12, 2006 is the previous archive.

July 12, 2006 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle