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。