Ask Your Question

Libreoffice has incorrect home directory

asked 2020-03-14 01:30:20 +0200

JShel82 gravatar image

updated 2020-08-07 13:54:28 +0200

Alex Kemp gravatar image

All Libreoffice apps are not referencing the correct home directory. Instead it creates a folder "173" under ~/snap/libreoffice/173. The Libreoffice apps think this 173 directory is the home directory. Also all .config files are saved in this snap directory instead of the users home directory. I have tried uninstalling and reinstalling LibreOffice and there was no change. I have checked permissions of all folders and files for my user directory. I also check the processes, Libreoffice is being run as my user. How can I get LibreOffice to use my users home directory like it did a couple of days ago and stop with this snap directory stuff? It's almost like LibreOffice thinks 173 is the user.

If I try to open a file I get this error. image description

If I try to open a blank file and save it to my home directory I get this error image description(/upfiles/15841453629173802.png) image description

edit retag flag offensive close merge delete



stop with this snap directory stuff?

You are installing LibreOffice using snap install libreoffice and now you don't want that? If yes - the only advice could be: Don't use snap packages, if you don't like it. On Ubuntu you may use: sudo add-apt-repository ppa:libreoffice/ppa followed by sudo apt install libreoffice to get the most recent fresh  LibreOffice packages or download native DEB packages from directly.

Which OS?
Which LibreOffice version?
Permissions on /home/joe/snap (or did you even delete that directory)?

btw: just installed the snap version myself on Ubuntu 18:04 and the paths shown are the paths valid for the snap package and got nothing to do with what LibreOffice thinks your home directory is. The nature of snap packages is to use snapable/snapaware directories.

Opaque gravatar imageOpaque ( 2020-03-14 11:12:42 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-03-14 17:50:12 +0200

JShel82 gravatar image

updated 2020-03-14 17:56:48 +0200

Thank you for your response.

OS: Ubuntu 18.04


Permissions: drwxr-xr-x 5 joe joe 4096 Mar 13 19:29 snap

I typically use the ubuntu software GUI package manager. I only use apt-get when installing something not in the package manager or in troubleshooting. What I am really confused about is that I can use LibreOffice with no problem on Monday and by Thursday i'm getting these errors. I'm at a loss for what has changed.

Note: your reply gave me an idea I removed LibreOffice through the GUI. I then added the repository are you recommend and used apt-get to install LibreOffice again. Now everything works just fine. I'm still not sure what changed but Thank you for leading me in the correct direction to fixing the problem.

Answer: 1.Remove snap package (snap remove libreoffice) 2. Add repository (sudo add-apt-repository ppa:libreoffice/ppa) 3. Install Libreoffice (sudo apt install libreoffice)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-03-14 01:30:20 +0200

Seen: 87 times

Last updated: Mar 14