Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Numlock on for both LUKS password and login screen (sddm) ?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ratnoz
n00b
n00b


Joined: 19 Apr 2017
Posts: 1

PostPosted: Wed Apr 19, 2017 8:02 pm    Post subject: Numlock on for both LUKS password and login screen (sddm) ? Reply with quote

Hello,

It seems that "having numlock enabled at startup" is a very very old topic, but I haven't found any solution (thence my first message on this forum).

So my situation:
BIOS, Grub -------------------------------------------------> numlock (ie the LED) on
system starts -----------------------------------------------> numlock off
password for my luks partition (it's a GUI, not a CLI) -> numlock still off, so I have to press one button for the number(s) in my password, and I'm lazy
login screen (Plasma - sddm) -----------------------------> numlock off again, so I have to press one button, and I'm lazy
sessions opened, desktop, ... -----------------------------> numlock on (in the Control Panel -> ... -> keyboard numlock is activated at Plasma's startup, at least this works).
log out -------------------------------------------------------> numlock off again

I have edited /etc/sddm.conf and in the [General] section I have added this line: Numlock=on. No result :cry: (maybe like just above, it's for session startup and not for login screen)
When I use /usr/bin/numlockx on/off it works well!

Does anyone have a solution (a custom systemd service? a wrong uppercase in a conf file) that would work?

Thanks!
Back to top
View user's profile Send private message
DDoSolitary
n00b
n00b


Joined: 06 Oct 2017
Posts: 1
Location: Shaoxing, Zhejiang, China

PostPosted: Fri Oct 06, 2017 11:20 am    Post subject: Reply with quote

I'm an Arch Linux user, and the AUR package mkinitcpio-numlock does the job for me, you can find its source code here: https://aur.archlinux.org/cgit/aur.git/tree/?h=mkinitcpio-numlock

I'm not sure if it can be done on Gentoo similarly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum