LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Openoffice (https://www.linuxquestions.org/questions/linux-newbie-8/openoffice-682348/)

danne123 11-10-2008 08:11 AM

Openoffice
 
I recently downloaded and installed openoffice 3.0 at my Acer Aspire Linpus lite computer. The problem I got now is that when I right click on the desktop and press office->writer, the openoffice version 2.3 comes up.

If I open /home/user/.config/xfce4/desktop/group-app.xml there is a line that says:

Code:

<app sequence="0">/usr/share/applications/openoffice.org-1.9-writer.desktop</app>
Strange that is stand 1.9 but it is the version 2.3 that pops up.

Anyone got a clue what the problem is?

sundialsvcs 11-10-2008 08:46 AM

I don't happen to use that GUI-system. I would expect that somewhere in this "desktop" file there is the actual command-line that is used.

This command-line could easily still be pointing to the old version if that is installed. It could be pointing to a symbolic-link. If you right-click on the icon, does a "preferences" box of any kind show up?

pixellany 11-10-2008 08:59 AM

I'm assuming you did not use the package manager. When you install manually, it will not typically replace the old version, change shortcuts, etc.

The simplest solution--esp. if you want to keep the older version--is to create a new launcher in the taskbar. Otherwise, you can use the menu editor to create a custom entry.

If you want to edit the system menu, I think you have to hand-edit a file. (I can't find it at the moment---search Google using "xfce menu"

danne123 11-10-2008 01:25 PM

Quote:

If you right-click on the icon, does a "preferences" box of any kind show up?
If you right click on the icon the program starts.


Quote:

I'm assuming you did not use the package manager.
It is correct that I installed the file manually and didnt use the package manager. I did it because yum had only the old version of openoffice.

pixellany 11-11-2008 06:47 AM

You've left us hanging here.....Have you go it fixed?

danne123 11-12-2008 01:52 PM

Quote:

Originally Posted by pixellany (Post 3338204)
You've left us hanging here.....Have you go it fixed?

Not yet. Trying to interpret the code.

Code:

<app sequence="0">/usr/share/applications/openoffice.org-1.9-writer.desktop</app>
What does "<app sequence="0">" do?
And what is ".desktop" files? Is it files that lying on desktop or what?


I have found openoffice 3 writer!
Code:

/home/user/opt/openoffice.org3/program/swriter

Do someone know how to modify the code so openoffice 3.0 writer starts now?


By the way, do someone know how to update YUM's repositories?

pixellany 11-12-2008 02:13 PM

You have to edit the menus and/or the program launcher icons. Try right-clicking on a launcher to see if there is an options to change it. Also, look for a menu editor.

The YUM repository will be in a configuration file in /etc. Do you have a GUI interface to YUM? If so, the choice of repository will be in settings or preferences in the menus.

Quote:

<app sequence="0">/usr/share/applications/openoffice.org-1.9-writer.desktop</app>
Where did you find this?

danne123 11-13-2008 03:25 AM

Quote:

Originally Posted by pixellany (Post 3339790)
You have to edit the menus and/or the program launcher icons. Try right-clicking on a launcher to see if there is an options to change it. Also, look for a menu editor.

Right clicking only starts the program.

I have found the menu editor. Right click on desktop -> something -> Kmenuedit (something like that)


Quote:

The YUM repository will be in a configuration file in /etc. Do you have a GUI interface to YUM? If so, the choice of repository will be in settings or preferences in the menus.
But I want to update the repositories. With the Ubuntu system there was a command "apt-get update world" or something like that. Then all the repositories was updated and you could download the latest version of any program.


Quote:

Quote:
<app sequence="0">/usr/share/applications/openoffice.org-1.9-writer.desktop</app>
Where did you find this?
See my first post, (/home/user/.config/xfce4/desktop/group-app.xml)

pixellany 11-13-2008 05:11 AM

Quote:

Originally Posted by danne123 (Post 3340373)

But I want to update the repositories. With the Ubuntu system there was a command "apt-get update world" or something like that. Then all the repositories was updated and you could download the latest version of any program.

I think you mean that you want to update the local database to match what is in the repository(ies). If you are using YUM from a terminal, then do "man yum" to find the syntax.

danne123 11-13-2008 07:20 AM

That I want to do is to update openoffice 2.3 to 3.0.

There is two methods that I am useing now.

1. Install it manually. Now openoffice 3.0 is installed and now I have to change the menu.

2. Install it with YUM. Unfortunately YUM is not up to date.
The task is now to update YUM.

I have tried these commands:

Code:

upgrade
check-update
update

None of them update openoffice. :(

pixellany 11-13-2008 10:54 AM

somewhere, YUM has a command syntax that tells you what version of a particular package is available. At this point, I don't know if your distro offers v.3 of Open Office.

Look thru the YUM documentation and find out how to list what is available for installation.

Linpus is based on Fedora, n'est-ce pas? Is there any documentation that speaks to using Fedora repositories?

danne123 11-15-2008 05:22 PM

Solved it! Right clicked on the wrong progam... :o

Thanks for all the help!


All times are GMT -5. The time now is 08:10 AM.