Install Stellarium in Ubuntu8.04

Source: Internet
Author: User
Many people like to watch the stars and dream of watching the stars in the astronomical telescope. Let's take a look. If you like it, we can use the Stellarium software to comfort you in Ubuntu8.04. But to be honest, this software is still very powerful. It shows the observation angle, distance between the observed stars and the Earth, and other data. It simulates on-site observation scenarios and selects different locations. The observed stars are different, including day and night, whether to display the atmosphere, and other settings. This self

Many people like to watch the stars and dream of watching the stars in the astronomical telescope.

Look

So we can use Stellarium to comfort ourselves in Ubuntu 8.04. But to be honest, this software is still very powerful. It shows the observation angle, distance between the observed stars and the Earth, and other data. It simulates on-site observation scenarios and selects different locations. The observed stars are different, including day and night, whether to display the atmosphere, and other settings. Discover this by yourself!

Next let's go to the question and start to explain how to install Stellarium In Ubuntu. In fact, the installation is very simple. You can search for new programs or add programs in "Add/delete programs. This is simple. It is basically silly.

After entering the program, you will find garbled characters. The program displays Chinese characters by default, but the fonts used by the program are not Chinese characters. We need to modify them here.

1. Open the terminal and enter the following code
Sudo nautilus
Open File Manager as administrator and go to/usr/share/fonts/truetype/wqy/copy wqy-zenhei.ttf to/usr/share/stellarium/data/below.
(The above steps can also use the command sudo cp/usr/share/fonts/truetype/wqy/wqy-zenhei.ttf/usr/share/stellarium/data/wqy-zenhei.ttf)
Copy two copies of the wqy-zenhei.ttf in this directory and change the name to DejaVuSans. ttf and DejaVuSansMono. ttf respectively.

2. Go to the/usr/share/stellarium/data/directory and modify fontmap. dat.
Set
Zh_CN ukai. ttf 1.2 ukai. ttf 1.2
Replace ukai. ttf with wqy-zenhei.ttf in
Save and exit.

3. Modify ~ /. Stellarium/config. ini
Set
Base_font_name = xxx. ttf
Change
Base_font_name = *. ttf
If there is no line below, add it.
Base_cfont_name = *. ttf
Save and exit.

In this way, when you enter Stellarium again, the Chinese language will be displayed normally.

Note: When entering Stellarium, there may be a flash. The specific reason is ominous. It is preliminarily determined that the program window is not at the frontend. This is because the window flashes when you press Alt + Tab to switch the program. Previously, after the installation, I started to flash, and then upgraded compiz fusion to 0.7.6, then the flash disappeared.

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.