You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openoffice.apache.org by Hongyi Zhao <ho...@gmail.com> on 2016/01/27 07:04:35 UTC
desktop entries for Apache_OpenOffice_4.1.2_Linux_x86-64_install-deb_zh-CN
doesn't work for Debian Jessie.
Hi all,
I'm using Debian Jessie, and I installed the lastest
Apache_OpenOffice_4.1.2_Linux_x86-64_install-deb_zh-CN on my box.
But, the desktop entries cann't be launched at all, say for writer.desktop.
I can find the following location which this file is installed into:
$ mlocate -ir writer.desktop
/opt/openoffice4/share/xdg/writer.desktop
And it has the following exec line in this file:
$ grep -i 'exec' /opt/openoffice4/share/xdg/writer.desktop
Exec= -writer %U
But, when I running the openoffice4 command directly from within
terminal, it will fail like this:
$ openoffice4
bash: openoffice4: command not found
Any hints?
Regards
--
Hongyi Zhao <ho...@gmail.com>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org
Re: desktop entries for Apache_OpenOffice_4.1.2_Linux_x86-64_install-deb_zh-CN
doesn't work for Debian Jessie.
Posted by Hongyi Zhao <ho...@gmail.com>.
2016-01-27 14:25 GMT+08:00 Rory O'Farrell <of...@iol.ie>:
> On Wed, 27 Jan 2016 14:04:35 +0800
> Hongyi Zhao <ho...@gmail.com> wrote:
>
>> Hi all,
>>
>> I'm using Debian Jessie, and I installed the lastest
>> Apache_OpenOffice_4.1.2_Linux_x86-64_install-deb_zh-CN on my box.
>>
>> But, the desktop entries cann't be launched at all, say for writer.desktop.
>>
>> I can find the following location which this file is installed into:
>>
>> $ mlocate -ir writer.desktop
>> /opt/openoffice4/share/xdg/writer.desktop
> n the installation process I use, which is
>
> How to install OO in Ubuntu: Start a Terminal
> In the terminal type
>
> sudo apt-get purge libreoffice*
Thanks a lot, I omit the above step for my case.
When I re-reinstall with all of the steps given by you here. This
issue is solved ;-)
>
> Note that the the trailing * is important.
>
> When the OpenOffice file is downloaded, double click on it and the system archive manager should start up. Tell it to extract the files - these are normally extracted to a sub directory of the Downloads folder, in my case called en-GB (as I use the GB version). Your version will differ.
>
> Now, in a terminal manoeuvre to that sub folder. In my case this is by the following commands; in your case rory will be replaced by your logon name and en-GB may be changed, as I mentioned.
>
> cd /home/rory/Downloads/en-GB
> cd DEBS
> sudo dpkg -i *.deb
> When that has completed, do this
>
> cd desktop-integration
> sudo dpkg -i *.deb
I exactly have done these steps in my installation.
>
> Do not omit this last change of directory and repeat of the installation command, as this puts links for OpenOffice into your Office group.
>
> I suspect - only a guess - that in your installation process you overlooked this final directory change and installation of the desktop-integration section.
>
> This installation method has worked for every. DEB installation I have made over the last seven years
Thanks a lot for your exhaustive explanations.
Regards
>
> RoryOF
>
> It takes longer to write out all this than it actually takes to do!
> I
>
>>
>>
>> And it has the following exec line in this file:
>>
>> $ grep -i 'exec' /opt/openoffice4/share/xdg/writer.desktop
>> Exec= -writer %U
>>
>> But, when I running the openoffice4 command directly from within
>> terminal, it will fail like this:
>>
>> $ openoffice4
>> bash: openoffice4: command not found
>>
>> Any hints?
>>
>> Regards
>> --
>> Hongyi Zhao <ho...@gmail.com>
>> Xinjiang Technical Institute of Physics and Chemistry
>> Chinese Academy of Sciences
>> GnuPG DSA: 0xD108493
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: users-help@openoffice.apache.org
>>
>>
>
>
> --
> Rory O'Farrell <of...@iol.ie>
--
Hongyi Zhao <ho...@gmail.com>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org
Re: desktop entries for
Apache_OpenOffice_4.1.2_Linux_x86-64_install-deb_zh-CN doesn't work for
Debian Jessie.
Posted by Rory O'Farrell <of...@iol.ie>.
On Wed, 27 Jan 2016 14:04:35 +0800
Hongyi Zhao <ho...@gmail.com> wrote:
> Hi all,
>
> I'm using Debian Jessie, and I installed the lastest
> Apache_OpenOffice_4.1.2_Linux_x86-64_install-deb_zh-CN on my box.
>
> But, the desktop entries cann't be launched at all, say for writer.desktop.
>
> I can find the following location which this file is installed into:
>
> $ mlocate -ir writer.desktop
> /opt/openoffice4/share/xdg/writer.desktop
n the installation process I use, which is
How to install OO in Ubuntu: Start a Terminal
In the terminal type
sudo apt-get purge libreoffice*
Note that the the trailing * is important.
When the OpenOffice file is downloaded, double click on it and the system archive manager should start up. Tell it to extract the files - these are normally extracted to a sub directory of the Downloads folder, in my case called en-GB (as I use the GB version). Your version will differ.
Now, in a terminal manoeuvre to that sub folder. In my case this is by the following commands; in your case rory will be replaced by your logon name and en-GB may be changed, as I mentioned.
cd /home/rory/Downloads/en-GB
cd DEBS
sudo dpkg -i *.deb
When that has completed, do this
cd desktop-integration
sudo dpkg -i *.deb
Do not omit this last change of directory and repeat of the installation command, as this puts links for OpenOffice into your Office group.
I suspect - only a guess - that in your installation process you overlooked this final directory change and installation of the desktop-integration section.
This installation method has worked for every. DEB installation I have made over the last seven years
RoryOF
It takes longer to write out all this than it actually takes to do!
I
>
>
> And it has the following exec line in this file:
>
> $ grep -i 'exec' /opt/openoffice4/share/xdg/writer.desktop
> Exec= -writer %U
>
> But, when I running the openoffice4 command directly from within
> terminal, it will fail like this:
>
> $ openoffice4
> bash: openoffice4: command not found
>
> Any hints?
>
> Regards
> --
> Hongyi Zhao <ho...@gmail.com>
> Xinjiang Technical Institute of Physics and Chemistry
> Chinese Academy of Sciences
> GnuPG DSA: 0xD108493
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: users-help@openoffice.apache.org
>
>
--
Rory O'Farrell <of...@iol.ie>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@openoffice.apache.org
For additional commands, e-mail: users-help@openoffice.apache.org