技術書典14で「Ultimate Hacking Keyboard 60入門」を頒布します

5/20(土)から開催される技術書典14のオンラインマーケットにて「Ultimate Hacking Keyboard 60入門」という薄い本を頒布します。

オフラインでの参加は見送ったため、オンラインマーケットのみの出展となっています。

techbookfest.org

Ultimate Hacking Keyboard 60(以降UHKと表記)のv2の概要からマクロの紹介まで薄く広くまとめた一冊となっています。 実際にUHKを使ってみた所感をおりまぜつつ、カスタマイズ例やらを紹介しています。

キーボードを愛してやまない人や、現在トラックポイントを愛用している人あたりに刺さるといいなと思って執筆しました。

分割キーボードに興味のある人にとっては、UHKの特性を知るきっかけになることでしょう。 トラックポイント好きな人はもしかしたら将来的な乗り換え候補に入れるきっかけになるかもしれません。

どんな内容かというと次のとおりです。

  • 第1章 UHKの概要
  • 第2章 UHKのセットアップ
  • 第3章 UHKのブリッジケーブルを交換する
  • 第4章 UHKのエージェントを使いこなす
  • 第5章 UHKのカスタマイズ設定集
  • 第6章 UHKのキーキャップを交換する
  • 第7章 UHKのファームウェアを変更する
  • 第8章 UHKのマクロ入門

マクロのところはもっと書き足したいところではあったのですが、冊子でも出したい!という意向もあり、 かけられる時間と紙面の都合でさわりのところでまとめました。

公式サイトをみただけではわからないハマりどころなんかも書いたので、 そのあたりは薄い本にした意義があるのではないかなと思っています。

(あとから印刷を利用するつもりなので、小部数でも爆死しにくいのですが、どうしても高コストにならざるを得ないので頒布設定って悩ましい。。。)

この記事は、Ultimate Hacking Keyboard 60で書きました。

My Free Software Activities in March 2023

3月は比較的活動はおとなしめ。 Ultimate Hacking Keyboardが届いてThinkPad USBトラックポイントキーボードから乗り換えたので それに慣れるのが大変だったな。bookworm向けのバグ修正の検証とかをしたのもあった。

この記事はUltimate Hacking Keyboard 60 v2で書きました。

My New Gear...UHK

Recently, I'm coming to feel the burden on my shoulder, it makes me so annoyed.

As of that, I've considered replacing the hardware (keyboard).

I've searched for a new gear candidate to resolve the above issue with the following conditions:

  • MUST: Needs trackpoint (because I'm using ThinkPad Keyboard with TrackPoint so long, I'm afraid to work without it)
  • MUST: Separate keyboard (split keyboard) to be ergonomic to reduce the burden on my shoulder.
  • SHOULD: Upstream publishes products in a form of source code (I prefer more "free" products)

As a result, Ultimate Hacking Keyboard [1] seems that it is the best solution for me because UHK implements trackpoint, split keyboard feature, and upstream publishes firmware as MIT-like license. [2]

It seems the best solution but it costs me more budget unexpectedly (weaker YEN contrast to USD makes it a worse situation). so I've asked about reimbursement [3] for Debian project.

Fortunately, reimbursement request is approved and processed by SPI [4], even though there is a troublesome with the paperwork (it's my fault) [5], I could get a new gear - Ultimate Hacking Keyboard. (Note that reimbursement does not cover all of costs - import tax fee, and so on, but it helps a lot)

As I mentioned above, I used ThinkPad keyboard with TrackPoint so long, I'm noticed that I was used to be optimized to that keyboard.

Here is the first impression:

  • Even though the silent red switch, it may be a bit noisy, but it is acceptable.
  • TrackPoint module may not be so useful as I expected, it may be better to use mod layer or mini trackball with key cluster module. This is because it is not an appropriate position for me that trackpoint module must be attached to left on N, Space key. (left to H key is better position for me)
  • Remapping configuration tool is awesome. but need to try to find my "best" assignment furthermore.
  • It is hard to replace keycaps because of a special keycap width (bit shorter keycap design exists)
  • It takes about a few weeks to get used to new gear.
  • The curled code is a bit shorter than I expected, so it should be replaced with a longer one.

Anyway, UHK is an awesome product and it is worth to recommend you.

My Free Software Activities in Feb 2023

2月はパッケージのメンテナンスやDebianのウェブサイトで翻訳が古すぎて原文参照してください状態だったのを すこしでも解消するためにウェブサイトの翻訳を頑張った。

Porterboxes and alternatives

As you know, Debian projects and sponsor provides so-called "porterbox", but it does not cover all architectures.

There are some alternatives to fix architecture-specific bugs. For the record, let's pick it up them. [1][2][3]

porterbox deb-o-matic qemu
amd64 adayevskaya.d.o debomatic-amd64.d.n DQIB ready
arm64 amdahl.d.o debomatic-arm64.d.n DQIB ready
armel amdahl.d.o abel.d.o debomatic-armel.d.n NG
armhf amdahl.d.o abel.d.o harris.d.o debomatic-armhf.d.n DQIB ready
i386 exodar.d.n debomatic-i386.d.n DQIB ready
mips64el eller.d.o debomatic-mips64el.d.n DQIB ready
mipsel eller.d.o debomatic-mipsel.d.n DQIB ready
ppc64el platti.d.o debomatic-ppc64el.d.n DQIB ready
s390x zelenka.d.o debomatic-s390x.d.n DQIB ready
alpha N/A N/A NG
arc N/A N/A N/A
hppa panama.d.n N/A N/A
ia64 yttrium.d.n N/A N/A
kfreebsd-amd64 lemon.d.n N/A N/A
kfreebsd-i386 lemon.d.n N/A N/A
m68k mitchy.d.n N/A NG
powerpc perotto.d.n debomatic-powerpc.d.n DQIB ready
ppc64 perotto.d.n N/A DQIB ready
riscv64 debian-riscv64-porterbox-01.d.n N/A DQIB ready
sh4 N/A N/A NG
sparc64 kyoto.d.n N/A N/A
x32 N/A N/A N/A

Thus, no alternatives for alpha, arc, sh4 and x32.

bibata cursor theme is available on Debian (unstable)

Recently bibata cursor theme is available on Debian (unstable)

github.com

You can install via sudo apt install -y bibata-cursor-theme.

After you installed its theme, you can configure the cursor theme via desktop configuration. (budgie desktop screenshot)

Set bibata-cursor-theme

In bibata-cursor-theme, you can choose the following cursor themes:

  • Bibata Original Amber: Yellowish and sharp edge bibata cursors.
  • Bibata Modern Amber: Yellowish and rounded edge bibata cursors.
  • Bibata Original Classic: Black and sharp edge bibata cursors.
  • Bibata Modern Classic: Black and rounded edge bibata cursors.
  • Bibata Original Ice: White and sharp edge bibata cursors.
  • Bibata Modern Ice: White and rounded edge bibata cursors.

Rebuild mozc with Mozc UT Dictionary

When rebuilding mozc with Mozc UT Dictionary, it may be better to build in docker container because you don't want install unused IM development packages.

In beforehand, download latest Mozc UT dictionary here.

osdn.net

In a debian/sid container, you need to do it:

# apt install -y devscripts
# (enable deb-src, modify /etc/apt/sources.list.d/debian.sources)
# apt source mozc
# cat mozcdic-ut-20221230/mozcdic-ut-20221230.txt >> mozc-2.28.4715.102+dfsg/src/data/dictionary_oss/dictionary00.txt 
# cd mozc-2.28.4715.102+dfsg/
# (edit debian/changelog such as 2.28.4715.102+dfsg-2.2.1 )
# debuild -us -uc -nc

After that, you can install

% sudo apt install ./emacs-mozc_2.28.4715.102+dfsg-2.2.1_amd64.deb ./emacs-mozc-bin_2.28.4715.102+dfsg-2.2.1_amd64.deb ./fcitx-mozc-data_2.28.4715.102+dfsg-2.2.1_all.deb ./fcitx5-mozc_2.28.4715.102+dfsg-2.2.1_amd64.deb ./ibus-mozc_2.28.4715.102+dfsg-2.2.1_amd64.deb ./mozc-data_2.28.4715.102+dfsg-2.2.1_all.deb ./mozc-server_2.28.4715.102+dfsg-2.2.1_amd64.deb ./mozc-utils-gui_2.28.4715.102+dfsg-2.2.1_amd64.deb

Then, you can use own build binaries.

% dpkg -l |\grep mozc
ii  emacs-mozc                               2.28.4715.102+dfsg-2.2.1               amd64        Mozc for Emacs
ii  emacs-mozc-bin                           2.28.4715.102+dfsg-2.2.1               amd64        Helper module for emacs-mozc
ii  fcitx-mozc-data                          2.28.4715.102+dfsg-2.2.1               all          Mozc input method - data files for fcitx
ii  fcitx5-mozc:amd64                        2.28.4715.102+dfsg-2.2.1               amd64        Mozc engine for fcitx5 - Client of the Mozc input method
ii  ibus-mozc                                2.28.4715.102+dfsg-2.2.1               amd64        Mozc engine for IBus - Client of the Mozc input method
ii  mozc-data                                2.28.4715.102+dfsg-2.2.1               all          Mozc input method - data files
ii  mozc-server                              2.28.4715.102+dfsg-2.2.1               amd64        Server of the Mozc input method
ii  mozc-utils-gui                           2.28.4715.102+dfsg-2.2.1               amd64        GUI utilities of the Mozc input method