2014年8月20日水曜日

ibus-1.5.5での日本語入力設定

FreeBSD固有なところがあるかもしれませんが、ibus-1.5.5+mozcでの日本語入力設定です。

ibus-1.5ぐらいから(詳細バージョンのいくつで大きな仕様変更があったか残念ながら調べていません)、
大きな仕様変更がありました。

できるだけWindowsと同じ設定方法のための設定情報を示します。

1. キーボードショートカット
次のインプットメソッドにKanjiを追加


2. 日本語-Japaneseと日本語-Mozcを登録
 3.グローバルインプットメソッドの設定 ->チェックを外す
これにより、mltermとFirefoxで別のibusの状態になる。


2014年7月19日土曜日

プレシジョンスポーツのドロップハンドル化(2014/8/17に写真追加,8/31ステム交換)



いろいろな人が書いていますが。改造を始める前に別途ロードバイクを買うか考えたほうが良いです。ほぼすべてを買い換えることになるので....(私の場合、残りはフレーム、フォークとクランクのみです。クランクもFDの変速がうまく調整できないので、買い換えそうです....)

  • STI SORA ST3503L SS1(EST3500TPACX) 3x9 14807円(税別 be.bike)
  • FD-3503-BS ROAD 9S (31.8mm W/28.6mmアダプター)ダウンスイング 2495円(税別 be.bike)
  • ハンドル BONTRAGER VRS 400mm 31.8mm(ステム交換前提) 4500円(税別 Y's road)
  • バーテープ KABUTO PRO-FIT 極厚手  1800円ぐらい(税別 Y's road)
  • アジャスタブルステム OS アヘッドR207316021X4,820円(税込み keiG BIKE SHOP) →交換末尾参照
  •  ブレーキ(BR-R463)x2set (自己責任で利用ください、また一つ下のレベルで BR-R353がありますが、ブレーキの構造がしっかりしているのでBR-R463をおすすめします)
  • CN-7700 9スピードHGスーパーナローチェーン用コネクティングピン [Y06998010]  (在庫がなくなったため)
  • SM-CB90クイックレジーズ式ケーブルアジャスタ (ケーブルアジャスタ付きのブレーキ用バナナが入手できなかったためこちらを利用, 税込み1450円ヨドバシカメラ)
 ※ リアディレイラーは、すでにTIAGRA 10s対応(RD-4601-SS)に交換済み。スプロケットも9s(SORA CS-HG50-9 12T-23T)に交換済みです。また、ホイールもSHIMANO WH-R500後継モデル(EWHR501PCBY)に替えています(ホイールのリアの幅を130mmから135mmに変更済みです)。

   下は改造後の写真、SM-CB90は未装着

https://twitter.com/yoshiro_mihira/status/495325767635460097/photo/1

SM-CB90をフロントブレーキに装着した写真(自己責任でご利用ください、これで輪行時などホイール取り外し時にタイヤから空気を抜かなくてもよくなりました :-)
リアのDEORAに比べてブレーキの微調整はやりやすいように思えます。製品の精度が高いためでしょうか?
リアはBR-R463の装着時に強くねじ込んだときにピンを折ってしまったため、古いDEORAのブレーキを使っています。これでも一応ブレーキは引けてます。SM-CB90はリアは未装着です。

[2014/8/31] ステム交換

シマノ アジャスタブルステム OS アヘッドR207316021Xですが。ハンドルに力をかけるとミシミシ音がする。ダンシングすると、硬性の低さが感じられました。原因はステムの硬性不足なのか、ハンドルとの相性なのかわかりませんが、最終的には、ハンドルと同じブランドの以下のステムを購入して解決しました。同じハンドルですが、みしりとも言いません(それが普通ですが...)。

ボントレガー ステム 90mm 3500円税別(BIKE PLUS多摩センター)


参考ページ
  • http://tatsup.cocolog-nifty.com/carshare_bike/rx3/
  • http://silverwing.xrea.jp/zitensya2_prespo/index.htm?06262316
  • http://silverwing.xrea.jp/zitensya2_prespo/087_st2403/index.htm
  • http://silverwing.xrea.jp/zitensya2_prespo/088_drophundle/index.htm

2014年2月11日火曜日

[Toshiba]電子ブックDB50の電源

iijmioのキャンペーンでもらった東芝のDB50ですが、スリープ後の復帰がおかしいです。
結局。左上の電源ボタン(Power)を3回押すと復帰することがわかりました。(私の機材だけかもしれませんが)..

1. 操作終了、POWERボタンでスリープへ
2. 再度使おうとPOWERボタン押す(画面反応せず)
3. 再度POWERボタンを押す(2回目)、一瞬画面復帰
4. 再々度POWERボタンを押す(3回目)、復帰

ちなみにSystemは
OS version:2.6.35.3
ビルド番号@ GRJ22.02.5.0058


2013年12月30日月曜日

[FreeBSD/wine] iTunes on FreeBSD/i368 and Wine(update 2015/4/18: about input keyboard)

I can use iTunes-7.3.2(not latest version) on FreeBSD/i386 and Wine

  • Environment
    • FreeBSD-11-current/i386(Dec/23/2013)
    • wine-1.6.1(from ports tree)
    • iTunes-7.3.2

  • Tested senario
    • Kanji code: OK(menu and MP3 meta data) with enviroment variable LANG.
      • cf. tcsh
        • setenv LANG ja_JP.UTF-8
    • play back MP3 file: OK
    • input keyboard
      • winecfg -> Graphics -> disable Allow the window manager to control the windows

2013年12月29日日曜日

[Raspberry Pi/OpenElec]How to create SD card on FreeBSD

I created latest OpenElec SD card on FreeBSD.

1.  create empty partition

 maybe we could create partition with gpart. But this time I use below empty partition image (easy operation).

related link
http://wiki.openelec.tv/index.php?title=Installing_OpenELEC_on_Raspberry_Pi#tab=Mac_OSX

1.1 download empty image

http://openelec.thestateofme.com/empty.img.zip

1.2 write empty image

dd if=empty.img of=/dev/da0 bs=10240 conv=sync

1.3 check partition table

fdisk /dev/da0

2. write system file

this step from below Windows steps
http://wiki.openelec.tv/index.php?title=Installing_OpenELEC_on_Raspberry_Pi#tab=Windows

2.1 mount msdos partition

mount -t msdosfs /dev/da0s1 /mnt

2.2 write files


cp target/KERNEL /mnt/kernel.img
cp target/SYSTEM /mnt/
cp 3rdparty/bootloader/*.* /mnt
cp openelec.ico /mnt
cp README.md /mnt

2.3 create cmdline.txt

vi /mnt/cmdline.txt

write below line
boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quite

----------------------------------------------------------------------
I installed OpenELEC 3.2.4 is faster than 2.99.4 and I could play back
MPEG4 H.264 Full HD movie files without problem(noise).

Thank you, OpenELEC Team.



[RaspberryPi] nice box/seed Skeleton Box for Raspberry Pi

I bought SEED STUDIO Skeleton box for Raspberry Pi.

http://www.seeedstudio.com/depot/skeleton-box-for-rasberry-pi-p-1547.html
http://www.seeedstudio.com/wiki/Skeleton_box_for_Rasberry_Pi

I bought from SeNGoKu-Denshi(In Japan/Japanese page, 1,300 Yen)
http://www.sengoku.co.jp/mod/sgk_cart/detail.php?code=EEHD-4CLB

This box is made by aluminum(side), strong than other plastic box.

Unfortunately, my Raspberry Pi is maybe first lot(256MB model). This Pi does not have mountaing holes. I mounted with rubber.

2013年12月28日土曜日

[FreeBSD/X/Radeon] could not suspend/resume on ThinkPadX31 with latest X

I updated X server system(xorg-server-1.7.7_11,1) on ThinkPad X31/FreeBSD-11-current(around 23/Dec/2013).

Latest X server requre drm2 kernel module, however drm2 kernel module(only radeon?) does not support suspend/resume(see below commit log).

http://svnweb.freebsd.org/base?view=revision&revision=255573

I could not suspend/resume on ThinkPadX31.


So I added below line to my /etc/make.conf
WITHOUT_NEW_XORG=