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