标签:des style blog http ar io color os sp
作者:jostree 转载请注明出处 http://www.cnblogs.com/jostree/p/4168168.html
1.Chromium 中的flash插件问题:
sudo apt-get install pepperflashplugin-nonfree sudo update-pepperflashplugin-nonfree --install
2.安装zsh:
sudo apt-get install zsh git wget wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh chsh -s /bin/zsh
3.亮度保存:
sudo vim /etc/rc.local
在exit 0 前面添加:
echo 6 > /sys/class/backlight/acpi_video0/brightness
4.vim: "+p 粘贴问题
sudo apt-get install vim-gnome
5.拥有gonme 开始菜单
sudo apt-get install gnome-session-flashback
6.Dia 软件 输入中文
修改文件:/usr/bin/dia
#dia-normal --integrated “$@”
dia-normal “$@”
7.命令行中python的自动补全
,在~/目录下建立.pythonstartup.py文件,内容如下:
#!/usr/bin/python # python startup file import sys import readline import rlcompleter import atexit import os # tab completion readline.parse_and_bind(‘tab: complete‘) # history file histfile = os.path.join(os.environ[‘HOME‘], ‘.pythonhistory‘) try: readline.read_history_file(histfile) except IOError: pass atexit.register(readline.write_history_file, histfile) del os, histfile, readline, rlcompleter
然后在~/.bashrc中添加:
export PYTHONSTARTUP="/home/liuyi/.pythonstartup.py"
8.搜狗输入法安装:
登陆网址下载:http://pinyin.sogou.com/linux/
直接双击安装,然后在系统设置-》语言支持-》键盘输入方式系统-》fcitx-》应用到整个系统-》重新启动
即可!
9.搜狗输入法黑框:
a.安装xcompmgr
sudo apt-get install xcompmgr
b.设置xcompmgr自动启动
mkdir ~/.config/autostart cd ~/.config/autostart vim xcompmgr.desktop
c.将如下内容复制到xcompmgr.desktop文件,保存即可
[Desktop Entry] Type=Application Encodeing=UTF-8 Name="xcompmgr" Comment="" Exec="xcompmgr" hidden=false NoDisplay=false Terminal=false
标签:des style blog http ar io color os sp
原文地址:http://www.cnblogs.com/jostree/p/4168168.html