$ lspci
$ sudo apt-get update $ sudo apt-get install --reinstall bcmwl-kernel-source
deb http://mirrors.163.com/ubuntu/ saucy main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ saucy main restricted universe multiverse #Added by software-properties deb http://mirrors.163.com/ubuntu/ saucy-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ saucy-security main restricted universe multiverse #Added by software-properties deb http://mirrors.163.com/ubuntu/ saucy-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ saucy-updates main restricted universe multiverse #Added by software-properties
#!/bin/bash #script extraido de: http://paulocassiano.wordpress.com/2008/08/29/deixando-o-gedit-com-a-cara-do-textmate/ #tip for better "resolution" here: http://blog.siverti.com.br/2008/05/22/fonte-monaco-no-ubuntugedit/ cd /usr/share/fonts/truetype/ #if monaco dir not exists, then create it if [ ! -d ttf-monaco ]; then sudo mkdir ttf-monaco fi cd ttf-monaco/ sudo wget http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf #create an index of X font files in a directory sudo mkfontdir #go to parent folder /usr/share/fonts/truetype cd .. fc-cache
#enable color for gnome-terminal if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto' #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' fi # some more ls aliases alias ll='ls -alF' alias la='ls -A' alias l='ls -CF'
# set vim to default editor export EDITOR=/usr/bin/vim
Installing using the plugin tar.gz: o Unpack the plugin tar.gz and copy the files to the appropriate location. o Save the plugin tar.gz locally and note the location the file was saved to. o Launch terminal and change directories to the location the file was saved to. o Unpack the tar.gz file. Once unpacked you will see the following: + libflashplayer.so + /usr o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version o Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type: + cp libflashlayer.so <BrowserPluginsLocation> o Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type: + sudo cp -r usr/* /usr
#!/bin/bash #unpack adobe dir adobe_dir=/home/wzy/Downloads/flash #copy .so to chromium plugins direcotry cp $adobe_dir/libflashplayer.so /usr/lib/chromium-browser/plugins #copy abobe flash player settings configurations files to /usr directory target_dir=/usr for dir in `ls $adobe_dir/usr`; do if [ -d $target_dir/$dir ]; then cp -r $adobe_dir/usr/$dir/* $target_dir/$dir/ else cp -r $adobe_dir/usr/$dir $target_dir fi done
$ sudo add-apt-repository ppa:fcitx-team/nightly && sudo apt-get update $ sudo apt-get install fcitx-googlepinyin
$ sudo apt-get install vlc