39

I switched to Linux a during the year of the Linux desktop (tm) and it's been great but I have one small issue maybe someone knows how to fix.

I have tried 4 different distros so far (currently using bazzite and kachy on two different machines) and they all do this: every time the computer restarts, numlock turns off by default. I use keyboards with a numpad and the numpads do nothing it seems unless I hit numlock first. This is compared to every windows or apple machine used previously where numlock is pressed once after buying the computer then never needs to be again.

Is this the most minor inconvenience ever? Quite possibly. But I still find myself trying to enter numbers often and being frustrated I don't notice right away. Probably doesn't help I have a bunch of them in my unlock password after every restart.

Tl:dr; how to get numlock to activate on startup

top 15 comments
sorted by: hot top new old
[-] Asudox@lemmy.world 2 points 14 hours ago

Locking for rule 5.

[-] NoLemurs@lemmy.world 33 points 2 days ago

Most DEs have their own specific way to do this, so the exact solution will vary.

That said, if you're looking for a general solution, there's good odds your computer has a BIOS setting that can be used to set the initial numlock state, and that will work no matter what DE you use. If that's an option for you, that would be my first choice.

[-] NeatNit@discuss.tchncs.de 10 points 2 days ago

+1 for the BIOS setting. Very common.

[-] nitrolife@hikki.team 22 points 2 days ago

Try reading this: https://wiki.archlinux.org/title/Activating_numlock_on_bootup

Look at the relevant section depending on your desktop environment

[-] theherk@lemmy.world 13 points 2 days ago

Best documentation out there generally, no matter the distro.

[-] quediuspayu@lemmy.dbzer0.com 0 points 2 days ago

How do I find out what desktop environment?

[-] nitrolife@hikki.team 5 points 2 days ago* (last edited 2 days ago)

A simple way, you can take a look

echo "$XDG_CURRENT_DESKTOP"

in the terminal.

Let's do it faster, to check what is running inside the seat.

Here is a one-liner, just run it in your terminal:

desktop="${XDG_CURRENT_DESKTOP:-${XDG_SESSION_DESKTOP:-}}"; session_type="${XDG_SESSION_TYPE:-}"; info="" session=""; if command -v loginctl >/dev/null 2>&1; then session="${XDG_SESSION_ID:-self}"; info=$(loginctl show-session "$session" -p Desktop -p Type 2>/dev/null) || info=""; if [[ -z "$desktop" ]]; then desktop=$(sed -n 's/^Desktop=//p' <<< "$info"); fi; if [[ -z "$session_type" ]]; then session_type=$(sed -n 's/^Type=//p' <<< "$info"); fi; fi; printf 'DE=%s\n' "${desktop:-unknown}"; printf 'TYPE=%s\n' "${session_type:-unknown}"

It will show something like

DE=KDE
TYPE=wayland
[-] ReptilianCleric@lemmy.today 10 points 2 days ago

Settings> keyboard> num lock status

[-] Ephera@lemmy.ml 5 points 2 days ago* (last edited 2 days ago)

Yeah, Bazzite and CachyOS use the KDE Plasma desktop environment by default, so this should be the easiest way. Here's an explainer I found online:

https://itsfoss.com/newsletter/foss-weekly-26-05/#%F0%9F%92%A1-quick-handy-tip

[-] Desischnix@fedinsfw.app 7 points 2 days ago

Isn’t this a bios setting? I always did it that way, even on windows machines.

[-] basiclemmon98@lemmy.dbzer0.com 10 points 2 days ago
this post was submitted on 14 Nov 2026
39 points (97.6% liked)

Ask Lemmy

42410 readers
1503 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, toxicity and dog-whistling are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !uspolitics@lemmy.world


7) No Hit-and-Run questions.
Please don't delete your post for no apparent reason. If you plan on deleting a question later, say so in the post, or if you feel that you have a good reason to remove it, message a mod beforehand. It's not fair to the ones who took their time to answer, and it's not in the spirit of the community.


8) No Bots.
Posts or comments from bots, LLM's, AIs, Neural Networks, Transformers, or Marvin the Paranoid Android are not welcome in AskLemmy. Real humans only please.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 3 years ago
MODERATORS