Ubuntu 18.04 with kubuntu /Plasma enable numlock on login

Ask Ubuntu Asked on January 5, 2022

Hi I went through a lot of solutions and tried a couple of them. But till so far no progress.

  1. I went through Activating numlock on bootup – ArchWiki without succes.

  2. I installed numlockx sudo apt install numlockx. No erorrs.

  3. Followed by sudo sed -i 's|^exit 0.*s|# Numlock enablen[ -x /usr/bin/numlockx ] && numlockx onnnexit 0|' /etc/rc.local

Then I got this error (translated from Dutch into English)

sed: cannot read /etc/rc.local :file or folder does not exist.

I am looking forward if someone could give me the right command line instruction to enable Numlock on login.

plasmashell 5.12.9

Qt: 5.9.5

KDE Frameworks: 5.44.0

kf5-config: 1.0

One Answer

After trying all suggestions, I switched off Mouse Keys. and numeric keys worked again. The keyboard layout for English UK is very weird.

Answered by Charles Irons on January 5, 2022

Add your own answers!

Related Questions

What’s the easiest way to install OpenSSH 7.4 on Ubuntu 16.04?

2  Asked on November 6, 2021 by tri-nguyen


Xmodmap: Assign right ctrl to two keys

1  Asked on November 6, 2021 by unloco


Two sent folders in Thunderbird

1  Asked on November 6, 2021 by brett-stevens


Invalid desktop entry file error – midi2input

2  Asked on November 6, 2021 by cobweb


script file command not found

1  Asked on November 6, 2021 by mohsen_m


Simple Task Manager like Windows Fewer Details Mode

0  Asked on November 6, 2021 by jackson-eyton


Drevo calibur V2 Super key

1  Asked on November 6, 2021 by guillaumea


2 version of Cmake, needs to remove one

1  Asked on November 6, 2021 by roy-raihenshtein


Wifi not working on Lubuntu 20.04

1  Asked on November 6, 2021 by international_bean


Behringer C-1 Drivers

0  Asked on November 6, 2021 by lavta


Ubuntu 20.04 upgrade getting stuck with fsck check

0  Asked on November 1, 2021 by m-go


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP