首页 > 其他 > 详细

ububtu 14.04 问题集合

时间:2014-12-17 06:39:50      阅读:328      评论:0      收藏:0      [点我收藏+]
作者: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

 

 

ububtu 14.04 问题集合

原文:http://www.cnblogs.com/jostree/p/4168168.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!