2014年8月5日 星期二

Install SCIM chewing on Ubuntu 14.04

sudo apt-get install scim scim-chewing
sudo im-config -s scim-bridge

2014年8月4日 星期一

Update/Recover from Ubuntu 14.04 upgrade

1. First of all, the upgrade is simple. Follow the prompt and click next.

2. During the process, it says my xserver-xcore-video-all package has problem and my upgrade is canceled. In order to go on, I deleted that package
sudo apt-get remove xserver-xorg-video-all
3. Things go well until the system reboots

4. Download the latest NVIDIA driver from http://www.nvidia.com/Download/index.aspx and install.
    p.s. The latest one is 340.24 and before this I tried the previously used the old one 331.20 and a random one not even double checked 331.67, both won't work and says "The system is running in low-graphis mode."
    p.s. Please check /var/log/Xorg.0.log and kern.log for detail description. (words regarding nvidia driver problems)

5. Now we can log in but the resolution is very weired and shows only desktop. No unity icon, right botton does not work.
    p.s. I thought it's unity/compiz/lightdm problem so I removed the previous settings by

rm -rf  /.config/*
rm -rf ~/.compiz/*
rm -rf ~/.cache/compizconfig-1/  

but I think the above is unrelated.

6. Step 5 does not solve my problem and there is still not desktop with unity and I checked /var/log/lightdm/lightdm.log and found "Xlib:  extension "GLX" missing on display ":0"."

7. "DISPLAY=:0 glxinfo" shows the same error

8. ldd /usr/bin/glxinfo and found libGL.so links to correct version(340.23) driver gl library.

9. Suddently I recalled that I removed xservice-xorg-video-all in the first place.

10. Trying to install this package and found the PPAs are different for 13.10 and 14.04. So I remove the the original ppa
sudo ppa-purge xorg-edgers
and add it back
sudo apt-add-repository ppa:xorg-edgers
sudo apt-get update
sudo apt-get upgrade 

11. Finally my Ubuntu upgrade finishes.