From owner-freebsd-questions@FreeBSD.ORG Sat Mar 7 23:15:51 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D913761F for ; Sat, 7 Mar 2015 23:15:51 +0000 (UTC) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A99C266 for ; Sat, 7 Mar 2015 23:15:51 +0000 (UTC) Received: by wghk14 with SMTP id k14so16596158wgh.3 for ; Sat, 07 Mar 2015 15:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fuozvgH2YrUdxDk0CxnpFacenGZXeWEjSbkG2HLxrEQ=; b=F3QTG10EgopNGiRWiBYkn3lyIFXlF+d8VQVAAk04CrIl8PEPpjaFn8LrigjbYwO9mG /X/1jk63GnrV3BRNuvQjTt2PhYWntjEl1/witqdx7fWv6XeoL22KfAoOmAtOVWQiy3ue vMBZU27lKSXyKM+H579NlzZAs/BxWSw5CmtdM74wTbf6ikHaYoheqmGb7ib/17l7n9so 7TBzhRMxsnlzUUTn7SJLE2m1JbK4yCifjTE7tZArG3jo2plxhUCB5QynE0JmDWCM5yi6 KqEilS1q9e4rEsU5lBi0Mre5S6AMMmHfy2CIrfhZhnhUg6YbRz9OGQNfaTIExIgt/0eA fnVA== MIME-Version: 1.0 X-Received: by 10.180.108.13 with SMTP id hg13mr45828728wib.7.1425770149848; Sat, 07 Mar 2015 15:15:49 -0800 (PST) Received: by 10.194.239.194 with HTTP; Sat, 7 Mar 2015 15:15:49 -0800 (PST) In-Reply-To: <20150307194825.eda3e686.freebsd@edvax.de> References: <20150307194825.eda3e686.freebsd@edvax.de> Date: Sun, 8 Mar 2015 07:15:49 +0800 Message-ID: Subject: Re: Num Lock goes off when entering X session From: Ben Woods To: Polytropon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2015 23:15:51 -0000 This previous post should help you: https://lists.freebsd.org/pipermail/freebsd-questions/2004-September/058977.html In summary, install the numlockx package and put "numlockx" in ~/.xinitrc, before the lines starting the window manager. Regards, Ben On Sunday, March 8, 2015, Polytropon wrote: > I'd like to ask for explanation and advice regarding an observation > that I made across XFree86 and X.org sessions: When my system boots > up, the Num Lock LED is activated (and the Num mode is on, as hereby > suggested). Then I enter XDM and log in. As soon as the "real" X > session starts, Num Lock goes off, and it needs to be manually > reactivated. This also happens when I log off, re-enter XDM, log in > again - and Num Lock goes off again. > > Does it have to be that way? And when yes, then why? > > Is there a way to switch Num Lock on via ~/.xinitrc, or tell X > to not change it? > > NB: I'm using a regular keyboard (IBM Model M) and have to use > the numeric block quite often. So this is an issue for me... > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org " > -- -- From: Benjamin Woods woodsb02@gmail.com