2014年4月30日 星期三

Ubuntu 10.04後的紫黑色調改黑色大整理, change the purple black to real black


Ubuntu 10.04後的紫黑色改黑色大整理XD, 
自10.04後採用plymouth, 所以10.04後皆可用此設定

1. Define the black to real black.
把黑色定義改回真正的黑色

*sudo apt-get install gksu
* sudo gksu gedit /lib/plymouth/themes/text.plymouth 

#change black value with your color, in my case #000000 is black
black=0x000000

2. Change boot splash into black and white

把開機 logo弄成黑白色系

* sudo nano /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.script

#change the following 2 lines that can be found to something like this
Window.SetBackgroundTopColor (0.0, 0.00, 0.0); # Nice colour on top of the screen fading to
Window.SetBackgroundBottomColor (0.0, 0.00, 0.0); # an equally nice colour on the bottom

*sudo update-initramfs -u

*sudo nano /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.grub
#change the digits in "if background_color 44,0,30" to
if background_color 0,0,0


*sudo update-grub

3. Login screen background and the definition of black

登入畫面的紫黑色要用deb-editor改

* sudo apt-get install dconf-editor
*sudo su
*xhost +SI:localuser:lightdm
*sudo su lightdm -s /bin/bash
*dconf-editor

#com->conical->unity-greeter and
change background-color to #000000 ( For Black )

在dconf-editor中, 除了把黑色改全0, 也可把登入畫面背景圖順便改掉

background的值可以改/usr/share/backgrounds/Ibanez_Infinity_by_Jaco_Kok.jpg

4. Console background

console 改背景, 在 profile preference 中的color分頁改背景/字的顏色
如果要改豆沙色, 色碼 #C7EDCC

ref:
http://askubuntu.com/questions/47488/how-to-change-the-purple-background-color-in-grub
http://justsomecoffee.blogspot.tw/2013/09/remove-purplepink-color-from-ubuntu.html
http://askubuntu.com/questions/278493/how-to-change-the-background-color-of-terminal-in-ubuntu-12-10