turn on numlock at login screen. GDM

Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
GDM is turning off numlock key.
I have tried following:
a) installing numlockx and inserting following lines at /etc/gdm/Init/Default
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
b) Using setleds +num, but it corrupts the numlock state.
When I reboot the system or gdm.service
Numlock becomes on at boot
Numlock turns off at login screen[GDM]
Numlock again turns on after login. [ KDE / GNOME ]
How can I ensure numlock is always on at login (gdm).
rhel gnome3 gdm gdm3 numlock
add a comment |Â
up vote
2
down vote
favorite
GDM is turning off numlock key.
I have tried following:
a) installing numlockx and inserting following lines at /etc/gdm/Init/Default
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
b) Using setleds +num, but it corrupts the numlock state.
When I reboot the system or gdm.service
Numlock becomes on at boot
Numlock turns off at login screen[GDM]
Numlock again turns on after login. [ KDE / GNOME ]
How can I ensure numlock is always on at login (gdm).
rhel gnome3 gdm gdm3 numlock
Did none of the methods mentioned here work : wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup ?
â shivams
May 9 '15 at 7:34
No, none of them worked. I have already tried them. Numlock was turned on before the login screen but during the login screen is displayed it turns off.
â user746184
May 11 '15 at 15:43
1
@user746184 - try setting it via gsettings as the gdm user - as I explained here. Usegsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state oninstead of the command I used there...
â don_crissti
Jun 3 '15 at 12:49
Have you tried putting yournumlockx onscript inless /etc/gdm3/PreSession/Default?
â Matthias
Jul 30 '15 at 17:07
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
GDM is turning off numlock key.
I have tried following:
a) installing numlockx and inserting following lines at /etc/gdm/Init/Default
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
b) Using setleds +num, but it corrupts the numlock state.
When I reboot the system or gdm.service
Numlock becomes on at boot
Numlock turns off at login screen[GDM]
Numlock again turns on after login. [ KDE / GNOME ]
How can I ensure numlock is always on at login (gdm).
rhel gnome3 gdm gdm3 numlock
GDM is turning off numlock key.
I have tried following:
a) installing numlockx and inserting following lines at /etc/gdm/Init/Default
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
b) Using setleds +num, but it corrupts the numlock state.
When I reboot the system or gdm.service
Numlock becomes on at boot
Numlock turns off at login screen[GDM]
Numlock again turns on after login. [ KDE / GNOME ]
How can I ensure numlock is always on at login (gdm).
rhel gnome3 gdm gdm3 numlock
rhel gnome3 gdm gdm3 numlock
edited Apr 29 '16 at 2:35
John Militer
6512926
6512926
asked May 8 '15 at 17:05
user746184
286
286
Did none of the methods mentioned here work : wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup ?
â shivams
May 9 '15 at 7:34
No, none of them worked. I have already tried them. Numlock was turned on before the login screen but during the login screen is displayed it turns off.
â user746184
May 11 '15 at 15:43
1
@user746184 - try setting it via gsettings as the gdm user - as I explained here. Usegsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state oninstead of the command I used there...
â don_crissti
Jun 3 '15 at 12:49
Have you tried putting yournumlockx onscript inless /etc/gdm3/PreSession/Default?
â Matthias
Jul 30 '15 at 17:07
add a comment |Â
Did none of the methods mentioned here work : wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup ?
â shivams
May 9 '15 at 7:34
No, none of them worked. I have already tried them. Numlock was turned on before the login screen but during the login screen is displayed it turns off.
â user746184
May 11 '15 at 15:43
1
@user746184 - try setting it via gsettings as the gdm user - as I explained here. Usegsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state oninstead of the command I used there...
â don_crissti
Jun 3 '15 at 12:49
Have you tried putting yournumlockx onscript inless /etc/gdm3/PreSession/Default?
â Matthias
Jul 30 '15 at 17:07
Did none of the methods mentioned here work : wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup ?
â shivams
May 9 '15 at 7:34
Did none of the methods mentioned here work : wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup ?
â shivams
May 9 '15 at 7:34
No, none of them worked. I have already tried them. Numlock was turned on before the login screen but during the login screen is displayed it turns off.
â user746184
May 11 '15 at 15:43
No, none of them worked. I have already tried them. Numlock was turned on before the login screen but during the login screen is displayed it turns off.
â user746184
May 11 '15 at 15:43
1
1
@user746184 - try setting it via gsettings as the gdm user - as I explained here. Use
gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state on instead of the command I used there...â don_crissti
Jun 3 '15 at 12:49
@user746184 - try setting it via gsettings as the gdm user - as I explained here. Use
gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state on instead of the command I used there...â don_crissti
Jun 3 '15 at 12:49
Have you tried putting your
numlockx on script in less /etc/gdm3/PreSession/Default?â Matthias
Jul 30 '15 at 17:07
Have you tried putting your
numlockx on script in less /etc/gdm3/PreSession/Default?â Matthias
Jul 30 '15 at 17:07
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
following the tip by @don_crissti i successfully enabled numlock on gdm login screen like this:
sudo su #become root
su gdm -s /bin/sh #become gdm user with a shell
#do the work i don't 100% understand
export $(dbus-launcher)
GSETTINGS_BACKEND=dconf gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state on
exit #drop back to root user
systemctl restart gdm #restart gdm
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
following the tip by @don_crissti i successfully enabled numlock on gdm login screen like this:
sudo su #become root
su gdm -s /bin/sh #become gdm user with a shell
#do the work i don't 100% understand
export $(dbus-launcher)
GSETTINGS_BACKEND=dconf gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state on
exit #drop back to root user
systemctl restart gdm #restart gdm
add a comment |Â
up vote
0
down vote
following the tip by @don_crissti i successfully enabled numlock on gdm login screen like this:
sudo su #become root
su gdm -s /bin/sh #become gdm user with a shell
#do the work i don't 100% understand
export $(dbus-launcher)
GSETTINGS_BACKEND=dconf gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state on
exit #drop back to root user
systemctl restart gdm #restart gdm
add a comment |Â
up vote
0
down vote
up vote
0
down vote
following the tip by @don_crissti i successfully enabled numlock on gdm login screen like this:
sudo su #become root
su gdm -s /bin/sh #become gdm user with a shell
#do the work i don't 100% understand
export $(dbus-launcher)
GSETTINGS_BACKEND=dconf gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state on
exit #drop back to root user
systemctl restart gdm #restart gdm
following the tip by @don_crissti i successfully enabled numlock on gdm login screen like this:
sudo su #become root
su gdm -s /bin/sh #become gdm user with a shell
#do the work i don't 100% understand
export $(dbus-launcher)
GSETTINGS_BACKEND=dconf gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state on
exit #drop back to root user
systemctl restart gdm #restart gdm
answered Mar 23 at 17:56
ben_wing
1011
1011
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f202268%2fturn-on-numlock-at-login-screen-gdm%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Did none of the methods mentioned here work : wiki.archlinux.org/index.php/Activating_Numlock_on_Bootup ?
â shivams
May 9 '15 at 7:34
No, none of them worked. I have already tried them. Numlock was turned on before the login screen but during the login screen is displayed it turns off.
â user746184
May 11 '15 at 15:43
1
@user746184 - try setting it via gsettings as the gdm user - as I explained here. Use
gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state oninstead of the command I used there...â don_crissti
Jun 3 '15 at 12:49
Have you tried putting your
numlockx onscript inless /etc/gdm3/PreSession/Default?â Matthias
Jul 30 '15 at 17:07