Fix Numlock for one specific keyboard only (leaving the behaviour of other devices untouched)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












My question is basically identical to this U&L Q&A titled: Enable numlock only for external keyboard, with a slight difference.



I have the solution running to enable Numlock whenever an external keyboard is plugged into my laptop etc., but I still occasionally type on the laptops keyboard, even with the external keyboard is plugged in.



How can I permanently set Numlock on the external keyboard while leaving the behaviour for other devices like the internal keyboard unchanged?



I'm not afraid of getting into driver programming eventually, if that's what it takes. Just make sure to point me somewhere where I can learn what to do next.







share|improve this question





















  • Outside of trapping every keypress, for eg.unix.stackexchange.com/questions/89538/…, and acting accordingly if it came form USB vs. nonUSB, I wasn't able to find a method that would do what you want.
    – slm♦
    Jul 29 at 2:20










  • Might be useful, shows udev rules for when keyboard is plugged/unplgged in - bbs.archlinux.org/viewtopic.php?id=161455.
    – slm♦
    Jul 29 at 2:21
















up vote
1
down vote

favorite












My question is basically identical to this U&L Q&A titled: Enable numlock only for external keyboard, with a slight difference.



I have the solution running to enable Numlock whenever an external keyboard is plugged into my laptop etc., but I still occasionally type on the laptops keyboard, even with the external keyboard is plugged in.



How can I permanently set Numlock on the external keyboard while leaving the behaviour for other devices like the internal keyboard unchanged?



I'm not afraid of getting into driver programming eventually, if that's what it takes. Just make sure to point me somewhere where I can learn what to do next.







share|improve this question





















  • Outside of trapping every keypress, for eg.unix.stackexchange.com/questions/89538/…, and acting accordingly if it came form USB vs. nonUSB, I wasn't able to find a method that would do what you want.
    – slm♦
    Jul 29 at 2:20










  • Might be useful, shows udev rules for when keyboard is plugged/unplgged in - bbs.archlinux.org/viewtopic.php?id=161455.
    – slm♦
    Jul 29 at 2:21












up vote
1
down vote

favorite









up vote
1
down vote

favorite











My question is basically identical to this U&L Q&A titled: Enable numlock only for external keyboard, with a slight difference.



I have the solution running to enable Numlock whenever an external keyboard is plugged into my laptop etc., but I still occasionally type on the laptops keyboard, even with the external keyboard is plugged in.



How can I permanently set Numlock on the external keyboard while leaving the behaviour for other devices like the internal keyboard unchanged?



I'm not afraid of getting into driver programming eventually, if that's what it takes. Just make sure to point me somewhere where I can learn what to do next.







share|improve this question













My question is basically identical to this U&L Q&A titled: Enable numlock only for external keyboard, with a slight difference.



I have the solution running to enable Numlock whenever an external keyboard is plugged into my laptop etc., but I still occasionally type on the laptops keyboard, even with the external keyboard is plugged in.



How can I permanently set Numlock on the external keyboard while leaving the behaviour for other devices like the internal keyboard unchanged?



I'm not afraid of getting into driver programming eventually, if that's what it takes. Just make sure to point me somewhere where I can learn what to do next.









share|improve this question












share|improve this question




share|improve this question








edited Jul 28 at 20:02









slm♦

232k65479649




232k65479649









asked Jul 28 at 19:52









Peter Nerlich

1084




1084











  • Outside of trapping every keypress, for eg.unix.stackexchange.com/questions/89538/…, and acting accordingly if it came form USB vs. nonUSB, I wasn't able to find a method that would do what you want.
    – slm♦
    Jul 29 at 2:20










  • Might be useful, shows udev rules for when keyboard is plugged/unplgged in - bbs.archlinux.org/viewtopic.php?id=161455.
    – slm♦
    Jul 29 at 2:21
















  • Outside of trapping every keypress, for eg.unix.stackexchange.com/questions/89538/…, and acting accordingly if it came form USB vs. nonUSB, I wasn't able to find a method that would do what you want.
    – slm♦
    Jul 29 at 2:20










  • Might be useful, shows udev rules for when keyboard is plugged/unplgged in - bbs.archlinux.org/viewtopic.php?id=161455.
    – slm♦
    Jul 29 at 2:21















Outside of trapping every keypress, for eg.unix.stackexchange.com/questions/89538/…, and acting accordingly if it came form USB vs. nonUSB, I wasn't able to find a method that would do what you want.
– slm♦
Jul 29 at 2:20




Outside of trapping every keypress, for eg.unix.stackexchange.com/questions/89538/…, and acting accordingly if it came form USB vs. nonUSB, I wasn't able to find a method that would do what you want.
– slm♦
Jul 29 at 2:20












Might be useful, shows udev rules for when keyboard is plugged/unplgged in - bbs.archlinux.org/viewtopic.php?id=161455.
– slm♦
Jul 29 at 2:21




Might be useful, shows udev rules for when keyboard is plugged/unplgged in - bbs.archlinux.org/viewtopic.php?id=161455.
– slm♦
Jul 29 at 2:21















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f459088%2ffix-numlock-for-one-specific-keyboard-only-leaving-the-behaviour-of-other-devic%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f459088%2ffix-numlock-for-one-specific-keyboard-only-leaving-the-behaviour-of-other-devic%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?