@ferstar
2015-11-13T20:20:19.000000Z
字数 2220
阅读 1805
OS
Ubuntu
http://ohmyz.sh/
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
打开终端
的选项sudo apt-get install nautilus-open-terminal
似乎15.04开始这个package自带了~
indicator
图标无法正常显示问题sudo apt-get install python-appindicator
sudo vi /etc/chromium-browser/default
改路径到/tmp
# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser
# Options to pass to chromium-browser
CHROMIUM_FLAGS="--disk-cache-dir=/tmp/Chromium/"
收工~啥?还在用火狐?启动那么慢能忍受么。。。
RAM>4G
)sudo vi /etc/fstab
新起一行,写入以下内容
# temporary directories
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0
# log directories
tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0
swappiness
值关于swap的介绍,挺详细
https://help.ubuntu.com/community/SwapFaq
我机器内存够大,所以基本上是不分swap分区的
sudo gedit /etc/sysctl.conf
Search for vm.swappiness and change its value as desired. If vm.swappiness does not exist, add it to the end of the file like so:
vm.swappiness=10
内存如果够大,这里完全可以设为0,或者干脆干掉swap分区,机智如我~
/efi fat16 # 100MB左右足够
、/ ext4 # 20GB左右
和/home ext4 #剩余空间全给
,如果是SSD,格式换为btrfs
我比较喜欢用深度截图工具,简单好用
deepin-scrot_2.0-0deepin_all.deb
sudo dpkg -i deepin-scrot_2.0-0deepin_all.deb
sudo apt-get -f install
然后设定快捷键呼出ctrl+alt+A
system-settings --> keyboard --> custom shortcuts
添加command
deepin-scrot %u
绑定ctrl+alt+A
bug报告本来是好事,但无奈弹的太多了些,多数情况除了影响心情外,并没有什么卵用,所以需要禁用之:
sudo vi /etc/default/apport
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0
系统默认策略不允许普通用户设定简单密码,所以如果想要设定简单密码的话,可以先切到root然后再换
sudo -i
passwd uersname
搞定~
bcloud
https://github.com/LiuLang/bcloud
http://blog.wiz.cn/downloads-mac-linux.html
http://www.ubuntukylin.com/application/show.php?lang=cn&id=279
http://www.ubuntukylin.com/application/show.php?lang=cn&id=278
sudo apt-get install exfat-utils
http://pinyin.sogou.com/linux/?r=pinyin
https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media
https://nodejs.org/en/
默认的NPM太慢,可以转投淘宝镜像