Failed to start Libreoffice under Ubuntu12.04

Source: Internet
Author: User
Ubuntu12.04 was newly installed. After updating the Language Pack, it was found that libreoffice could not be started. After searching, it was found that many people had this situation. Someone has provided a method to uninstall and re-install it. However, after trying, I found that my libreoffice still cannot be started. At this time, I suddenly thought that I had been clicking the icon in dashhome to start libreoffice. I don't know why libreoffice cannot be started, so I ran libre on the terminal.

Ubuntu 12.04 is installed. After the Language Pack is updated, it is found that libreoffice cannot be started. This situation is found by many people after searching.

Someone has provided a method to uninstall and re-install it. However, after trying, I found that my libreoffice still cannot be started. At this time, I suddenly thought that I had been clicking the icon in dash home to start libreoffice. I don't know why libreoffice cannot be started, so I ran libreoffice on the terminal.

At this time, the reason is clear: "ls: error initializing month strings". Through this sentence, we can preliminarily estimate that there is a problem with the date format, so we can think of it as a result of a language change. The following is my solution:

Change the/etc/default/locale file

LANG = "en_US.UTF-8"
LANGUAGE = "zh_CN.UTF-8"
LC_NUMERIC = "zh_CN.UTF-8"
LC_TIME = "en_US.UTF-8"
LC_MONETARY = "zh_CN.UTF-8"
LC_PAPER = "zh_CN.UTF-8"
LC_NAME = "zh_CN.UTF-8"
LC_ADDRESS = "zh_CN.UTF-8"
LC_TELEPHONE = "zh_CN.UTF-8"
LC_MEASUREMENT = "zh_CN.UTF-8"
LC_IDENTIFICATION = "zh_CN.UTF-8"

Specific meaning of each string, can refer to the http://www.linuxidc.com/Linux/2012-05/59665.htm of the 3rd items.

From this issue, we can see that, after a problem occurs, we should first figure out the cause of the problem, instead of simply looking at the problematic table image, and doing some blind searches may not solve the problem.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.