Author |
Message |
rebbi2
Joined: 23 Aug 2009 Posts: 6
|
Posted: Tue 25 Aug 2009, 09:22 Post subject:
Menu items for OpenOffice 3.1 not working? |
|
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!
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6747 Location: hobart
|
Posted: Tue 25 Aug 2009, 19:14 Post subject:
|
|
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.
|
Back to top
|
|
 |
rebbi2
Joined: 23 Aug 2009 Posts: 6
|
Posted: Tue 25 Aug 2009, 22:26 Post subject:
|
|
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!!!
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6747 Location: hobart
|
Posted: Tue 25 Aug 2009, 22:35 Post subject:
|
|
Assuming the file, you click to start swriter, is:
/initrd/pup_ro4/opt/openoffice.org3/program/swriter, then you would do:
Code: | ln -s /initrd/pup_ro4/opt/openoffice.org3/program/swriter /usr/bin |
|
Back to top
|
|
 |
jakfish
Joined: 18 Jul 2008 Posts: 766
|
Posted: Wed 26 Aug 2009, 10:45 Post subject:
|
|
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
|
Back to top
|
|
 |
rebbi2
Joined: 23 Aug 2009 Posts: 6
|
Posted: Wed 26 Aug 2009, 14:50 Post subject:
|
|
Thanks, but where is that .jwmrc file to be found?
|
Back to top
|
|
 |
jakfish
Joined: 18 Jul 2008 Posts: 766
|
Posted: Wed 26 Aug 2009, 14:59 Post subject:
|
|
It's a hidden file in /root. You have to use "show all files" command.
Jake
|
Back to top
|
|
 |
rebbi2
Joined: 23 Aug 2009 Posts: 6
|
Posted: Wed 26 Aug 2009, 15:15 Post subject:
|
|
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.
|
Back to top
|
|
 |
|