VSCode で日本語が入力できなくなったときの対処法
動作環境
Linux
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
CPU
アーキテクチャ:                        x86_64
  CPU 操作モード:                      32-bit, 64-bit
  Address sizes:                       48 bits physical, 48 bits virtual
  バイト順序:                          Little Endian
CPU:                                   16
  オンラインになっている CPU のリスト: 0-15
ベンダー ID:                           AuthenticAMD
  モデル名:                            AMD Ryzen 7 5825U with Radeon Graphics
    CPU ファミリー:                    25
    モデル:                            80
    コアあたりのスレッド数:            2
    ソケットあたりのコア数:            8
    ソケット数:                        1
    ステッピング:                      0
    Frequency boost:                   使用する
    CPU(s) scaling MHz:                44%
    CPU 最大 MHz:                      4546.8750
    CPU 最小 MHz:                      1600.0000
    BogoMIPS:                          3992.71
    フラグ:                            fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht 
                                       syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid
                                        aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c r
                                       drand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit w
                                       dt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba 
                                       ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushop
                                       t clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero
                                        irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbya
                                       sid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes v
                                       pclmulqdq rdpid overflow_recov succor smca fsrm
Virtualization features:               
  仮想化:                              AMD-V
Caches (sum of all):                   
  L1d:                                 256 KiB (8 instances)
  L1i:                                 256 KiB (8 instances)
  L2:                                  4 MiB (8 instances)
  L3:                                  16 MiB (1 instance)
NUMA:                                  
  NUMA ノード数:                       1
  NUMA ノード 0 CPU:                   0-15
Vulnerabilities:                       
  Gather data sampling:                Not affected
  Indirect target selection:           Not affected
  Itlb multihit:                       Not affected
  L1tf:                                Not affected
  Mds:                                 Not affected
  Meltdown:                            Not affected
  Mmio stale data:                     Not affected
  Reg file data sampling:              Not affected
  Retbleed:                            Not affected
  Spec rstack overflow:                Mitigation; safe RET
  Spec store bypass:                   Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:                          Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:                          Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affe
                                       cted; BHI Not affected
  Srbds:                               Not affected
  Tsa:                                 Vulnerable: Clear CPU buffers attempted, no microcode
  Tsx async abort:                     Not affected
Ddesktop
$ LANG= apt policy cinnamon
cinnamon:
  Installed: 5.6.8-1
  Candidate: 5.6.8-1
Input method
$ LANG= apt policy ibus-mozc
ibus-mozc:
  Installed: 2.28.4715.102+dfsg-2.2+deb12u1
  Candidate: 2.28.4715.102+dfsg-2.2+deb12u1
安定バージョンを指定してインストール
コマンド
sudo apt install code=1.102.3-1753759567 -y --allow-downgrades --allow-change-held-packages