Using Tips in Ubuntu 12.04

1. Enable root account

url link: http://www.techienote.com/2012/05/how-to-enable-root-account-in-ubuntu-12-04.html

2. Chinese input method

url link: http://www.2cto.com/os/201207/144189.html

install fcitx!start fcitx,and config fcitx!

Scim-python: http://hi.baidu.com/liuhelishuang/item/829648521677a0978c12ed93

3. 如何定制Ubuntu 12.04 Gnome Classic 的面板: http://www.linuxeden.com/html/softuse/20120519/124402.html

http://www.ubuntusoft.com/gnome-classic-in-ubuntu-12-04-its-like-nothing-ever-changed.html

4. Could not get lock /var/lib/dpkg/lock - open。。。

通过终端安装程序sudo apt-get install ***时出错:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

出现这个问题可能是有另外一个程序正在运行,导致资源被锁不可用。而导致资源被锁的原因可能是上次运行安装或更新时没有正常完成,进而出现此状况,解决的办法其实很简单:
在终端中敲入以下两句
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock

再试着安装,问题解决。
 
5.
原文地址:https://www.cnblogs.com/yinger/p/2657952.html