JoyHD

2014年4月6日 星期日

Linux Note(for Ubuntu, Linux Mint, elementary OS, etc.)

Tested on my Acer 5750G laptop.
Includes:
BIOS Settings
NVIDIA Driver, Broadcom Wireless Driver
Install Google Chrome, Sublime Text 3, Wine, VMware Workstation, LibreOffice, TeamViewer



BIOS Settings

Since the troubles were caused by the presence of two graphic cards (Nvidia Optimus), I simply disabled the nvidia graphic card in the bios in order to use only the Intel integrated card (choosing "integrated" instead of "switchable")

If you don't choose "integrated" instead of "switchable", you might have to do this to boot from LiveCD:
press F6
add/select nomodeset
press Esc
press Enter

NVIDIA Driver

Install Bumblebee
$ sudo add-apt-repository ppa:bumblebee/stable
$ sudo apt-get update
$ sudo apt-get install bumblebee bumblebee-nvidia
$ sudo reboot

Check Status
$ lspci |grep VGA

Setteings
$ optirun nvidia-settings -c :8

Test
$ glxgears
$ optirun glxgears

Brightness
$ sudo vi /etc/default/grub
modify:
GRUB_CMDLINE_LINUX="acpi_backlight=vendor"
$ sudo update-grub
$ sudo reboot

Broadcom Wireless Driver

reference: WifiDocs/Driver/bcm43xx
$ sudo apt-get update
$ sudo apt-get install bcmwl-kernel-source

Install Elementary Tweaks

Customize the desktop
Add Community PPA
$ sudo apt-add-repository ppa:versable/elementary-update
$ sudo apt-get update
Install
$ sudo apt-get install elementary-tweaks

This community PPA also contains of several other third party application which you may want to install. Some of the main applications are:

audience – Media player
birdie-granite – Twitter client
cable – IRC client
etube – Youtube viewer
feedler – RSS reader
foto – Image viewer
gazette – Clock, news and weather widget for desktop
nuvolaplayer – cloud music player

Install Codecs

$ sudo apt-get install ubuntu-restricted-extras

Install Google Chrome

Website
Download
For 32-bit OS:
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
For 64-bit OS:
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Install
$ sudo dpkg -i google-chrome-stable_current_*.deb

Install Firefox

$ sudo apt-get install firefox

Install Sublime Text 3

Website
Download
For 32-bit OS:
$ wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3059_i386.deb
For 64-bit OS:
$ wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3059_amd64.deb

Install
$ sudo dpkg -i sublime-text_build-3059_*.deb

Install Wine

Website
$ sudo add-apt-repository ppa:ubuntu-wine/ppa
$ sudo apt-get update
$ sudo apt-get install wine1.7

Install VMware Workstation

Download from VMware Workstation 10.0.1 for Linux
$ sudo sh VMware-Workstation*.bundle

Install LibreOffice

$ sudo add-apt-repository ppa:libreoffice/ppa
$ sudo apt-get update
$ sudo apt-get install libreoffice
Language Pack
$ sudo apt-get install libreoffice-l10n-zh-tw

Install Chinese IME

gcin
Website
Install gcin
$ sudo apt-get install gcin

fcitx
$ sudo add-apt-repository ppa:fcitx-team/nightly
$ sudo apt-get update
$ sudo apt-get install fcitx
$ sudo apt-get install im-config
$ sudo apt-get install fcitx-table-boshiamy (嘸蝦米)
$ sudo apt-get install fcitx-table-cangjie-big (倉頡大字集)
$ sudo apt-get install fcitx-table-zhengma-large (鄭碼大字集)
$ sudo apt-get install fcitx-table-wubi-large (五筆大字集)
$ sudo apt-get install fcitx-chewing (新酷音)
$ sudo apt-get install fcitx-sunpinyin (双拼)
$ sudo apt-get install fcitx-table-easy-big (輕鬆大詞庫)
$ sudo apt-get install fcitx-m17n
$ sudo apt-get remove ibus

Change input method
$ im-config
Select and reboot

Remove iBus
$ sudo apt-get remove --purge ibus
$ sudo apt-get autoremove

Install TeamViewer

Website

Install Transmission

$ sudo add-apt-repository ppa:transmissionbt/ppa
$ sudo apt-get update
$ sudo apt-get install transmission

Install Skype

$ sudo apt-get install skype

JDownloader

sudo add-apt-repository ppa:jd-team/jdownloader
sudo apt-get update
sudo apt-get install jdownloader-installer


Fix Grub

$ sudo apt-get remove grub-efi-amd64   #remove grub-efi
$ sudo apt-get install grub-pc  #install grub
$ sudo mount /dev/sda7 /mnt    #挂载引导分区
$ sudo grub-install --root-directory=/mnt /dev/sda
$ sudo update-grub

Some Other Directories

$ sudo fdisk -l


1 則留言:

  1. 網誌管理員已經移除這則留言。

    回覆刪除

注意:只有此網誌的成員可以留言。