SDDM 設定「Numlock」

主題

Reference

Manpage

設定預設值

執行

sddm --example-config | grep -i '^Numlock=' -B 3 -A 1

顯示

# Initial NumLock state. Can be on, off or none.
# If property is set to none, numlock won't be changed
# NOTE: Currently ignored if autologin is enabled.
Numlock=none

設定片段

  • /etc/sddm.conf.d/kde_settings.conf

根據目前「Numlock」狀態

[General]
Numlock=none

將「Numlock」強制「開啟」

[General]
Numlock=on

將「Numlock」強制「關閉」

[General]
Numlock=off