ubuntu12.04记录

apt-get install vim

1、root用户登录
sudo vim /etc/lightdm/lightdm.conf

[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
greeter-show-manual-login=true
allow-guest=false

设置root密码
sudo passwd root

2、调节屏幕亮度
sudo vim /etc/default/grub
在打开文件中找到
GRUB_CMDLINE_LINUX=“”
改成
GRUB_CMDLINE_LINUX=“acpi_backlight=vendor“

sudo update-grub

sudo vim /etc/rc.local
echo 500 > /sys/class/backlight/intel_backlight/brightness

3、声音
cp -p /etc/default/pulseaudio /etc/default/pulseaudio.bak
vim /etc/default/pulseaudio
PULSEAUDIO_SYSTEM_START=1
DISALLOW_MODULE_LOADING=0

4、apt-get install preload
5、apt-get install synaptic
6、apt-get install build-essential
7、/usr/bin/google-chrome-stable %U –user-data-dir –disk-cache-dir=“/tmp/shm/chrome/”
8、
export JAVA_HOME=/opt/jdk1.6.0_37
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
9、gnome-terminal –maximize
10、apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4
im-switch -s ibus

你可能感兴趣的:(ubuntu12.04记录)