Update (March 16, 2010): Openoffice.org 3.2 supports Alt keys as shortcut keys, how to use it? Read this: http://thanhsiang.org/faqing/node/147
=====The following method is only for older version of Openoffice that does not support Alt keys==========
How to input Romanized Pali and Sanskrit in Openoffice.org?
It works for both Opeonoffice 2.04 and Openoffice.org 3.1 (tested under Ubuntu 9.04, May. 15, 2009)
The easiest way is to use Alt key, for example, press Alt+a = ā
Use Alt key to input Pali
1). Download AltKeyHandler_Pali.odt and save it at your desktop.
2). Open Openoffice and import above macro file.
3). do the following
6.Repeat the same procedure for "Open Document" in the events list.
Just make sure you save it in OpenOffice.org.
4) How to type Pali in Openoffice writer
Alt key + a =ā
4). In openoffice writer do the following and set any keys if you wish to change
Control + Alt + a
How to use scim to input Pali
see here: http://thanhsiang.org/faqing/node/109