Kubuntu 26.04 Setup Notes
Kubuntu 26.04 配置紀錄 (Kubuntu 26.04 Setup Notes)
本文將簡單記錄一些在 Kubuntu 26.04 上遇到的問題與解法。
藍牙鍵盤無法配對 (Bluetooth Keyboard Cannot Pair)
若系統無法成功配對藍牙鍵盤,通常是因為藍牙控制器的模式設定不正確。
Reference: Ubuntu 20.04 cannot pair Bluetooth Keyboard
解決步驟 (Solution Steps)
首先,檢查 /etc/bluetooth/main.conf 中的 ControllerMode 設定:
1 | # Search for the ControllerMode configuration |
請根據搜尋結果進行以下調整:
- 若值不是
dual:請將其修改為dual。 - 若值為
dual但行首有#:請刪除#以取消註解。
完成修改後,重啟藍牙服務或電腦,系統應能正常搜尋到鍵盤。
鍵盤 Fn 鍵功能異常 (Keyboard Fn Key Not Working Correctly)
若 Fn 鍵預設觸發的是媒體鍵(音量、亮度等)而非功能鍵(F1-F12),可透過調整核心模組參數來修正。
臨時測試 (Temporary Testing)
執行以下指令即時更改模式並測試結果:
1 | # Set fnmode: 0 = disabled, 1 = media keys (default), 2 = function keys (F1-F12) |
永久生效 (Make Changes Persistent)
確認測試成功後,建立設定檔以確保開機自動套用:
1 | # Create the configuration file for the hid_apple module |
Winboat 應用程式中文輸入異常 (Chinese Input Issue in Winboat)
Reference. https://github.com/TibixDev/winboat/issues/245#issuecomment-3861976728
Potential fix for KB Layout
(Version: v0.9.0)
This fix won’t work if you need multiple layouts to be available to you.
I managed to fix keyboard layout not changing by editing registry keys, but after testing a little more I’m not sure how this works because I reset the values back to what they were before my change then restarted the VM and the issue didn’t reappear, so there’s probably more to it than I’m realizing. Either way, these are the steps I took:
- In Windows settings, go to Time & Language > Typing > Advanced Keyboard Settings and set your keyboard layout there (you’ve probably already done this)
- Open the registry editor and go to
HKEY_CURRENT_USER\Keyboard Layout\Preload, then delete all entries except for the one labeled “1” - Go to
HKEY_USERS\.DEFAULT\Keyboard Layout\Preloadand change the value of entry 1 to be the same as the one for your current user (from the last step) - Stop and restart the Windows VM (you can do this in WinBoat > Home)
After those steps it started working for me. Again, I’m not sure how much of this is required for it to work or if this will even work for others. Hopefully this helps anyone else facing this same issue