Re: [systemd-devel] [Patch] NumLock setting from vconsole.conf

2013-02-06 Thread Matthias Berndt
Hi, > I actually don't care that much whether this option gets introduced or > not. And I don't either by now. I've scratched my itch by calling setleds(1) from rc.local by now, so do whatever you want with the patch. Cheers Matthias ___ systemd-devel

Re: [systemd-devel] [Patch] NumLock setting from vconsole.conf

2013-02-06 Thread Matthias Berndt
d in that X session. After terminating it, it was on again. Afaics it all works as one would expect it to. The attached version contains whitespace fixes and is formatted with git format-patch as suggested by Colin. Cheers Matthias >From bd82c41cb521e2e09015c32bd4d80231c6624e4d Mon Sep 17 0

Re: [systemd-devel] [Patch] NumLock setting from vconsole.conf

2013-02-05 Thread Matthias Berndt
Hi Lennart, I've modified the patch again so that it also sets the default state of the LED flags to the configued values. Otherwise it'd switch NumLock off again when you type reset into the console. Cheers Matthias diff --git a/man/vconsole.conf.xml b/man/vconsole.conf.xml index 45156b7..4335

Re: [systemd-devel] [Patch] NumLock setting from vconsole.conf

2013-02-05 Thread Matthias Berndt
Hi Lennart, > It should suffice to invoke your set_modifiers() function in some > wrapper function set_modifiers_on_all_vcs() which internally just runs > VT_GETSTATE and iterates over all allocated VCs. See > font_copy_to_all_vcs() for inspiration. Done. I've factored out the common code as an it

Re: [systemd-devel] [Patch] NumLock setting from vconsole.conf

2013-01-31 Thread Matthias Berndt
Hi, The attached version of the patch contains updates to the man pages. Cheers Matthias diff --git a/man/vconsole.conf.xml b/man/vconsole.conf.xml index 45156b7..3707279 100644 --- a/man/vconsole.conf.xml +++ b/man/vconsole.conf.xml @@ -74,7 +74,10 @@ vconsole.keymap.toggle=,

[systemd-devel] [Patch] NumLock setting from vconsole.conf

2013-01-31 Thread Matthias Berndt
Hi, It has bothered me for some time that vconsole.conf doesn't offer a setting to boot with NumLock enabled. With the patch in the attachment you can put NUM_LOCK=y in vconsole.conf (or vconsole.num_lock=y on the kernel command line) and it'll do the right thing. SCROLL_LOCK, CAPS_LOCK, vcons