Installation
Ubuntu Settings
- Tweak
Software list
- tree
- cloc
- g++
- vim
- 拼音输入法
- ibus-pinyin(sudo apt-get install ibus-pinyin //安装拼音引擎 ibus-setup //弹出设置框)(That is a mess under Ubuntu 13.10)
- fcitx pinyin
#删除ibus sudo apt-get remove ibus #添加源 sudo add-apt-repository ppa:fcitx-team/fcitx-nightly #升级源 sudo apt-get update #安装fcitx sudo apt-get install fcitx fcitx-config-gtk fcitx-sogoupinyin #切换输入法 im-switch -s fcitx -z default #重启或注销
- Fcitx小企鵝 输入法界面比较漂亮(找了一圈,还是不知道怎么换皮肤,在Ubuntu13.10下面好像有问题。fcitx-classic-ui好像没有用。)
- Ubuntu Kylin与搜狗共同开发的输入法,看这里。
- 如果遇到“请启用fcitx-qimpanel面板程序,以便更好的享受搜狗输入法!”,那么在命令行中敲入如下命令。
#重载 fcitx, 开启 qimpanel: fcitx -r --enable fcitx-qimpanel #然后启动 fcitx-qimpanel: fcitx-qimpanel
- 如果遇到“请启用fcitx-qimpanel面板程序,以便更好的享受搜狗输入法!”,那么在命令行中敲入如下命令。
- WPS for linux
- 金山快盘Linux版
配置文件
.bashrc
设置结果:PS1="\[\e[32m\][\u \w]\$\n\t>\[\e[m\]"
- d
.vimrc
set nocp
set backspace=indent,eol,start
set whichwrap=b,s,<,>
syntax on
set autoindent
set expandtab
set ts=4
set sw=4
set softtabstop=4
set nu
驱动
无线网卡驱动
看这里。
如果,设备ID为ID 0bda:8179 Realtek Semiconductor Corp,其芯片型号为RTL8188EUS,我的网卡名字是fast FW150US,那么,Realtek官网上是没有这个驱动,驱动在这里。
如果,设备是Realtek的,那么可以看看这个列表里面有没有你的芯片型号。
Tips
文件浏览器
- Open Terminal Here — Ubuntu
- How to add an option to create a new file with a specific extension in right click menu
桌面
- Ubuntu Gnome3的状态栏系统托盘是隐藏在下面的,按一下Win+M就可以出来了。
- 将命令行工具添加到Gnome Dock,看这里。(其中,添加*.desktop文件的方法,经测试可以成功使用。)
Add eclipse.desktop to /home/logicworld/.local/share/applications with the following content.#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Icon[en_GB]=/home/logicworld/Programs/eclipse/icon.xpm Name[en_GB]=Eclipse Exec=/home/logicworld/Programs/eclipse/eclipse Comment[en_GB]=Eclipse Name=Eclipse Comment=Eclipse Icon=/home/logicworld/Programs/eclipse/icon.xpm
- 另一种等价的方案是使用gnome-desktop-item-edit, 具体看这里。
安全
Firewall
Netfilter&iptables
iptables is the userspace command line program used to configure the Linux 2.4.x and later packet filtering ruleset. It is targeted towards system administrators.
Since Network Address Translation is also configured from the packet filter ruleset, iptables is used for this, too.
The iptables package also includes ip6tables. ip6tables is used for configuring the IPv6 packet filter.
- iptables防火墙配置详解
- Basic Guide on IPTables (Linux Firewall) Tips / Commands
- Quick HOWTO : Ch14 : Linux Firewalls Using iptables(最详细)
FirewallBuilder
多平台GUI,支持iptables。
ufw(Uncomplicated Firewall)
方便配置iptables。
远程桌面
服务器端xrdp:Ubuntu 13.10 install 不同的版本安装方法略有不同,主要是因为Unity的出现导致xrdp不是很兼容。
其他
- 在开机时自动挂载硬盘分区,看这里。
- Install kernel headers 看这里。
- 将其他分区挂载到home目录上,看这里。
- 查看Linux文件夹、分区大小的相关命令du/df/fdsik/
- 转换文件编码 iconv -f gb2312 -t utf8 filename
- How to Easily Setup a Dictionary in Ubuntu Linux?
- 安装多个ISO在一个USB盘中
- Multiboot_USB_drive
- Installation/FromLinux