Ubuntu 14.04 LTS 在 Samsung 530U3C - Linux

Kristin avatar
By Kristin
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 (網址), 晚點來試試看
--> 結果:無法安裝

--
Tags: Linux

All Comments

Ingrid avatar
By Ingrid
at 2016-03-29T09:55
思源字型已經在套件庫中了。Evernote用wine裝會無法更新
而且字型有點難弄,我現在都直接用evernote web版了
Una avatar
By Una
at 2016-04-01T12:07
提醒: 是 Ubuntu 15.10,不是 Ubuntu 15.1
Andrew avatar
By Andrew
at 2016-04-05T03:44
Ubuntu版號是用發表年+月,所以不能寫成15.1,寫成15.1
0才是正確的
Frederic avatar
By Frederic
at 2016-04-10T02:49
理解
Isabella avatar
By Isabella
at 2016-04-12T10:53
我用evernote主要只是在搜尋與產生Link,字型部份是沒關係
Olga avatar
By Olga
at 2016-04-12T14:30
Windows 10 不是認主機板的嗎?
Steve avatar
By Steve
at 2016-04-15T06:56
話說之前在 Ubuntu 用了一陣子 的 docky 後,總覺得
有點多此一舉,所以就刪掉了,還是原版最讚
Quintina avatar
By Quintina
at 2016-04-17T21:24
請問 chkrootkit 測出 Warning: /sbin/init INFECTED
有哪些可能性呢??
Caroline avatar
By Caroline
at 2016-04-19T03:37
會像 askubuntu 上面的回答一樣是 bug 嗎?
Kristin avatar
By Kristin
at 2016-04-20T02:02
其實一切都只是個 chkrootkit 式的玩笑?
James avatar
By James
at 2016-04-24T22:41
rkhunter 跑出 /usr/bin/unhide.rb [ Warning ]
Victoria avatar
By Victoria
at 2016-04-25T23:41
passwd file changes [ Waring ]
group file changes [ Warning ]
Xanthe avatar
By Xanthe
at 2016-04-28T22:43
/dev for suspicious file types [ Warning ]
hidden files and directories [ Warning ]
Ida avatar
By Ida
at 2016-05-01T09:16
File properties checks...
Files checked: 136
Skylar Davis avatar
By Skylar Davis
at 2016-05-01T20:55
Suspect files: 1
請問我該如何處置?
Kelly avatar
By Kelly
at 2016-05-06T19:12
我的處境很危險嗎?
Ina avatar
By Ina
at 2016-05-07T01:37
查了一下,好像是 rkhunter 的問題
Joe avatar
By Joe
at 2016-05-07T12:39
用另一台筆電重灌後都會跑出一樣的東西
Lauren avatar
By Lauren
at 2016-05-10T00:45
你升級到Win10後就不用序號了啦....

/etc/init.d資料缺失疑問

Sarah avatar
By Sarah
at 2016-03-24T10:39
各位大大好 小弟是Linux新手 最近在VM上灌了CentOS 7 使用chkconfig指令時發現只有netconsole和network兩項service /etc/init.d/內也只有functions,netconsole,network,README這樣 少了其他啟動腳本 沒有xinetd.c ...

BBS(PTT)中文顯示異常

Zenobia avatar
By Zenobia
at 2016-03-23T19:24
我使用linux的PCManX, 可是我試過了很多字型,大部分我PTT畫面都異常的短, 最重要的是有不少字都顯示不出來QAQQQ 譬如巫媪的and#34;媪and#34; 請各位大大教教我andgt;///andlt; -- * * * ...

EDA軟體中上下左右字元變成怪字

Margaret avatar
By Margaret
at 2016-03-23T15:47
我在Linux上進入一個EDA軟體(Cadence virtuoso ocean script的Shell) 在原本我的Bash裡面沒問題,但是進入之後上下左右會變成[[A [[B類似這種的 我試過調ssh keyboard設定等等都沒用。 那個軟體是文字介面的,但是他好像會偷開X,沒X的畫開不起來。 所以不 ...

Unity 3D中文輸入

Belly avatar
By Belly
at 2016-03-23T10:19
請問在Linux下Unity5.3.4怎輸入中文? 不但不能輸入, 連貼也不能貼上中文 (系統Linux Mint 17.3 輸入法GCIN) - ...

CentOS 6.7 登入畫面的問題

Heather avatar
By Heather
at 2016-03-23T07:17
各位前備,請問在一開始的gdm登入界面 如何將底下Session選擇的部分, 由預設gnome改為KDE? 還是只能移除gnome了? 另外,如果移除gnome後, 在KDE下會不會有軟體突然不能使用? 小弟是linux的新手,位各位前被解答謝謝! - ...