From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 680E8138247 for ; Thu, 9 Jan 2014 09:21:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65BBBE0B78; Thu, 9 Jan 2014 09:21:50 +0000 (UTC) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 356E1E0B49 for ; Thu, 9 Jan 2014 09:21:49 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id l18so1592386wgh.5 for ; Thu, 09 Jan 2014 01:21:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=/3NpZrcscE+ar4n3GoEWe9UJpS6C65tCf7ocWykMp2M=; b=iST5ohv63eWWoqdaFf7TB4jJpgLDzKT+601hPAk5/KAhZYucecRX+wkQ86Keqa62El +dim7Uz16Jtm726Ta0WSqDWGeHoXgfZuIaC5L+WsElRZTVUl1EN6CQ/AcGn3/DsyIXGk 8aFPVOKp/KNUCHm3pM1C0SsZnA2Vab2nJmq15PdgT8kUJXxfBmhnVRl4HtdSRLGHR2S6 Rr+Vsfuoni2c3o3HbHwo8cGMnuIrPtf8Hdk8LgPPkyM/I6rqvcRiUSIXqnbxETJD5HT/ Nk5JLP2LUUfua6Peg9I8aCg3az830uvWdIG4qFhI0ZgOEWTklUtDqE74PeJjqBHlevwn K3Qg== X-Received: by 10.195.13.130 with SMTP id ey2mr1773648wjd.7.1389259308058; Thu, 09 Jan 2014 01:21:48 -0800 (PST) Received: from [172.20.0.41] (196-210-126-67.dynamic.isadsl.co.za. [196.210.126.67]) by mx.google.com with ESMTPSA id cx3sm13187609wib.0.2014.01.09.01.21.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 01:21:47 -0800 (PST) Message-ID: <52CE6A20.4030701@gmail.com> Date: Thu, 09 Jan 2014 11:21:36 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] disable numlock on netbook References: <52C9D19A.6000205@gmail.com> <52CDAF87.8000102@gmail.com> In-Reply-To: <52CDAF87.8000102@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: a3fb28f2-64f0-4801-9ae7-ca1e9864f05f X-Archives-Hash: 018f9255e291137b7da37c2dd64b2afc On 08/01/2014 22:05, Daniel Frey wrote: > On 01/05/2014 01:41 PM, Alan McKinnon wrote: >> I have Gentoo on a first gen Acer Aspire One. The teeny keyboard doesn't >> have a numpad, it's simulated by using the right-hand bunch of keys and >> you engage it with Fn-F11 >> >> It's recently started booting up with the numpad on which is annoying at >> first login as my username is not a3an0 .... The Num LED is also off at >> this stage. There used to be a way to set numlock on or off in >> baselayout/openrc but now I can't find it. "grep -r numlock /etc" >> returns nothing relevant, and /etc/init.d/numlock is to enable it with >> no function to disable it (I have this script disable in default runlevel) >> >> How is this done these days? >> Should I call setleds in rc.local somewhere? >> >> > > Are you booting into X? If you are try x11-misc/numlockx. > > I think all you have to do is use `numlockx off` and it should turn it off. > > I had to do that for my laptop, same problem. It all seems to have sorted itself out somehow. I removed everything related to numlock and power cycled. The netbook now boots with numlock off. I'm not at all sure how this works on this keyboard. Perhaps the hardware remembers the numlock state before power-down and resets it at power-up? I'm going to let sleeping dogs lie and leave this issue alone for now. If I'm lucky it won't recur :-) -- Alan McKinnon alan.mckinnon@gmail.com