1. 問題一 Chrome 瀏覽器播放視頻時提示“Adobe Flash Player is out of date”
首先在 https://get.adobe.com/flashplayer/otherversions/ 下載最新的 Adobe Flash Player插件。注:一般瀏覽器(如 FireFox)使用的是NPAPI,而Chrome使用的是PPAPI
下載完的文件:
然後在 /home/<your-compute-name>/.config/google-chrome/(我的是在此路徑下) 或 /opt/google/chrome/ 中查看是否有文件夾 PerpperFlash,如果沒有新建,然後把上面的 libpepflashplayer.so 和 manifest.json 文件添加到此目錄中。
之後再編輯 google-chrome.desktop 文件,使用 sudo gedit /usr/share/applications/google-chrome.desktop 打開文件,修改文件的第108行,“Exec=/usr/bin/google-chrome-stable %U”後加入“ --ppapi-flash-path=/home/<your-compute-name>//.config/google-chrome/PepperFlash/libpepflashplayer.so”
即變爲Exec=/usr/bin/google-chrome-stable %U --ppapi-flash-path=/home/你的計算機用戶名/.config/google-chrome/PepperFlash/libpepflashplayer.so
然後重新打開Chrome,如果不起作用的話,重啓電腦。
參考文章:http://www.cnblogs.com/chenyucong/p/6288347.html
2. 問題二 配置搜狗輸入法
下載安裝搜狗輸入法,然後打開 System Settings -> Language Support -> Keyboard input method system 設置爲 fcitx。然後重啓電腦。
重啓完後,點擊上面的鍵盤圖標選擇"Configure Current Input Method",然後點擊添加圖標安裝,在彈出的對話框中取消"Only Show Curren Language"選擇框,然後在搜索框中輸入sogou,把Sogou Pinyin添加進去即可。
參考文章:https://jingyan.baidu.com/article/adc815134f4b92f722bf7350.html
3. Ubuntu 14.04 系統默認的截屏快捷鍵
System Settings -> Keyboards -> Screenshots (注:可以在 Custom Shortcuts 中自定義快捷鍵)
4. Ubuntu 中截圖軟件推薦 -- Shutter
官方地址:http://shutter-project.org/
快捷鍵設置:參考此文章 -- http://blog.csdn.net/hanshileiai/article/details/46843713
5. 安裝Wine
安裝命令:(官網安裝相關頁面地址:https://wiki.winehq.org/Ubuntu)
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install wine-devel
wine的安裝路徑:/opt/wine-devel
配置wine環境,使得在終端中直接使用wine命令:
1>. 打開 /home/<your-compute-name>/.bashrc 文件,在文件後面添加 export PATH=/opt/wine-devel/bin:$PATH
2>. source .bashrc
然後wine命令在終端可以直接使用了。
6. Ubuntu中右上角的日曆默認顯示格式出現兩個“月”字
第一種在終端中使用命令處理:
gsettings set com.canonical.indicator.datetime time-format 'custom'
gsettings set com.canonical.indicator.datetime custom-time-format '%Y年%m月%d日 %A%H:%M:%S'
第二種使用dconf-editor處理:
下載dconf-editor:sudo apt-get install dconf-editor
打開dconf-editor軟件,打開日曆路徑 com -> canonical -> indicator -> datetime,按下圖設置:
7. Ubuntu 16.04 LTS 無線上網慢
(1). 在終端允許命令 sudo gedit /etc/modprobe.d/iwlwifi.conf
(2). 在空白行添加 options iwlwifi 11n_disable=1
(3). 保存文件並重啓即可
參考鏈接:http://blog.csdn.net/ferrarifomaul/article/details/51544634
這樣設置起作用的原因:http://www.cnblogs.com/xzzzh/p/6367609.html
8. Ubuntu 導入GoAgent證書
參考鏈接:http://forum.ubuntu.org.cn/viewtopic.php?p=3070510
9. Shadowsocks代理設置
Linux下Shadowsocks Client GUI -- Shadowsocks-Qt5下載:https://github.com/shadowsocks/shadowsocks-qt5/wiki/Installation
Ubuntu >= 14.04 安裝:
sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
sudo apt-get install shadowsocks-qt5
(1). 全局代理設置
"系統設置" -> "網絡設置" -> 選擇代理類型Socks或http(s) -> 輸入本地代理地址,eg: 127.0.0.1:1080
(2). Chrome,FireFox瀏覽器設置
Chrome使用SwitchyOmega,下載地址:https://github.com/FelisCatus/SwitchyOmega/releases/ ,設置代理時注意服務器類型是http還是socks5。
FireFox使用AutoProxy。