Pop!_OS 22.04 set up

Setting up Pop!_OS 22.04
Posting in English because I have not successfully configured Japanese inputs :(
Overall direction: the customization should be kept light and things should "just work" out of the box.

Installation
It's super simple. First boot presents an installation wizard, and following it gave me a clean Pop!_OS environment. Great!

Cursor and Lean
Installed the AppImage at https://www.cursor.com/ja. The app image is put under ~/appimages
. Since the cursor
command doesn't work, I added the following function to ~/.bashrc
.
# User edited sections
cursor() {
/home/pandaman/appimages/Cursor-0.49.6-x86_64.AppImage "$@" &> "$(mktemp /tmp/cursor.XXXXX)" &
}
In Cursor, I installed the Lean extension, elan
was installed via the Lean extension.
Terminal font
The terminal looks ugly even though I updated editor.fontFamily
to 'Noto Sans Mono CJK JP', 'Droid Sans Mono', 'monospace', monospace
. The font seems to be correctly applied, but the texts feel... too packed in the X axis.

Display Scaling
I bought Pangolin, which comes with a 2560×1600 display, and the UI elements and texts are too small by default.
I could set up display scaling, but 2x sclaing was too much. There is an option to enable fractal scaling, but I'm not sure how it's supported in Linux/X... At the moment, I resorted to defaulting Firefox to 133% scaling, and adjusting the font sizes in different applications.
To update the font sizes of the Gnome UIs, I installed gnome-tweaks
, and updated the default fonts in the "Fonts" tab.

Japanese inputs
I use HHKB Type-S with Japanese key layout. I found it very intuitive to use "Eisuu" and "Kana" to set the input language (with Mac mode on via the physical switch), and I wanted to replicate the experience in Pangolin.
In "Language Support" (Gengo Support), Pop!_OS suggested installing ibus and ibus-mozc. Following the "just work" philosophy, I opted to install it. While I could turn Japanese inputs on/off through the UI after configuring Japanese (Mozc)
as the input source, I couldn't make the "Eisuu" and "Kana" keys switch the input language in Mozc. I tried to set it as the keyboard shortcut in the Mozc property window, but it just didn't recognize the two keys.
According to xev
, "Eisuu" and "Kana" are recognized as keycode 131 (keysym 0xff34, Hangul_Hanja)
and keycode 130 (keysym 0xff31, Hangul)
, respectively.

Apparently, Mozc introduced the support for "Eisuu" and "Kana" (named as "Hangul_Hanja" and "Hangul") in 2.28.4880.102. However, Pop!_OS 22.04 uses Mozc-2.26.4220.102+24.8.oss
. So there are two options:
- Update Mozc to the latest version
- Map the two keys manually to the supported keys like "Hankaku" and "Zenkaku". Some articles suggest this option.

Looks like Jammy-updates
has only 2.28.4715.102
: https://packages.ubuntu.com/jammy-backports/ibus-mozc, and we need to wait until Pluky (25.04) until we get the Mozc version with the "Hangul" keys support.
Now I feel the downside of the choice of the distribution. Distributions like Arch and NixOS would allow us to install a more recent version easily.