- 論壇徽章:
- 13
|
本帖最后由 ulovko 于 2013-04-06 11:14 編輯
官方簡體中文安裝手冊(cè):http://www.freebsd.org/doc/zh_CN/books/handbook/
官方en_US安裝手冊(cè):http://www.freebsd.org/doc/en_US ... handbook/index.html
官方簡體中文安裝手冊(cè) 下載: ftp://ftp.freebsd.org/pub/FreeBSD/doc/zh_CN/books/handbook/
FROM: http://blog.chinaunix.net/uid-25256412-id-2939430.html
1: 使用 USB 安裝 FreeBSD(設(shè)備編號(hào)自行修改)- # dd if=9.1-RELEASE-amd64-memstick.img of=/dev/da1 bs=10240 conv=sync
復(fù)制代碼 Tips: Windows環(huán)境下如何將 *.img 寫入U(xiǎn)SB ?
Image Writer for Windows: https://launchpad.net/win32-image-writer/+download
product-logo.png (3.49 KB, 下載次數(shù): 183)
下載附件
2012-08-03 19:44 上傳
:
win32diskimager-binary.zip
(5.4 MB, 下載次數(shù): 6987)
2012-08-03 19:46 上傳
點(diǎn)擊文件名下載附件
安裝過程中會(huì)詢問關(guān)于網(wǎng)絡(luò)配置,會(huì)許有的人配置不正確導(dǎo)致無法連接internet!
給出兄弟我的配置:
- > more /etc/rc.conf
- hostname="ko.kotzu.org"
- defaultrouter="192.168.1.1"
- ifconfig_alc0="inet 192.168.1.5 netmask 255.255.255.0"
- ifconfig_alc0_ipv6="inet6 accept_rtadv"
- # Wireless
- #wlans_ath0="wlan0"
- #ifconfig_wlan0="WPA DHCP"
- #ifconfig_wlan0="WPA inet 192.168.1.5 netmask 255.255.255.0"
- #ifconfig_wlan0_ipv6="inet6 accept_rtadv"
復(fù)制代碼 還有一點(diǎn)關(guān)于WIFI !
著個(gè)其實(shí)不用寫什么了!
官方文檔有簡體中文,寫的非常詳細(xì)!
下載頁面:ftp://ftp.freebsd.org/pub/FreeBS ... 312/books/handbook/
在線觀看:http://docs.freebsd.org/doc/9.0- ... twork-wireless.html
安裝source 和 ports
等待重啟完成 ...- # vi /boot/loader.conf
- loader_logo="beastie" (boot menu logo)
- autoboot_delay="3" (boot delay)
- :wq
- # vi /etc/rc.conf
- blanktime="600"
- saver="daemon"
- hald_enable="YES"
- dbus_enable="YES"
- powerd_enable="YES"
- powerd_flags="-a adaptive -b adaptive -n adaptive" # 保持溫度不會(huì)過高就是了
- :wq
- # kldload coretemp
- # sysctl -a | grep temper
- hw.acpi.thermal.tz0.temperature: 60.0C
- dev.cpu.0.temperature: 59.0C
- dev.cpu.1.temperature: 59.0C
- dev.cpu.2.temperature: 59.0C
- dev.cpu.3.temperature: 59.0C
- dev.cpu.4.temperature: 61.0C
- dev.cpu.5.temperature: 62.0C
- dev.cpu.6.temperature: 59.0C
- dev.cpu.7.temperature: 59.0C
復(fù)制代碼 檢查一下硬件信息- # dmesg | grep attached (列出沒有被驅(qū)動(dòng)的硬件)
- # pciconf -lv (更加詳細(xì)) /var/run/dmesg.boot (see also)
- (找到聲卡 和 顯卡加載相應(yīng)驅(qū)動(dòng))
- # dmidecode (DMI table decoder)
復(fù)制代碼 聲卡 驅(qū)動(dòng)- # kldload snd_driver (加載所有聲卡驅(qū)動(dòng)自動(dòng)匹配)
- # cat /dev/sndstat (查看聲卡驅(qū)動(dòng)信息)
- # dmesg | grep hdac
- # cat filename > /dev/dsp (測試聲卡,filename為任意文件產(chǎn)生噪音說明正常工作)
- # vi /boot/device.hints
- hint.pcm.0.vol="50" (pcm Module加載時(shí),音量默認(rèn)為50)
- :wq
- # Microphone (話筒)
- # mixer
- # sysctl dev.pcm.0.play.vchans=4
- # sysctl dev.pcm.0.rec.vchans=4 ( 虛擬聲道(Virtual Sound Channels)4個(gè)音源能夠同時(shí)播放)
- # sysctl hw.snd.maxautovchans=4
- # less /boot/defaults/loader.conf
- /snd (找到所有聲卡驅(qū)動(dòng)支持項(xiàng))
- # pciconf -lv | egrep -i -A3 -B5 'audio|multimedia' (查看device 類型)
- # vi /boot/loader.conf
- snd_hda_load="YES" (啟動(dòng)時(shí)加載 聲卡驅(qū)動(dòng)/添加自己的聲卡驅(qū)動(dòng))
- :wq
復(fù)制代碼 2: 時(shí)間校準(zhǔn) (很重要)- # tzsetup (時(shí)區(qū)設(shè)置 CST)
- # ntpdate cn.pool.ntp.org (校準(zhǔn))
- # vi /etc/rc.conf
- ntpd_enable="YES" (配置開機(jī)啟動(dòng) ntpd)
- ntpd_sync_on_start="YES"
- :wq
- # /etc/rc.d/ntpd start
- # vi /etc/ntp.conf
- server 1.cn.pool.ntp.org
- server 1.asia.pool.ntp.org
- server 2.asia.pool.ntp.org (配置time server)
- :wq
- # /etc/rc.d/ntpd restart
復(fù)制代碼 3:更新 source 和 doc- # cp /usr/share/examples/cvsup/standard-supfile /etc
- # cd /etc/; vi standard-supfile
- *default host=cvsup.tw.freebsd.org (修改此項(xiàng))
- *default base=/var/db
- *default prefix=/usr
- *default release=cvs tag=RELENG_9_0
- *default delete use-rel-suffix
- *default compress
- src-all
- doc-all tag=. (添加此項(xiàng))
- :wq
- # csup /etc/standard-supfile
復(fù)制代碼 4:ports 和 package 文件下載地址設(shè)置
- # vi /etc/make.conf (詳情:man make.conf)
- MASTER_SITE_BACKUP?= \
- ftp://ftp.hk.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
- ftp://ftp.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
- ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ (注意這里沒換行了)
- MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
- CPUTYPE?=core2 (根據(jù)情況調(diào)整,起到優(yōu)化作用:me -> i7)
- # sysctl hw.model (more /usr/share/example/etc/make.conf)
- INSTALL=install -C (比對(duì)已安裝文件與最新文件 版本號(hào),低于新版本才安裝)
- :wq
- 查看CPU支持指令集合:
- # grep -i features /var/run/dmesg.boot
- Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
- Features2=0x98e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT>
- AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
- AMD Features2=0x1<LAHF>
- 查看當(dāng)前操作系統(tǒng)開啟的指令集合:
- # cd /usr/share/mk
- # make -V CPUTYPE
- core2
- # make -V MACHINE_CPU
- ssse3 sse3 amd64 sse2 sse mmx
- tcsh/csh:
- # vi ~/.cshrc
- setenv PACKAGEROOT ftp://ftp.tw.freebsd.org
- setenv PKG_TMPDIR /var/garbage (package安裝后來這里看看:/var/db/pkg)
- :wq
- # exit (注銷生效)
- sh/bash:
- $ vi ~/.profile
- export PACKAGEROOT=ftp://ftp.tw.freebsd.org
- export PKG_TMPDIR=/var/garbage
- :wq
- # exit (注銷生效)
- #
- # pkg_add -r vim (使用遠(yuǎn)程服務(wù)器安裝)
- # pkg_version -v (list outdated ports that have a newer version available in the Ports)
- # pkg_version -v |grep vim (首先查出版本號(hào))
- # pkg_delete vim-7.3.81
- 或者:
- # pkg_delete /var/db/pkg/vim-7.3.81
- # pkg_delete xchat\* (使用通配符)
- # pkg_info |grep -i vim (首先查出版本號(hào))
- # pkg_info -L vim-7.3.81 |less (顯示這個(gè)軟件包安裝的所有文件)
- # pkg_info vim-7.3.81
-
復(fù)制代碼 5: 更新 ports ( portmaster)- # portsnap fetch extract (首次更新port使用此命令)
- # portsnap fetch update (日后更新port使用此命令)
- vi /etc/crontab
- 0 5 * * * root /usr/sbin/portsnap cron update (自動(dòng)更新port)
- :wq
復(fù)制代碼 安裝 portmaster 用于更新 軟件包:
- # cd /usr/ports/ports-mgmt/portmaster && make install clean
- ----------------------------------------------------------------------
- # ls /usr/local/etc/portmaster.rc.sample
- # vim /usr/local/etc/portmaster.rc
- # Do not create temporary backup packages before pkg_delete (-B)
- NO_BACKUP=Bopt
- # Always delete stale distfiles without prompting (-d)
- ALWAYS_SCRUB_DISTFILES=dopt
- # Do not run 'make config' for ports that need updating (-G)
- PM_NO_MAKE_CONFIG=Gopt
- # Be verbose (-v)
- PM_VERBOSE=vopt
- # Save copies of old shared libraries (recommended) (-w)
- SAVE_SHARED=wopt
- :wq
- ----------------------------------------------------------------------
- # /usr/local/sbin/portmaster -L > portmaster.out (列出可更新的軟件)
- ===>>> linux_base-fc-4_8
- ===>>> New version available: linux_base-fc-4_9
- # /usr/local/sbin/portmaster linux_base-fc-4_8 (更新 某軟件)
- # /usr/local/sbin/portmaster -e openoffice.org-2.2.0 (卸載某軟件與其依賴)
- #
- # portmaster -a (升級(jí)所有已安裝的 ports)
- # portmaster -af (always rebuild ports overrides -i)
- # portmaster -r
- [-R] -r name/glob of port directory in /var/db/pkg
- rebuild the specified port, and all ports that depend on it. The
- list of dependent ports is built according to origin (i.e.,
- category/portname) not by the version number of the installed port.
- So if you do portmaster -r fooport-1.23 and it is necessary to
- restart using -R but the newly installed port is now fooport-1.24 you
- can do portmaster -R -r fooport-1.24 and it should pick up where you
- left off. The -r option can be specified more than once.
- # cd /usr/ports/sysutils/bsdadminscripts/ && make install clean
- > pkg_libchk (檢查缺失的動(dòng)態(tài)庫,找出有問題的 ports)
- Thunar-1.3.0: /usr/local/lib/thunarx-2/thunar-sbr.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/thunarx-2/thunar-sbr.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/thunarx-2/thunar-uca.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/thunarx-2/thunar-uca.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/thunarx-2/thunar-uca.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/thunarx-2/thunar-uca.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/thunarx-2/thunar-wallpaper-plugin.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/thunarx-2/thunar-wallpaper-plugin.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/thunarx-2/thunar-wallpaper-plugin.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/xfce4/panel/plugins/libthunar-tpa.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/xfce4/panel/plugins/libthunar-tpa.so misses libpng.so.6
- Thunar-1.3.0: /usr/local/lib/xfce4/panel/plugins/libthunar-tpa.so misses libpng.so.6
- ...
- ...
- 另一種更新 軟件包 的方法:
- # make deinstall && make install clean (前提是你的ports 已經(jīng)更新!)
- 下面方法多用于 測試不同版本軟件:
- # make install (注意沒有:clean ,保留下載的源碼!)
- # make deinstall && make reinstall (前提是下載的源碼沒有被清理!)
- # make PREFIX=/usr/pkg install clean (Changing the Install Path)
- Cleaning Up Ports:
- # make install clean (clean a port immediately upon install)
- You might also want to remove the original distfiles, stored in /usr/ports/distfiles.
- # make distclean (removes the distfiles for the current port and all dependencies)
- OR:
- # portmaster --clean-distfiles
- To clean the entire ports tree:
- # make clean -DNOCLEANDEPENDS ( run directly under /usr/ports)
- Building Packages:
- # make package
- This installs the program on the local machine and creates a package in the port’s directory.
- Simply copy this package to other systems and run pkg_add(1) to install it.
- If you create the directory /usr/ports/packages, the Ports Collection will
- create a packages tree in that location. Instead of placing the new package
- in the port’s directory, the port will place the package in the appropriate
- category under /usr/ports/packages.
- --------------------------------------------------------------------------------
- LOCAL PACKAGE REPOSITORIES
- Remember the PACKAGESITE environment variable? Set that to a path on your local
- anonymous FTP server (Chapter 17) or an NFS share (Chapter 8) and put your custom
- packages there. You can then use pkg_add -r on your other machines, and they will
- automatically grab packages from your local repository.
復(fù)制代碼 6:Binary Updates ( only provides patches to the GENERIC kernel)
- # freebsd-update fetch (download the latest updates to your errata branch)
- ( files stored in /var/db/freebsd-update)
- # freebsd-update install (install the downloaded files)
- #
- # vi /etc/crontab
- 0 5 * * * root /usr/sbin/freebsd-update cron (自動(dòng)更新至 errata-branch)
- :wq
- Reboot your system ..
復(fù)制代碼 7:安裝 Vim- # cd /usr/ports/editors/vim/
- # make WITHOUT_X11=yes install clean
- # exit (注銷)
- # vim ~/.vimrc
- set nomodeline (這個(gè)一定要寫,目前有這個(gè)安裝漏洞)
- set nocp
- set hls is
- set ic
- set cindent
- set autoindent
- set backspace=2
- set nobackup
- set noswapfile
- set shiftwidth=2 ( 縮進(jìn)為2個(gè)空格)
- set tabstop=2 (TAB 為2個(gè)空格)
- set softtabstop=2 (軟制表符 為2個(gè)空格)
- set expandtab (縮進(jìn) 和 制表符用空格代替)
- set ruler
- set mouse=v
- syntax on
- "set bg=dark (更改背景色調(diào)/默認(rèn)為light, " 為注釋!)
- :wq (詳情:vimtutor)
- # vim ~/.cshrc
- setenv EDITOR vim
- :wq
復(fù)制代碼 8:使用本地化語言- 方法一:Class Definitions
- # vim /etc/login.conf
- chinese:Chinese Users Account:\
- :charset=UTF-8:\
- :lang=zh_CN.UTF-8:\
- :tc=default:
- :wq
- # cap_mkdb /etc/login.conf (rebuilds the database file /etc/login.conf.db)
- pw usermod jacky -L chinese (修改 jacky 的 語言環(huán)境)
- pw useradd jacky -L chinese (添加 jacky 并使用中文)
- # pw usershow jacky
- jacky:*:1001:1001:chinese:0:0:jacky:/home/jacky:/bin/tcsh
- # su - jacky
- > locale
- LANG=zh_CN.UTF-8
- LC_CTYPE="zh_CN.UTF-8"
- LC_COLLATE="zh_CN.UTF-8"
- LC_TIME="zh_CN.UTF-8"
- LC_NUMERIC="zh_CN.UTF-8"
- LC_MONETARY="zh_CN.UTF-8"
- LC_MESSAGES="zh_CN.UTF-8"
- LC_ALL=
- 方法二:User Definitions
- # vim ~/.login_conf
- me:\
- :lang=zh_CN.UTF-8:\
- :setenv=LC_CTYPE=zh_CN.UTF-8:\ (字符類型)
- :setenv=LC_COLLATE=zh_CN.UTF-8:\ (字符對(duì)比規(guī)則)
- :setenv=LC_TIME=zh_CN.UTF-8:\ (時(shí)間類型)
- :setenv=LC_NUMERIC=zh_CN.UTF-8:\ (數(shù)字類型)
- :setenv=LC_MONETARY=zh_CN.UTF-8:\ (貨幣類型)
- :setenv=LC_MESSAGES=zh_CN.UTF-8:\ (消息/提示類型)
- :setenv=LC_ALL=zh_CN.UTF-8:\
- :charset=UTF-8:
- :wq
- PS: 自定義 prompt 和 alias
- 方法一:全局設(shè)置
- vim /etc/csh.cshrc
- set prompt = "%B%n@%m [%/] $ " (詳情:man csh /%m)
- set autolist (TAB命令補(bǔ)全功能)
- 方法二:自定義設(shè)置
- vim ~/.cshrc
- set prompt = "%B%n@%m [%/] # " (注意空格)
- set autolist (TAB 命令補(bǔ)全功能)
- alias cl clear
- alias vi vim
- alias df df -h
-
- History: (默認(rèn)記錄文件:~/.history)
- # history -c (清理當(dāng)前歷史記錄)
- # history -S (保存當(dāng)前歷史記錄)
復(fù)制代碼 9: Axel / Aria2下載大文件利器 (MP3、影片、軟件等) wget- # cd /usr/ports/ftp/axel && make install clean
- # axel -a -n 3 ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.bz2 (詳情:man axel)
- # axel -S4 ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.bz2 (自動(dòng)尋找 4 個(gè)最快mirror進(jìn)行下載)
- 通常我用 wget 下網(wǎng)站 (找到資料就下吧!說不準(zhǔn)那天站點(diǎn)沒了,還是弄下來方便!)
- # wget -r -np -p -k --level=2 http://tldp.org/HOWTO/Linux+IPv6-HOWTO/ (wget默認(rèn)安裝)
- Aria2 :多鏈接下載,輕量,平均4-9MB內(nèi)存使用量,BitTorrent下載速度2.8MiB/s時(shí)CPU占用約6%
- # cd /usr/ports/www/aria2 && make install clean
- (詳情:man aria2c)
- # aria2c "http://example.org/mylinux.iso" (直接下載)
- # aria2c "http://host/file.zip" "ftp://host2/file.zip" (同時(shí)從 2 個(gè)不同源下載 某文件)
- # aria2c -x2 -k1M "http://host/file.zip" (-x2:一個(gè)server只建立 2 個(gè)連接 -k1M:man很詳細(xì))
- # aria2c -s4 http://host/file.zip (-s:總共啟用多少個(gè)連接)
- # aria2c http://example.org/mylinux.torrent (BT 下載)
- # aria2c 'magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C' (BT Magent URI)
- # aria2c http://example.org/mylinux.metalink (Metalink)
- # aria2c -i files.txt -j2 (Download URIs found in text file -j:同時(shí)進(jìn)行任務(wù)數(shù))
- Resuming Download:
- Usually, you can resume transfer by just issuing same command (aria2c URI)
- if the previous transfer is made by aria2.
- If the previous transfer is made by a browser or wget like sequential download manager,
- then use -c option to continue the transfer (aria2c -c URI)
- BitTorrent Download:
- # aria2c --follow-torrent=mem "http://host/file.torrent" (download files from remote BT file)
- # aria2c --max-upload-limit=40k file.torrent (download using a local torrent file)
- Using Proxy:
- For HTTP
- aria2c --http-proxy="http://proxy:8080" "http://host/file"
- aria2c --http-proxy="http://proxy:8080" \
- --no-proxy="localhost,127.0.0.1,192.168.0.0/16" "http://host/file"
- For FTP
- aria2c --ftp-proxy="http://proxy:8080" "ftp://host/file"
- Proxy with Authorization
- aria2c --http-proxy="http://username:password@proxy:8080" "http://host/file"
- aria2c --http-proxy="http://proxy:8080" \
- --http-proxy-user="username" --http-proxy-passwd="password" "http://host/file"
- -------------------------------------------------------------------------------------------------------
- 也可以應(yīng)用到ports下載中!(非必需,一般來說FreeBSD的 fetch夠用了)
- # vim /etc/make.conf
- FETCH_CMD=/usr/local/bin/axel -a -S4 (-a:顯示每個(gè)線程狀態(tài)信息 -n:連接數(shù))
- DISABLE_SIZE=yes (開啟 此功能!)
- :wq
- 穿越模式:
- FETCH_ENV=http_proxy=ur address
- FETCH_ENV=ftp_proxy=ur address
- 或者 使用其他工具: (proxychains / runsocks)
- FETCH_CMD=proxychains axel
- FETCH_CMD=runsocks axel
- PS:wget axel aria2 配置均一樣!
- FETCH_CMD=/usr/local/bin/wget -c -t 3 (-c:繼續(xù)以前的下載 -t:默認(rèn)tries =20)
- DISABLE_SIZE=yes (開啟 此功能!)
- FETCH_CMD=/usr/local/bin/aria2c -s 4 (-s:開啟4 個(gè)連接)
- DISABLE_SIZE=yes (開啟 此功能!)
- (在Aria2速度不行的時(shí)候,我發(fā)現(xiàn)Axel速度確實(shí)可以!正常情況匹敵!)
復(fù)制代碼 10:Scim-pinyin (fcitx-sunpinyin) (ibus-pinyin)輸入法- # cd /usr/ports/chinese/scim-pinyin && make install clean
- > vim ~/.cshrc
- # set scim as the XIM input server
- setenv XMODIFIERS @im=SCIM
- :wq
- # xfce環(huán)境下,支持中文默認(rèn)用英文情況下(Terminal內(nèi)右鍵 Input Methods -SCIM)
- # cd /usr/ports/chinese/fcitx-sunpinyin && make install clean
- > vim ~/.cshrc
- setenv XMODIFIERS @im=fcitx
- setenv GTK_IM_MODULE xim
- setenv QT_IM_MODULE xim
- :wq
- > vim ~/.xinitrc
- #!/bin/sh
- /usr/local/bin/fcitx & # 確保比xfce提前運(yùn)行!
- /usr/local/bin/startxfce4
- /usr/home/ko/start-compiz
- :wq
- # cd /usr/ports/chinese/ibus-pinyin && make install clean
- # more /usr/ports/textproc/ibus/pkg-message
- -------------------------------------------------------------------
- ibus installation finished. To use ibus, please do the following:
- If you are using bash, please add following lines to your $HOME/.bashrc:
- export XIM=ibus
- export GTK_IM_MODULE=ibus
- export QT_IM_MODULE=xim
- export XMODIFIERS=@im=ibus
- export XIM_PROGRAM="ibus-daemon"
- export XIM_ARGS="--daemonize --xim"
- If you are using tcsh, please add following lines to your $HOME/.cshrc:
- setenv XIM ibus
- setenv GTK_IM_MODULE ibus
- setenv QT_IM_MODULE xim
- setenv XMODIFIERS @im=ibus
- setenv XIM_PROGRAM ibus-daemon
- setenv XIM_ARGS "--daemonize --xim"
- If you are using KDE4, you may create a shell script in $HOME/.kde4/env,
- and add following lines:
- #!/bin/sh
- export XIM=ibus
- export GTK_IM_MODULE=ibus
- export QT_IM_MODULE=xim
- export XMODIFIERS=@im=ibus
- export XIM_PROGRAM="ibus-daemon"
- export XIM_ARGS="--daemonize --xim"
- Following input methods/engines are available in ports:
- chinese/ibus-chewing Chewing engine for IBus
- chinese/ibus-pinyin The PinYin input method
- japanese/ibus-anthy Anthy engine for IBus
- japanese/ibus-mozc Mozc engine for IBus
- japanese/ibus-skk SKK engine for IBus
- korean/ibus-hangul Hangul engine for IBus
- textproc/ibus-kmfl KMFL IMEngine for IBus framework
- textproc/ibus-m17n The m17n IMEngine for IBus framework
- textproc/ibus-table Table based IM framework for IBus
- and QT4 input method module, textproc/ibus-qt.
- If ibus cannot start or the panel does not appear, please ensure
- that you are using up-to-date python.
- There's a bug in python 2.5, which may prevent the panel from appearing.
- -------------------------------------------------------------------
- # vim ~/.xinitrc
- #!/bin/sh
- /usr/local/bin/ibus-daemon --xim -d # 確保比xfce提前運(yùn)行!
- /usr/local/bin/startxfce4
- :wq
- # vim ~/.cshrc
- setenv XIM ibus
- setenv GTK_IM_MODULE ibus
- setenv QT_IM_MODULE xim
- setenv XMODIFIERS @im=ibus
- setenv XIM_PROGRAM ibus-daemon
- setenv XIM_ARGS "--daemonize --xim"
- :wq
復(fù)制代碼 PS:
目前運(yùn)行fcitx總是時(shí)不時(shí)的無法使用,切換到scim或者ibus沒有任何問題!
這里所說不能使用是,無法進(jìn)行輸入操作! 悲劇。。O_o |
|