LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 06-08-2020, 10:40 PM   #1
Liamdale
LQ Newbie
 
Registered: Jul 2017
Location: Quebec, Canada
Distribution: Mint cinnanon 19.1 & Bodhi 5 legacy
Posts: 7

Rep: Reputation: Disabled
Num Lock on startup on Bodhi


Recently I installed Bodhi on my old 32 bit computer. The I have been reading all the documentation that I can find. My understanding of the OS is improving but I still have not a way to lock the num lock on startup. I have found in the Settings panel> Input a keyboard configuration "Button" but it is empty. My keyboard model is not in the list provided.

My question how do I configure Bodhi to automatically lock the Num Lock on startup?
 
Old 06-08-2020, 11:31 PM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
If it's not too old: http://ossisoft.dk/blog/?p=37
...from searching the internet for, Bodhi numlock?

Edit\add: I did post this without knowing what desktop environments you're using?
Quote:
Originally Posted by Liamdale View Post
Recently I installed Bodhi on my old 32 bit computer. The I have been reading all the documentation that I can find. My understanding of the OS is improving but I still have not a way to lock the num lock on startup. I have found in the Settings panel> Input a keyboard configuration "Button" but it is empty. My keyboard model is not in the list provided.

My question how do I configure Bodhi to automatically lock the Num Lock on startup?

Last edited by jamison20000e; 06-08-2020 at 11:36 PM. Reason: Add
 
1 members found this post helpful.
Old 06-08-2020, 11:41 PM   #3
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Num Lock on startup on Bodhi

Install numlockx package
 
2 members found this post helpful.
Old 06-08-2020, 11:44 PM   #4
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by jamison20000e View Post
If it's not too old: http://ossisoft.dk/blog/?p=37
...from searching the internet for, Bodhi numlock?

Edit\add: I did post this without knowing what desktop environments you're using?
looks like it might be a bit dated as stock bodhi uses lightdm these days.
Quote:
Originally Posted by Liamdale View Post
I have found in the Settings panel> Input a keyboard configuration "Button" but it is empty. My keyboard model is not in the list provided.
if we are looking at the same settings (settings -> input -> keyboard) there is a third tab for options. well down that list there are some pertaining to num lock.
 
1 members found this post helpful.
Old 06-09-2020, 08:49 AM   #5
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Quote:
...looks like it might be a bit dated as stock bodhi uses lightdm these days.

...Quote:
With Debian I usually do a netinst but if not I download the full (non-free) KDE .iso, never know, unless?
 
Old 06-09-2020, 10:37 AM   #6
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,413

Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
Quote:
Originally Posted by the_waiter View Post
Install numlockx package
This is what I use also. Install it and add to startup commands:

Code:
sudo apt install numlockx
echo numlockx >> ~/.e/e/applications/startup/startupcommands
 
1 members found this post helpful.
Old 06-09-2020, 01:19 PM   #7
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
https://directory.fsf.org/wiki/Numlockx
 
Old 06-09-2020, 01:31 PM   #8
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Enigma9o7: Is it needed to add numlockx to startup apps? I am not 100% sure but package should manage it by itself. I need to check out...

Stefan

EDIT: yes, inside the package is a startup script
http://www.enlightenment.org/ss/e-5e...0.94721876.jpg

Last edited by the_waiter; 06-09-2020 at 01:33 PM.
 
Old 06-09-2020, 01:32 PM   #9
Liamdale
LQ Newbie
 
Registered: Jul 2017
Location: Quebec, Canada
Distribution: Mint cinnanon 19.1 & Bodhi 5 legacy
Posts: 7

Original Poster
Rep: Reputation: Disabled
Num Lock on startup on Bodhi

I've installed NumLockX and the problem has been solved but replaced with another. Now the capLock comes on automatically when I reboot. Back tracking to see if I've changed something I shouldn't have.
 
Old 06-09-2020, 01:37 PM   #10
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
LOL

https://www.cyberciti.biz/faq/linux-...ate-caps-lock/
 
Old 06-09-2020, 04:45 PM   #11
Liamdale
LQ Newbie
 
Registered: Jul 2017
Location: Quebec, Canada
Distribution: Mint cinnanon 19.1 & Bodhi 5 legacy
Posts: 7

Original Poster
Rep: Reputation: Disabled
tried xmodmap but couldn't get it to work. Used example suggested with no results. Did have some success with setxkbmap:
Code:
setxkbmap -option "caps:none"
setxkbmap -option
The first line removes the Caps lock key function; the second returns it

Still studing. Thanks for the input.
 
2 members found this post helpful.
Old 06-09-2020, 05:44 PM   #12
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,413

Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
Quote:
Originally Posted by the_waiter View Post
Enigma9o7: Is it needed to add numlockx to startup apps? I am not 100% sure but package should manage it by itself. I need to check out...

Stefan

EDIT: yes, inside the package is a startup script
http://www.enlightenment.org/ss/e-5e...0.94721876.jpg
So I figured out what you mean. So another way to that should work, instead of putting it into startup commands, is edit /etc/default with sudo and change the last line to NUMLOCK=ON, or alternatively NUMLOCK=KEEP if your pc boots with numlock on or has such a setting in bios.


Code:
# Configuration file for numlock:
# State of numlog on start of X session
# Accepts following options:
#  auto - turns numlock on unless ran on laptop
#  on - turns numlock on
#  off - turns numlock off
#  keep - does not change numlock state
#  toggle - toggles numlock state
NUMLOCK=auto
It also seems to imply it will behave differently on a laptop than desktop by default. It suggests that without changing the file, it will turn it on for desktops and off for laptops! I'm on my laptop now but I do have some desktops too, but don't think they turned it on automatically either.... will verify sometime... maybe can remove numlockx from my startup on those machines... but I really dont think so cuz I started using numlockx on a desktop before I ever put bodhi on my laptop...

I wonder how it decides if a computer is a laptop.

Last edited by enigma9o7; 06-09-2020 at 05:48 PM.
 
1 members found this post helpful.
Old 06-09-2020, 09:16 PM   #13
Liamdale
LQ Newbie
 
Registered: Jul 2017
Location: Quebec, Canada
Distribution: Mint cinnanon 19.1 & Bodhi 5 legacy
Posts: 7

Original Poster
Rep: Reputation: Disabled
When I posted this thread I wrote that I was re-configuring an old 32 bit computer. I automatically assumed that readers would assume that I as talking about a desktop. The use of NumLockX has worked. The NumLock came on but also the Caps Lock. To find out if the problem is related the NumLockX. I rebooted using another more modern wireless keyboard and the Caps lock problem did not occur which centers the problem with how Bodhi identifies my old keyboard. It is an interesting problem but for me not very important. I've even found a site with code to cancel the Caps Lock and transfer it to a simultaneous pressing of both shift key to activate the Caps Lock.https://www.linux.com/training-tutor...-keyboard-xkb/
 
1 members found this post helpful.
Old 06-10-2020, 05:29 AM   #14
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
They're still making some cheesy little, two in ones, (e.g.: RCA @Walltart) with 32 bit processors, plus some old laptops are still worth running thanks to Linux; or, on and on with another example, single board computers(&c.).
Quote:
Originally Posted by enigma9o7 View Post
...

I wonder how it decides if a computer is a laptop.
Battery?

Last edited by jamison20000e; 06-10-2020 at 05:51 AM. Reason: 1 last thing :-)
 
Old 06-10-2020, 08:46 AM   #15
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by Liamdale View Post
thank you for sharing that. i had been looking for a little more info about xkb settings.
 
  


Reply



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
how can grep from file (num num) (num num) ? DoME69 Programming 2 11-07-2011 06:56 AM
Num lock OFF and Caps & Screen Lock ON at Linux startup. Reversing? peteyperson Linux - Newbie 2 02-28-2009 11:44 AM
Caps lock, Num Lock notification applications tuxedup Linux - Desktop 2 03-02-2008 05:23 PM
Caps Lock and Num Lock leds dont work! npc Linux - Hardware 2 11-08-2005 10:40 AM
Num, Scroll, Caps/Lock all Lock up Slackware Zamochit Linux - Newbie 0 10-18-2004 07:47 PM

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

All times are GMT -5. The time now is 11:50 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