2013年4月19日

ibus 的倉頡第三代輸入法有問題

我在更新許多有關於 *gtk* 的套件後,ibus 的倉頡第三代輸入法出現問題:
"的" 的倉頡碼應該是 hapi ,但無法輸入。總之,很怪就是了。

後來重裝 ibus 1.3.9 (ubuntu 10.04 Lucid 的 ibus 最高版本)

sudo add-apt-repository ppa:shawn-p-huang/ppa 
sudo apt-get update
sudo apt-get install ibus ibus-gtk ibus-qt4
 
再安裝其它輸法 (已安裝不用重安裝)
sudo apt-get install ibus-pinyin # or other engine(s) you want
im-switch -s ibus# logout and re-login
ibus-setup # add input methods you want
 
以前慣用的 ibus + 倉頡第三代輸入法仍有問題
改用 ibus 1.3.9 + 倉頡第五代輸入法後,比較 OK
也有動態選字功能。 
 
 

2013年4月18日

在 ubuntu 10.04 下的 gretl cvs

要在 ubuntu 10.04 下的 gretl cvs 變成可 commit 修改 .PO 檔,不能用 gretl 手冊中所寫的下這兩行指令

cvs -d:pserver:anonymous@gretl.cvs.sourceforge.net:/cvsroot/gretl login
(不必輸入,直接按空間棒)
cvs -z3 -d:pserver:anonymous@gretl.cvs.sourceforge.net:/cvsroot/gretl co -P gretl


我在 ubuntu 11.04 下實測 (參考:CVS#Read-Write access),先下指令

export CVS_RSH=ssh
cvs -z3 -d:ext:xxi-xxxx@xxx.cvs.sourceforge.net:/cvsroot/gretl checkout gretl

(輸入帳密就 OK 了)

./configure 後說少了 libcurl 和 gtksourceview2.0, 又裝了以下

sudo apt-get install libcurl4-openssl-dev libgtksourceview2.0-dev

再下指令
(如果已下載更新多次, 可能要再下指令
make clean)
./configure
make
sudo make install
sudo cp /usr/local/lib/libgretl* /usr/lib

這樣就 OK 了

搭配 Cervisa + POedit 就可以正常地更新新的 zh_TW.po 檔

2012年12月19日

iPod touch4 (iOS 4.3.1) 升級到 6.0.1 失敗後無法開機

這件事不屬於 ubuntu 的範圍,純粹是經驗分享。
我有一個 iPod 4, iOS 4.3.5 (8L1), 想升級到 iOS 5.1.1 (或如 iTune 所述,升級到 6.0.1)

1. 下載  iOS 6.0.1 ipsw 檔 或  iOS 5.1.1.ipsw (9B206)
(下載各種版本節 iOS,參見:Apple最新最全的官方iOS固件下载列表
2. 先在 iTune 中進行備份
3. 開啟 iTune, 先按 [shift] + [更新],然後選你下載的 iOS 6.01, 結果失敗 (錯誤代碼 1602)
4. 使用 DFU 模式重開, 再使用官方韌體進行回復

註: DFU:(1.按住電源鍵不放3秒鐘。 2.電源鍵不要放開,再按住Home鍵10秒鐘。 3.接下來放開電源鍵,持續按著Home鍵15秒,即可進入DFU模式。)

重新

5. 結果是,用 iOS 6.0.1 恢復失敗, 但用 iOS 5.1.1 恢復 (按 [shift] + [回復]),雖 iTune 告知失敗 (錯誤代碼: 3194),但 iPod 卻恢復成原來的 iOS 4.3.5...  (ipod 裡的資料皆還原了)

仍沒有找到真正原因,不過更版雖不成,至少可以回到原來的使用狀態...
iTune 的錯誤訊息代碼: 更新失敗別慌張,常見錯誤代碼解析 一文 (不過,好像沒有太大的幫助)

2012年12月12日

2012年10月16日

Dream Studio: 專為影音編輯所打造的 OS (ubuntu)



Dream Studio: 專為影音編輯所打造的 OS (ubuntu), 有空來試試, 其中包含套件:

Cinelerra  - a powerful non-linear video editor comparable to leading solutions like Apple's Final Cut Pro, Sony Vegas, or Adobe Premiere. Cinelerra contains more than 30 visual effects like motion tracking and chromakey, and supports both keyframing and nested sequences.
Ardour - a professional digital audio workstation designed to replace offerings such as Digidesign Pro Tools, Steinberg's Cubase/Nuendo, Apple's Logic, and Sonar. Ardour features unlimited tracks, unlimited undo, and routing to and from any sound source. Ardour comes with support for many different plugin formats, and Dream Studio's version comes with close to 200 plugins/effects including pitch correction, triggers, compression, eq, reverb, and more. Dream Studio also supports VST plugins.
Blender (with Oceansim patch) - a free 3D graphics application, similar to 3DS Max and Maya, that can be used for modeling, UV unwrapping, texturing, rigging, water and smoke simulations, skinning, animating, rendering, particle and other simulations, non-linear editing, compositing, and creating interactive 3D applications, including video games, animated film, or visual effects.
Inkscape - vector graphics editor, with capabilities similar to Illustrator, CorelDraw, or Xara X, using the W3C standard Scalable Vector Graphics (SVG) file format. Inkscape supports many advanced SVG features (markers, clones, alpha blending, etc.) and great care is taken in designing a streamlined interface. It is very easy to edit nodes, perform complex path operations, trace bitmaps and much more.
Scribus - professional page layout, akin to Quark Xpress, Adobe Indesign, or Microsoft Publisher, with a combination of "press-ready" output and new approaches to page layout. Underneath the modern and user friendly interface, Scribus supports professional publishing features, such as CMYK color, separations, Spot Colors, ICC color management and versatile PDF creation.
Darktable - a virtual lighttable and darkroom for photographers similar to Adobe Lighroom: it manages your digital negatives in a database and lets you view them through a zoomable lighttable. it also enables you to develop raw images and enhance them.
the Gnu Image Manipulation Program (GIMP) - a raster graphics editor with features similar to Adobe Photoshop and Paint Shop Pro. It is primarily employed as an image retouching and editing tool. In addition to free-form drawing, GIMP can accomplish essential image work-flow steps such as resizing, editing, and cropping photos, combining multiple images, and converting between different image formats. GIMP can also be used to create basic animated images in the gif format. At present, GIMP is usable for amateur or professional work with images intended for viewing on monitors and printing on ink-jet printers.
Kompozer - a complete web authoring system that combines web file management and easy-to-use WYSIWYG web page editing. KompoZer is designed to be extremely easy to use, making it ideal for non-technical computer users who want to create an attractive, professional-looking web site without needing to know HTML or web coding, and is a complete alternative to such commercial offerings as Adobe Dreamweaver and Apple iWeb.
Bombono - a DVD authoring program Brasero - a CD/DVD burning application






2012年10月13日

在 ubuntu 10.04 下更新安裝最新 Firefox 16 & flash player

沒想到這麼容易...

1. 到 Mozilla 正體中文站去下載最近 firefox (我下載的是 firefox 16), 它是一個 bz2 檔 (firefox-16.0.1.tar.bz2)。

2. 解壓縮至任何你想放的地方,例如 /home/你的名稱/firefox

3. 進入 /home/你的名稱/firefox 這個目錄後,找到 firefox, 雙擊即可開啟 (像是綠色軟體,不用安裝)

4. 若你本來有安裝 google toolbar, 則修改

/home/你的帳號名稱/firefox/XXXX.defaul/extensions/{3112ca9c-de6d-4884-a869-9855de68056c}

下的 install.rdf (用文字編輯器,例如 gedit 打開),找到

        4.0.*

這一行, 將 “4.0” 改成 16.0,關 firefox 再重啟即可

註: 我的 windows XP, intall.rdf 路徑是在:

C:\Documents and Settings\帳號名稱\Application Data\Mozilla\Firefox\Profiles\hnv1brrh.default\extensions\{3112ca9c-de6d-4884-a869-9855de68056c}

5. 不過,flash player 好像壞了, 網路上有介紹 (Ubuntu下为Firefox安装Adobe Flash Player) 如何安裝最近版 (Flash Player 11 for Linux Version 11.2.202.243) 我發現 (用猜的) 只要將下載的 install_flash_player_11_linux_x86_64.tar.gz 檔解壓縮後, 將 libflashplayer.so 檔, 複製到 /usr/lib/mozilla/plugins 中, flash player 即恢復正常 (youtube)。


2012年10月2日

ubuntu 中預裝的中文輸入法: iBus

ubuntu 中預裝的中文輸入法是 ibus, 其下可加裝我慣用的倉頡三代,ibus 的好處是

1. 預設按 SHIFT 即可中英輸入切換 (像微軟)
2. 在有重覆字時,會自動 "優先" 記住選用你上次選到的字 (有點像微軟的 "新倉頡"),比 SCIM 下的倉頡三代聰明些,... (雖然只是小小的奢求...)

所以我就一直沿用了 (我自已倒是未用過 GCIN, 不知有無聰明自動選字功能)。

在中文輸入狀態下,標點符號也是全形的,一般寫文章是OK, 但如果是寫程式時,全形的空白和逗號就會造成很大的困擾。

此時可按 CTRL+“.”,將標點符號切換成半形