-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bonjour,
I want to lock the numerical pad (which is not the default behaviour...) and installed numlocks... but nothing has changed.
So I added /usr/bin/numlockx on in the [SeatDefaults] section of /etc/lightdm/lightdm.conf
But, this blocks lightdm at boot time... so I cannot have a complete graphical boot, stopped after the last loaded systemd service...
How to get the numerical pad locked when a user log in?
(using xfce4 as window manager)
Thank you.
- -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte
Hi François
try using xfconf-query --channel keyboards -l -v which should give you ... /Default/Numlock false ...
To set it: xfconf-query --channel keyboards --property /Default/Numlock -s true
Change true and false according to your requirements.
suomi
On 08/05/2015 09:25 AM, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Bonjour,
I want to lock the numerical pad (which is not the default behaviour...) and installed numlocks... but nothing has changed.
So I added /usr/bin/numlockx on in the [SeatDefaults] section of /etc/lightdm/lightdm.conf
But, this blocks lightdm at boot time... so I cannot have a complete graphical boot, stopped after the last loaded systemd service...
How to get the numerical pad locked when a user log in?
(using xfce4 as window manager)
Thank you.
François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iEYEARECAAYFAlXBulcACgkQdE6C2dhV2JWv7QCeJv0PcdUCLNUzb68UqUI6CQPj Y0UAoJ4+J4WVsBwiyLE7NDpfTYRMuZXO =/p4X -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le 05/08/2015 09:45, fedora a écrit :
Hi François
try using xfconf-query --channel keyboards -l -v which should give you ... /Default/Numlock false ...
To set it: xfconf-query --channel keyboards --property /Default/Numlock -s true
Change true and false according to your requirements.
Thank you for this answer; I did not know this xconf-query command, but there is still a problem: when I log-in, the numlock led is on for a few seconds then it stops and I have to re-activate it manually... I don't know what switches it off.... No message in .xsession-errors is given and I don't know where to find any information on what is going wrong...
Thank You
suomi
On 08/05/2015 09:25 AM, François Patte wrote: Bonjour,
I want to lock the numerical pad (which is not the default behaviour...) and installed numlocks... but nothing has changed.
So I added /usr/bin/numlockx on in the [SeatDefaults] section of /etc/lightdm/lightdm.conf
But, this blocks lightdm at boot time... so I cannot have a complete graphical boot, stopped after the last loaded systemd service...
How to get the numerical pad locked when a user log in?
(using xfce4 as window manager)
Thank you.
- -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 08/08/2015 08:42 AM, François Patte wrote:
Thank you for this answer; I did not know this xconf-query command, but there is still a problem: when I log-in, the numlock led is on for a few seconds then it stops and I have to re-activate it manually... I don't know what switches it off.... No message in .xsession-errors is given and I don't know where to find any information on what is going wrong...
Thank You
I use lightdm ( with e19 & MATE). when I boot, the numlock is off.
I googled & found this: https://wiki.archlinux.org/index.php/LightDM#NumLock_on_by_default
NumLock on by default
Install the numlockx https://www.archlinux.org/packages/?name=numlockx package and the edit |/etc/lightdm/lightdm.conf| adding the following line:
greeter-setup-script=/usr/bin/numlockx on
I did not have that package installed, but dnf install numlockx shows this:
*Installing: numlockx x86_64 1.2-7.fc22 fedora 17 k
Transaction Summary *
- -- Paul Cartwright Registered Linux User #367800 and new counter #561587
On Sat, Aug 08, 2015 at 10:49:01AM -0400, Paul Cartwright wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 08/08/2015 08:42 AM, François Patte wrote:
Thank you for this answer; I did not know this xconf-query command, but there is still a problem: when I log-in, the numlock led is on for a few seconds then it stops and I have to re-activate it manually... I don't know what switches it off.... No message in .xsession-errors is given and I don't know where to find any information on what is going wrong...
Thank You
I use lightdm ( with e19 & MATE). when I boot, the numlock is off.
Every PC I've ever used has a setting in BIOS for defaulting the numlock key to the desired state, i.e., either ON or OFF at boot. This seems like better way to do it instead of finding some app to twiddle it for you...
No? Or maybe I misunderstand...
Fred
On Sat, Aug 08, 2015 at 12:05:17PM -0400, Fred Smith wrote:
Every PC I've ever used has a setting in BIOS for defaulting the numlock key to the desired state, i.e., either ON or OFF at boot. This seems like better way to do it instead of finding some app to twiddle it for you... No? Or maybe I misunderstand...
That used to be true, but many newer systems don't offer an option.