LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-27-2019, 10:02 PM   #1
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Rep: Reputation: Disabled
Number lock won't stay off


I am using Xunbuntu 18.04-3LTS and in settings for the keyboard I removed the check out of the box "Restore number lock state on startup but it enables the number lock anyway at the login screen. I have the number lock disabled in the BIOS. I even tried save session which didn't correct it. Going through several distros I never had this bug. Does anyone know a solution to this bug?
 
Old 08-28-2019, 06:17 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by Crippled View Post
I am using Xunbuntu 18.04-3LTS and in settings for the keyboard I removed the check out of the box "Restore number lock state on startup but it enables the number lock anyway at the login screen. I have the number lock disabled in the BIOS. I even tried save session which didn't correct it. Going through several distros I never had this bug. Does anyone know a solution to this bug?
You can install numlockx
 
Old 08-28-2019, 09:56 AM   #3
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
You can install numlockx
According to Synaptic I have it already. Is it in Settings > Keyboard? Or is it a different one and if so where is it hiding?
 
Old 08-28-2019, 11:51 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by Crippled View Post
According to Synaptic I have it already. Is it in Settings > Keyboard? Or is it a different one and if so where is it hiding?
I'm not a *buntu user, but according to this it's located at /usr/bin/numlockx. Follow the instructions there is order to set NumLock to off.
You can see also this post for the same.
 
Old 08-28-2019, 12:01 PM   #5
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
I'm not a *buntu user, but according to this it's located at /usr/bin/numlockx. Follow the instructions there is order to set NumLock to off.
You can see also this post for the same.
Thank you, but it won't open even though I opened thunar as root. I tried using Mousepad but it won't show anything when I try to open it. What is used to open it?
 
Old 08-28-2019, 12:54 PM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by Crippled View Post
Thank you, but it won't open even though I opened thunar as root. I tried using Mousepad but it won't show anything when I try to open it. What is used to open it?
I don't get you.
You may run it from command line and see what you get:
Code:
sudo /usr/bin/numlockx off
 
Old 08-28-2019, 01:35 PM   #7
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
I don't get you.
You may run it from command line and see what you get:
Code:
sudo /usr/bin/numlockx off
That didn't work. The first time I rebooted I tied it without save session checked, then I ran the command again, and I tried it a second time with save session and it's still enabling. I have an idea that might work. I have an encrypted installation. Before I try it, I need to know. If I remove numlockx, will Xubuntu still boot-up?

Last edited by Crippled; 08-28-2019 at 07:18 PM.
 
Old 08-28-2019, 08:10 PM   #8
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Original Poster
Rep: Reputation: Disabled
Since I wasn't hearing any answer to my question I gave my idea a try. I removed numlockx and rebooted the computer and it works as it should. The number lock didn't enable. So it looks like the "numlockx" app is only needed if you need the number lock to enable. Thank you for trying and pointing me in the right direction.
 
  


Reply

Tags
number lock



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] fluxbox screen lock won't stay locked Z038 Slackware 18 11-16-2015 08:04 AM
deian yum lock [ ERR] Reading state information E: Could not get lock /var/lock/aptit jayakumar01 Linux - Server 1 12-05-2011 11:26 AM
Identify and explain the major number, minor number, and revision number in Linux... turbomen Linux - Newbie 1 11-16-2010 02:48 AM
Num lock OFF and Caps & Screen Lock ON at Linux startup. Reversing? peteyperson Linux - Newbie 2 02-28-2009 11:44 AM
get numbers lock to stay on SharpyWarpy Fedora 2 08-15-2005 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration