1.菜单栏始终显示
1)sudo apt-get autoremove appmenu-gtk appmenu-gtk3 appmenu-qt
2)sudo apt-get remove indicator-appmenu
3)重新启动
2.firfox安装flash
1)tar -zxvf install_flash_player_11_linux.i386.tar.gz
2)sudo cp libflashplayer.so /usr/lib/mozilla/plugins
3)sudo cp -r usr/* /usr
3.创建快捷方式
1)sudo vi /usr/share/applications/Studio.desktop (注意行末尾不能有空格)
[Desktop Entry]
Name = Studio
comment= android studio
Exec=/home/zhouli/software/android-studio/bin/studio.sh
Icon=/home/zhouli/software/android-studio/bin/studio.png
Terminal=false
Type=Application
4.修改hosts
1)sudo chmod 777 hosts(不需要,多余)
2)sudo gedit /etc/hosts
3)sudo /etc/init.d/networking restart
5.修改命令提示符
1)vi ~/.bashrc 修改内容如下所示
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]::\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\w::\$ '
fi
6.java环境
1)tar -zxvf jdk-8u60-linux-i586.tar.gz
2)sudo gedit /etc/profile
export JAVA_HOME=/home/zhouli/software/jdk1.8.0_60
export JRE_HOME=/home/zhouli/software/jdk1.8.0_60/jre
export CLASSPATH=.:$CLASSPATH:$JAVA_HOME/lib:$JRE_HOME/lib
export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
3)重新启动
4)命令在当前terminal生效 source /etc/profile