Ubuntu 14.04 LTS 在 Samsung 530U3C - Linux

By Kristin
at 2016-03-24T11:51
at 2016-03-24T11:51
Table of Contents
#網誌版 :http://tonycch-daybyday.blogspot.tw/2016/03/ubuntu-1404-lts.html
由於想把手上的老Ultrabook (Samsung series 5_530U3C)升級SSD硬碟,
從傳統硬碟轉移到SSD後,在資料沒保存備份下讓SSD做對齊,
結果一也讓原本從Win7家用版升級到Win10的系統無法正常.
後來要在灌Win10又沒序號而憤而讓他裝linux. 先後試過了Ubuntu 15.1(64bit)
而最近感到系統愈來愈多不需要的東西, 還是讓他試跑14.04 LTS(64bit)
整個下來的安裝過程都很順利沒有硬體驅動問題,從Win轉到Ubuntu前後過了半年的時間.
基本上把系統從Win 換到 Linux已經可以做到無縫接軌,Spotify在這裡也有.
(Google服務都已經可以保存需要的文件,等等)
以下是過程中的筆記,需要超連結的部份建議參考網誌版
希望可以讓手上的Ubuntu 更美觀也符合在日常使用的需求:
設定防火牆 ufw:參考文
設定TLP:(參考)幫筆電可以在Linux操作下更省電
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
安裝:sudo apt-get install tlp tlp-rdw
執行: sudo tlp start 可能需要往上爬找到類似這段描述(+++ System Status TLP
power save = enabled power source = ...)
安裝chrome:從Google下載deb
安裝(Chinese input) gcin與詞音中文輸入(ubuntu 14.04安裝gcin與設定)
Ubuntu 軟體中心安裝gcin 設定
點選語言支援
設定輸入方式為gcin後登出
其他設定可參考該網誌詳細
如何讓在這裡啟用terminal, (AskUbuntu)Open terminal here
安裝套件: sudo apt-get install nautilus-open-terminal
重啟nautilus: nautilus -q
如何讓SSD硬碟定期TRIM, (AskUbuntu) How is trim enable for SSD
開啟每週定期trim的文件: sudo gedit /etc/cron.weekly/fstrim
把原本的exec fstrim-all修改如後: exec fstrim-all --no-model-check
如何安裝Python2.7 , (Ubuntu Software Center)
輸入Python2, 找到IDLE安裝:ex. IDLE (using Python-2.7)
如何讓Ubuntu 像Macbook 一樣使用Airplay 到 Apple TV 3,(Instructables)
這個因為我們家的apple TV已經被封印了,有需要再來設定(避免小朋友說要看電視,家裡
沒電視...)
早上測試了: java -jar airplay.jar -h 192.168.31.157 -d
結果有畫面沒聲音, 而且還有一些lag
Spotify用Unity面板控制(OMGUbuntu)
先到Spotify下載Linux版本(參考Spotify官方):
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys
BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee
/etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get install spotify-client
修改Spotify.desktop設定檔:
sudo gedit /usr/share/applications/spotify.desktop
[Desktop Entry]
Name=Spotify
GenericName=Music Player
Comment=Spotify streaming music client
Icon=spotify-client
Exec=spotify %U
TryExec=spotify
Terminal=false
Type=Application
Categories=Audio;Music;Player;AudioVideo;
MimeType=x-scheme-handler/spotify
Actions=PlayOrPause;Stop;Next;Previous
[Desktop Action PlayOrPause]
Name=Play or Pause
Exec=dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
OnlyShowIn=Unity;
[Desktop Action Stop]
Name=Stop
Exec=dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop
OnlyShowIn=Unity;
[Desktop Action Next]
Name=Next
Exec=dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
OnlyShowIn=Unity;
[Desktop Action Previous]
Name=Previous
Exec=dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
OnlyShowIn=Unity;
貼上以上內容後關閉gedit編輯器及存檔
修正Ubuntu英文版中Chrome中文字型的問題:
由於字型多安裝的字型更新包會讓瀏覽網頁有些中文字會亂跳字體,所以要把他移除:
sudo apt-get remove fonts-arphic-ukai && sudo apt-get remove
fonts-arphic-uming
重新登入
Ubuntu 安裝google的思源字型:
先找到這個步驟說明:教學文, 並將字體下載位置改如以下
思源字體下載換此:
https://noto-website-2.storage.googleapis.com/pkgs/Noto-hinted.zip
清除原本的Ubuntu 15.1並改裝14.04 LTS後並將介面改為比較1個小時左右可以搞定, 過
程中還把一些工具也裝了, ex. Rstudio, WPS office, Inkscape, etc.
#2016-03-20更新以下#
今天繼續安裝了Evernote 5.9.6 (by Wine 1.8),步驟如以下(參考):
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.8 winetricks
下載Evernote_5.9.6.9494
透過WINE安裝evernote.exe: wine [path to evernote setup exe]
執行並登入(2階段驗證順利)
Evernote on Ubuntu 14.04 LTS
防毒軟體與Trojan部份, 這邊是選用F-PROT與chkrootkit(直接在Ubuntu Software
Center,然後到Terminal執行 sudo chkrootkt), 由於先前使用ClamAV...想說換一個試試
看 F-PORT的安裝順序: (相關教學)
下載壓縮檔: http://www.f-prot.com/download/home_user/download_fplinux.html
把檔案解壓縮目錄到想要安裝的目錄ex: sudo mv f-prot /opt/
在/opt/f-prot下執行安裝: sudo ./install-f-prot.pl
執行fpscan(參數)方式: sudo fpscan -a.
後記: 後來找到F-Secure 11.0有支援到14.04 (網址), 晚點來試試看
--> 結果:無法安裝
--
由於想把手上的老Ultrabook (Samsung series 5_530U3C)升級SSD硬碟,
從傳統硬碟轉移到SSD後,在資料沒保存備份下讓SSD做對齊,
結果一也讓原本從Win7家用版升級到Win10的系統無法正常.
後來要在灌Win10又沒序號而憤而讓他裝linux. 先後試過了Ubuntu 15.1(64bit)
而最近感到系統愈來愈多不需要的東西, 還是讓他試跑14.04 LTS(64bit)
整個下來的安裝過程都很順利沒有硬體驅動問題,從Win轉到Ubuntu前後過了半年的時間.
基本上把系統從Win 換到 Linux已經可以做到無縫接軌,Spotify在這裡也有.
(Google服務都已經可以保存需要的文件,等等)
以下是過程中的筆記,需要超連結的部份建議參考網誌版
希望可以讓手上的Ubuntu 更美觀也符合在日常使用的需求:
設定防火牆 ufw:參考文
設定TLP:(參考)幫筆電可以在Linux操作下更省電
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
安裝:sudo apt-get install tlp tlp-rdw
執行: sudo tlp start 可能需要往上爬找到類似這段描述(+++ System Status TLP
power save = enabled power source = ...)
安裝chrome:從Google下載deb
安裝(Chinese input) gcin與詞音中文輸入(ubuntu 14.04安裝gcin與設定)
Ubuntu 軟體中心安裝gcin 設定
點選語言支援
設定輸入方式為gcin後登出
其他設定可參考該網誌詳細
如何讓在這裡啟用terminal, (AskUbuntu)Open terminal here
安裝套件: sudo apt-get install nautilus-open-terminal
重啟nautilus: nautilus -q
如何讓SSD硬碟定期TRIM, (AskUbuntu) How is trim enable for SSD
開啟每週定期trim的文件: sudo gedit /etc/cron.weekly/fstrim
把原本的exec fstrim-all修改如後: exec fstrim-all --no-model-check
如何安裝Python2.7 , (Ubuntu Software Center)
輸入Python2, 找到IDLE安裝:ex. IDLE (using Python-2.7)
如何讓Ubuntu 像Macbook 一樣使用Airplay 到 Apple TV 3,(Instructables)
這個因為我們家的apple TV已經被封印了,有需要再來設定(避免小朋友說要看電視,家裡
沒電視...)
早上測試了: java -jar airplay.jar -h 192.168.31.157 -d
結果有畫面沒聲音, 而且還有一些lag
Spotify用Unity面板控制(OMGUbuntu)
先到Spotify下載Linux版本(參考Spotify官方):
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys
BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee
/etc/apt/sources.list.d/spotify.list
sudo apt-get update
sudo apt-get install spotify-client
修改Spotify.desktop設定檔:
sudo gedit /usr/share/applications/spotify.desktop
[Desktop Entry]
Name=Spotify
GenericName=Music Player
Comment=Spotify streaming music client
Icon=spotify-client
Exec=spotify %U
TryExec=spotify
Terminal=false
Type=Application
Categories=Audio;Music;Player;AudioVideo;
MimeType=x-scheme-handler/spotify
Actions=PlayOrPause;Stop;Next;Previous
[Desktop Action PlayOrPause]
Name=Play or Pause
Exec=dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
OnlyShowIn=Unity;
[Desktop Action Stop]
Name=Stop
Exec=dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop
OnlyShowIn=Unity;
[Desktop Action Next]
Name=Next
Exec=dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
OnlyShowIn=Unity;
[Desktop Action Previous]
Name=Previous
Exec=dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
OnlyShowIn=Unity;
貼上以上內容後關閉gedit編輯器及存檔
修正Ubuntu英文版中Chrome中文字型的問題:
由於字型多安裝的字型更新包會讓瀏覽網頁有些中文字會亂跳字體,所以要把他移除:
sudo apt-get remove fonts-arphic-ukai && sudo apt-get remove
fonts-arphic-uming
重新登入
Ubuntu 安裝google的思源字型:
先找到這個步驟說明:教學文, 並將字體下載位置改如以下
思源字體下載換此:
https://noto-website-2.storage.googleapis.com/pkgs/Noto-hinted.zip
清除原本的Ubuntu 15.1並改裝14.04 LTS後並將介面改為比較1個小時左右可以搞定, 過
程中還把一些工具也裝了, ex. Rstudio, WPS office, Inkscape, etc.
#2016-03-20更新以下#
今天繼續安裝了Evernote 5.9.6 (by Wine 1.8),步驟如以下(參考):
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.8 winetricks
下載Evernote_5.9.6.9494
透過WINE安裝evernote.exe: wine [path to evernote setup exe]
執行並登入(2階段驗證順利)
Evernote on Ubuntu 14.04 LTS
防毒軟體與Trojan部份, 這邊是選用F-PROT與chkrootkit(直接在Ubuntu Software
Center,然後到Terminal執行 sudo chkrootkt), 由於先前使用ClamAV...想說換一個試試
看 F-PORT的安裝順序: (相關教學)
下載壓縮檔: http://www.f-prot.com/download/home_user/download_fplinux.html
把檔案解壓縮目錄到想要安裝的目錄ex: sudo mv f-prot /opt/
在/opt/f-prot下執行安裝: sudo ./install-f-prot.pl
執行fpscan(參數)方式: sudo fpscan -a.
後記: 後來找到F-Secure 11.0有支援到14.04 (網址), 晚點來試試看
--> 結果:無法安裝
--
Tags:
Linux
All Comments

By Ingrid
at 2016-03-29T09:55
at 2016-03-29T09:55

By Una
at 2016-04-01T12:07
at 2016-04-01T12:07

By Andrew
at 2016-04-05T03:44
at 2016-04-05T03:44

By Frederic
at 2016-04-10T02:49
at 2016-04-10T02:49

By Isabella
at 2016-04-12T10:53
at 2016-04-12T10:53

By Olga
at 2016-04-12T14:30
at 2016-04-12T14:30

By Steve
at 2016-04-15T06:56
at 2016-04-15T06:56

By Quintina
at 2016-04-17T21:24
at 2016-04-17T21:24

By Caroline
at 2016-04-19T03:37
at 2016-04-19T03:37

By Kristin
at 2016-04-20T02:02
at 2016-04-20T02:02

By James
at 2016-04-24T22:41
at 2016-04-24T22:41

By Victoria
at 2016-04-25T23:41
at 2016-04-25T23:41

By Xanthe
at 2016-04-28T22:43
at 2016-04-28T22:43

By Ida
at 2016-05-01T09:16
at 2016-05-01T09:16

By Skylar Davis
at 2016-05-01T20:55
at 2016-05-01T20:55

By Kelly
at 2016-05-06T19:12
at 2016-05-06T19:12

By Ina
at 2016-05-07T01:37
at 2016-05-07T01:37

By Joe
at 2016-05-07T12:39
at 2016-05-07T12:39

By Lauren
at 2016-05-10T00:45
at 2016-05-10T00:45
Related Posts
/etc/init.d資料缺失疑問

By Sarah
at 2016-03-24T10:39
at 2016-03-24T10:39
BBS(PTT)中文顯示異常

By Zenobia
at 2016-03-23T19:24
at 2016-03-23T19:24
EDA軟體中上下左右字元變成怪字

By Margaret
at 2016-03-23T15:47
at 2016-03-23T15:47
Unity 3D中文輸入

By Belly
at 2016-03-23T10:19
at 2016-03-23T10:19
CentOS 6.7 登入畫面的問題

By Heather
at 2016-03-23T07:17
at 2016-03-23T07:17