UbuntuTips

ubuntu英文下同安装搜狗输入法

  1. 按照http://pinyin.sogou.com/linux/help.php中步骤安装
  2. 命令行输入fcitx-configtool打开配置文件,点击 '+'按钮,去掉only show current language, 选择搜狗输入法。

安装cinnamon

sudo add-apt-repository ppa:lestcape/cinnamon
sudo apt-get update && sudo apt-get install cinnamon

去掉Guake自动重命名功能

  • gconftool-2 --set /apps/guake/general/use_vte_titles --type boolean false

解决ubuntu 更新包太慢问题

  • [apt-get update very slow, stuck at “Waiting for headers”](http://askubuntu.com/questions/156650/apt-get-update-very-slow-stuck-at-waiting-for-headers](http://askubuntu.com/questions/156650/apt-get-update-very-slow-stuck-at-waiting-for-

安装GNOME

sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell

欢迎提pull requests.

APT错误

  • Hash sum mismatch” error
    http://askubuntu.com/questions/41605/trouble-downloading-packages-list-due-to-a-hash-sum-mismatch-error
  • depends..but it is not going to be installed

查看端口使用情况

  • lsof -i:888 : 查看888端口的使用情况。

SWAP分区作用:虚拟内存
EXT4: 日志系统

开机自动启动

  • Ubuntu添加和设置开机自动启动程序的方法 : http://jiangzhi2013.blog.51cto.com/7150666/1293877
  • etc/profile

Vim

  • 安装Vundle http://zuyunfei.com/2013/04/12/killer-plugin-of-vim-vundle/
  • python-mode
  • regex-search

SSH

  • https://help.github.com/articles/generating-ssh-keys/

ImageMagick

  • convert sourcefile -resize 1080x out.image

添加环境变量

export PATH = fsdfldslfs

Git

error: cannot open .git/FETCH_HEAD: Permission denied

后台

command &

DNS

清除缓存: sudo /etc/init.d/dns-clean start

安装AMD显卡

  1. fglrx-core
  2. sudo apt-get install fglrx-core
  3. dpkg -i fglrx_15.200-0ubuntu1_amd64_ub_14.01.deb

apt-get

install error

sudo apt-get check
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 cura : Depends: python-wxgtk2.8 but it is not installed or
                 python-wxgtk3.0 but it is not installed
        Depends: python-opengl but it is not installed
E: Unmet dependencies. Try using -f.

remove the cura

sudo add-apt-repository ppa:gwibber-daily/ppa

not authorized to control networking

OSQuery

  • 介绍 https://code.facebook.com/posts/844436395567983/introducing-osquery/
  • 安装
  • brew install osquery
  • Tables: https://osquery.io/docs/tables/

你可能感兴趣的:(UbuntuTips)