Putting Open Office 2 Beta in menus in IceWM on Debian
I managed to install OpenOffice 2 Beta RPM install with alien on Debian. It works from in X-windows if I run the actual binary (/opt/openoffice1.9.79/program/soffice) but I wanted to add a link from the menu and toolbar to run it (In IceWM). So I made a link using 'ln' to the actual binary in '/usr/bin' called 'openoffice'. Then I editted 'menu' and 'toolbar' in '/etc/X11/icewm' to have items that run the link ('openoffice'). But if I run the link in X-windows it starts to run but fails to find a required file... Is there a way round this or is there a better way to achieve my end? Also how do I find the icon file?
Please help Dinker |
my 2c
finding the icon is a bit tricky generally id do a search for .png (most icons are png images) and also "Open Office" or if you can find the open office files (looks like they are in "/opt/openoffice1.9.79/" on your system) then just search for png images there.
have you tried going back to your menu and toolbar files and changing the links so it loads open office in a terminal so you can see if you get error messages being output to the terminal? you probably have but just in case you hadn't, in IceWM you have to restart the window manager to reload settings from the files. also try making a link in the menu and toolbar to the original file cutting out the link (just in case the problem is there) or running the link from a terminal. |
Yeah - OOo has a brain-damaged startup script that orients itself from where it's invoked relative to its own symlink. So it gets confused being run through another link. No need to make any more links at all - just write your ice menu to go to it. And ice picks up menu changes automatically, as long as it doesn't cache the path - that part won't update. But, general menu changes will just happen. The icons are probably in '$PATHTO/OpenOffice.org$VER/share/icons' and they're png so you either need to move and convert them or provide the full path with the extension (and have an imlib-capable ice).
|
Quote:
Code:
lrwxrwxrwx 1 root root 45 Mar 23 15:00 /usr/bin/ooffice2 -> /opt/openoffice.org1.9.79/program/soffice.bin I don't have the share/icons directory in OpenOffice2, I used the old icons from KDE. You can download a single OpenOffice2 icon here: http://kde-look.org/content/show.php?content=21619 |
All times are GMT -5. The time now is 10:32 AM. |