Page 1 of 1

Menu items for OpenOffice 3.1 not working?

Posted: Tue 25 Aug 2009, 13:22
by rebbi2
Hi,

I installed the OpenOffice 3.1 sfs file. The menu items for the various components are there, but nothing happens if I click on them. However, if I click on the executables icons located in

/initrd/pup_ro4/opt/openoffice.org3/program/

The programs will run. How do I fix the menus? This is in Deep Thought 4.2.1, by the way.

Thanks! :D

Posted: Tue 25 Aug 2009, 23:14
by muggins
Symlink the executables, in /initrd/pup_ro4/opt/openoffice.org3/program/ , to /usr/bin, then look in /usr/share/applications for the relevant .desktop files...(the names may contain OpenOffice or Scalc, Swriter, Simpress etc)...open with a text editor & make sure the exec= line has the relevant executable...scalc, swriter etc.

Posted: Wed 26 Aug 2009, 02:26
by rebbi2
Thanks for those tips, but I'm not sure how to do the symlink thing. Anybody willing to post a newbie walk-through?

Thanks in advance!!!

Posted: Wed 26 Aug 2009, 02:35
by muggins
Assuming the file, you click to start swriter, is:


/initrd/pup_ro4/opt/openoffice.org3/program/swriter, then you would do:

Code: Select all

ln -s /initrd/pup_ro4/opt/openoffice.org3/program/swriter /usr/bin

Posted: Wed 26 Aug 2009, 14:45
by jakfish
How I solved this problem was not through symlinks, but by editing the .jwmrc file itself.

For some reason beyond my amateur standing, openoffice 3.1 loads into jwm menu but the simple "swriter," etc. fails to call the corresponding program because jwm doesn't seem to know its proper directory.

So I changed this:

<Program label="OpenOffice Writer wordprocessor" icon="swriter.xpm">swriter</Program>

to:

<Program label="OpenOffice Writer wordprocessor" icon="swriter.xpm">/initrd/pup_ro4/opt/openoffice.org3/program/swriter</Program>

That works with me at least, and I mapped the same directory for the rest of the openoffice apps listed in the menu.

Jake

Posted: Wed 26 Aug 2009, 18:50
by rebbi2
Thanks, but where is that .jwmrc file to be found?

Posted: Wed 26 Aug 2009, 18:59
by jakfish
It's a hidden file in /root. You have to use "show all files" command.

Jake

Posted: Wed 26 Aug 2009, 19:15
by rebbi2
jakfish wrote:It's a hidden file in /root. You have to use "show all files" command.

Jake
Ah, thanks! I'll try it tonight.