Ask Your Question
0

How to fix after "sudo libreoffice"

asked 2017-08-18 18:54:12 +0100

marcoa gravatar image

I tried from a terminal

sudo libreoffice

After that is impossible to open libreoffice in the usual way. I can only start the app as superuser from a terminal using sudo.

When using the usual ways (with my normal user) I get a Fatal Error: Can start the application, cant complete user install. See the screenshot at:

https://i.stack.imgur.com/iIIju.png

How can I to restore the application or reinstall the user configuration? I am using Ubuntu 15.04 on Spanish language, but I suppose the same apply to other distros when libreoffice is started using sudo.

Marco A

PD: I published the same question at askubuntu.com and I get propossal of use chown to change the permissions at .config/libreffice using chown but such thing dont worked. I guess the problem is caused because a file changed owner or permissions...

https://askubuntu.com/questions/94717...

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-08-18 20:34:52 +0100

Grantler gravatar image

updated 2017-08-19 05:28:50 +0100

You should have used gksu libreoffice or gksudo libreoffice, that's for graphic programs.

So if your LibreOffice doesn't start try to rename/erase the office user profile. You may find it there (as described in your query):

/home/=user=/.config/libreoffice

This will generate a new office user profile when LibreOffice is started anew. If this (erasing/renaming) is not possible so stop the quickstarter and/or use your file manager as root.

(You also may use the rm or sudo rm command for your proceeding... The mv command moves from source to destination, I'm not sure that you have got the right syntax in the Ubuntu forum... Have you ever done a research about the suggested command sudo mv ~/.config/libreoffice{,-rm}? It is probably right, but I could not find the {,-rm}-suffix on any tutorial sites...).

If these steps don't cause a proper installation so an erasing (sudo apt-get purge libreoffice* && sudo apt-get autoremove) followed by re-installation could be the next steps. Probably there are some necessary files corrupt, who knows?

Another possibility is to install libreoffice parallel, if you won't succeed in the above mentioned steps of erasing and reinstalling. See here for further information:

Good luck!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-08-18 18:54:12 +0100

Seen: 878 times

Last updated: Aug 19 '17