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.