Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Debian 11 - KDE and NumLock

502 views
Skip to first unread message

Amn

unread,
Aug 26, 2022, 6:20:05 AM8/26/22
to
Hi there!!
Every time I restart my Acer Aspire E5-771G running Debian 11 I find
that NumLock is off, is there a way to set up Deb11 to automatically
turn on the NumLock?
Thanks.

Cindy Sue Causey

unread,
Aug 26, 2022, 10:40:05 AM8/26/22
to
Hi.. You didn't name which desktop environment you're using so I'm
sharing what I found in LXQt. For this one, I can go to:

* Applications dropdown menu
* Preferences
* LXQt Settings
* Keyboard and Mouse
* Keyboard (lefthand column in window that pops up)
* Checkbox that says "Turn on NumLock after login

The main desktop environments *try* to follow a similar pattern for
very basic User features like that. Hopefully you'll be able to find a
similar path to success in whatever setup you're using.

As an aside that I've only recently tripped over myself: Searching the
Internet for tips like this sometimes leads to a way to add a line to
"dot" rc files that reside in our User /home directories. When we do
that, that's a handy feature that would carry across if we bind that
same home directory to different versions of Linux. As an example, I
once added terminal color tweaks that carry across.

The downside would go back to that same thing. Maybe we don't want to
carry that tweak across the various Linux flavors we use. Sometimes
doing so causes irritating glitches. I've experienced it with favorite
background images being blocked, just as a very simple example.

Glitches happen to me solely within Debian if my home directory is
used across e.g. both Bullseye and Bookworm. It's no big thing. It's
just about them being ever progressively different, period. Yay,
Developers!

Cindy :)
--
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *

Andrew M.A. Cater

unread,
Aug 26, 2022, 11:00:05 AM8/26/22
to
You may find that there's a setting in the firmware/BIOS. You may also find
that KDE has the equivalent of a Settings program.

You may find it easier to ask questions on the debian-user mailing list.

With every good wish, as ever,

Andy Cater

Cindy Sue Causey

unread,
Aug 26, 2022, 11:00:06 AM8/26/22
to
On 8/26/22, Cindy Sue Causey <butterf...@gmail.com> wrote:
> On 8/26/22, Amn <amno...@gmail.com> wrote:
>> Hi there!!
>> Every time I restart my Acer Aspire E5-771G running Debian 11 I find
>> that NumLock is off, is there a way to set up Deb11 to automatically
>> turn on the NumLock?
>
>
> Hi.. You didn't name which desktop environment you're using so I'm
> sharing what I found in LXQt. For this one, I can go to:
>
> * Applications dropdown menu
> * Preferences
> * LXQt Settings
> * Keyboard and Mouse
> * Keyboard (lefthand column in window that pops up)
> * Checkbox that says "Turn on NumLock after login
>
> The main desktop environments *try* to follow a similar pattern for
> very basic User features like that. Hopefully you'll be able to find a
> similar path to success in whatever setup you're using.


Ha, just saw that this did say which desktop environment. It was only
stated in the subject line, LOL. You could always search the Internet
for KDE specifically to see what pops, too.

Happy hacking!

Brad Rogers

unread,
Aug 26, 2022, 12:10:06 PM8/26/22
to
On Fri, 26 Aug 2022 06:14:36 -0400
Amn <amno...@gmail.com> wrote:

Hello Amn,

In KDE's System Settings;

Hardware Section, Input Devices->Keyboard

You can Set On, Off or Leave Unchanged. Also set keyboard model there,
too - Acer Laptop being one of the options.

--
Regards _
/ ) "The blindingly obvious is never immediately apparent"
/ _)rad "Is it only me that has a working delete key?"
Cocaine, heroin, I never use speed, I never put the needle in
Keep it Clean - The Vibrators

Porter Smith

unread,
Aug 26, 2022, 1:00:05 PM8/26/22
to
Could you please provide us with more information.Such as excerpts of log files and dmsg.
Thanks,
Chip

Felix Miata

unread,
Aug 26, 2022, 4:00:06 PM8/26/22
to
Amn composed on 2022-08-26 06:14 (UTC-0400):

> Every time I restart my Acer Aspire E5-771G running Debian 11 I find
> that NumLock is off, is there a way to set up Deb11 to automatically
> turn on the NumLock?

There are many opportunities for NUM to be toggled. For those this frustrates:

1-Ensure BIOS is set for numlock ON

2-The kernel ruthlessly turns off NUM. This can be countered by enabling

numlock.service

# systemctl cat numlock.service
# /etc/systemd/system/numlock.service
[Unit]
Description=numlock

[Service]
ExecStart=/usr/local/bin/numlock
StandardInput=tty
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

3-Alone 1 & 2 may not be sufficient. If using LightDM as login greeter, you may
need to install numlockx package and add to its config file:

greeter-setup-script=/usr/bin/numlockx on

If using SDDM as greeter, /etc/sddm.conf needs added:

Numlock=on

4-Regardless of 1-3, NUM can be turned on for Plasma sessions via systemsettings
as described by Brad's response re Plasma keyboard settings in hardware section.
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

Amn

unread,
Aug 26, 2022, 8:30:05 PM8/26/22
to
Yes, thank you! That worked.
0 new messages