[SOLVED] Turn on numlock during boot up. (Kubuntu 20.10)
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Allo all,
I use Kubuntu 20.10
I run it on 2 PCs. 1 PC runs Kubuntu 18.04. The hardware is different in each case.
Some sites recommend doing
sudo apt-get install numlockx
and reboot PC
That doesn’t do anything.
Some sites recommend
Start -> Applications -> Settings -> System Settings
On the left side, click on Input Devices -> Keyboard -> Hardware -> Numlock on Plasma Startup -> Turn On
but that turns on the Numlock only when you log in.
I saw a few websites about it, some are about Ubuntu, some are about Linux Mint and Debian.
They talk about files that don’t exist on Kubuntu 20.10.
Some sites recommend turning it on in the BIOS. It’s already on in the BIOS.
When I turn on the PC, the Numlock turns on and when Kubuntu is starting up, it turns it off.
Alright, you don't have to do it this way, although editing 40-kde-plasma-kf5.conf may work. I do not use bloated desktops myself, net search finds official KDE PLASMA documentation ... and the page for autostart has been removed, dead link. The next best thing I found is this writeup. You could use one of these methods.
You don't have to edit anything under /usr/share/lightdm.conf.d (any changes there will be overwritten next time LightDM is updated anyway). Just put your configuration bit as a .conf file under /etc/lightdm/lightdm.conf.d/
Alright, you don't have to do it this way, although editing 40-kde-plasma-kf5.conf may work. I do not use bloated desktops myself, net search finds official KDE PLASMA documentation ... and the page for autostart has been removed, dead link. The next best thing I found is this writeup. You could use one of these methods.
It says:
"Need to autostart programs on KDE Plasma 5 when you log in?"
I don't want to turn on the Numlock when I log in. That's something that native KDE already supports.
I want the Numlock to be always on. As Kubuntu is booting up, it turns off the Numlock.
You don't have to edit anything under /usr/share/lightdm.conf.d (any changes there will be overwritten next time LightDM is updated anyway). Just put your configuration bit as a .conf file under /etc/lightdm/lightdm.conf.d/
In folder
/etc/lightdm/lightdm.conf.d/
I created a file called
jizz.conf
and inside that text file, I added a single line
numlock=on
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.