When I first went into Ubuntu, I was getting old. When you open some documents with LibreOffice, you get a stack of garbled characters, and when you first use eclipse editing, the mouse clicks into a variable or function when you pop a black box ~ Look at the uncomfortable .... Here's a record ~
Writing is not easy, reproduced please specify the source: http://blog.csdn.net/jscese/article/details/40377121
One. LibreOffice Chinese garbled:
Ubuntu Open Some Chinese documents if the stack of garbled, it is because there is no corresponding font, this is because Ubuntu itself does not carry, as if it is involved in copyright issues ~ but Windows has
The solution is simple and is copied to the LibreOffice configuration.
The path to the font presence of WINDOWS is:/WINDOWS/FONTS/SIMSUN.TTC
Copy to User directory:~/.config/libreoffice/4/user/fonts
This path may not be the same as the Ubuntu version LibreOffice, it needs to be modified separately ~
Re-open LibreOffice to take effect!
Two. Eclipde the color setting of the cue box:
Default is the black box, the background is All black, the font is not clear, see the code is more troublesome, open the system principal configuration file:
sudo gedit /USR/SHARE/THEMES/AMBIANCE/GTK-2.0/GTKRC
The default theme is ambiance , and the others are similar. I changed the color configuration scheme:
Gtk-color-scheme = "Base_color: #CCE8CF \ n fg_color: #4c4c4c \ tooltip_fg_color: #000000 \ n selected_bg_ Color: #f07746 \ selected_fg_color: #CCE8CF \ text_color: #3C3C3C \ bg_color: #F2F1F0 \ n tooltip_bg _color: #F2EDBC \ link_color: #DD4814 "
The black background of the cue box is tooltip_bg_color this variable control, font color from tooltip_fg_color, change to what kind of look at the individual ... Others can be read literally to change ~
Re-switch the theme and restart Eclipse to take effect.
ubuntu--fix LibreOffice Chinese garbled and Eclipse hint box color