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

Comments:

Post a Comment:
Comments are closed for this entry.
About

Tourists looking out over an Opal mine
I'm a Product Manager in Server Technologies, working on scripting languages and developer-access.
Email: christopher.jones@oracle.com
Twitter: http://twitter.com/ghrd
Book: Free PHP Oracle book
Download: PHP Linux RPMs with the OCI8 extension
Links: OTN PHP Developer Center

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today