LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2005, 11:58 AM   #1
dinker
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 03-31-2005, 04:52 AM   #2
amon
Member
 
Registered: May 2004
Location: UK
Distribution: Debian, Ubantu, CentOS
Posts: 146

Rep: Reputation: 17
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.
 
Old 03-31-2005, 07:24 AM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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).
 
Old 03-31-2005, 08:05 AM   #4
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
Quote:
Originally posted by digiot
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.
Hmm, I linked mine to /usr/bin/ooffice2 and it works. Here is what I get with "ls -l /usr/bin/ooffice2":
Code:
lrwxrwxrwx  1 root root 45 Mar 23 15:00 /usr/bin/ooffice2 -> /opt/openoffice.org1.9.79/program/soffice.bin
Openoffice2 runs with the command "ooffice2". I also created a menu entry for it in KDE using "ooffice2" as the command.

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing open office under sarge 64bit debian linuxmandrake Linux - Software 0 09-21-2005 05:52 PM
How to Get Open Office 2.0beta to Mimic MS Office 2003 Look? mac57 Linux - Software 2 03-08-2005 07:02 AM
Open office- menus are all unreadable william777 Linux - Software 2 01-25-2005 02:38 AM
Open Office for debian.. PBAsydney Linux - Software 6 03-05-2004 08:48 PM
putting linux on the internet while my office lan is on win xp pro fhameed Linux - Networking 2 10-29-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration