From owner-freebsd-questions@FreeBSD.ORG Sat Aug 17 01:07:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5E1AE2FD for ; Sat, 17 Aug 2013 01:07:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D42982B84 for ; Sat, 17 Aug 2013 01:07:26 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id f14so1360572wiw.1 for ; Fri, 16 Aug 2013 18:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=weglsRba8KhGSka0/QvoN9NGzmPLBytX+qjBohQJSOs=; b=fKgoQHKlY/rvSNYmI7CA0BJ3dnxUUs7QGcUyZrrfsq1aUDd6V937cZzTBRwTgNT6Jd vnsXmx2jZXYL8j4CxbIni/G1PvXsiXbNF6JySsR7990q0mYdKhaYpM+KnuD0GwQNglQa 9tfvu9ba+N3SNf/kucfa8TlmSRuA7ttER+IdBNHVR0sa05D2+b0Jh9/NYYtdfyfnTxkV UPKSOlL8eJw7Jexlg/epvm7qu9IRSvfCkNhNqppUe+DAAOZ1ZD/PRHtbR/By7LIECfcA ljW5tQDWSWQAYt0lMyhMr4EQ8bWU44EeFfXMjVQ18PUxyUzz6p5aD7ZhArV8ATYwuyvC nVkg== MIME-Version: 1.0 X-Received: by 10.180.211.206 with SMTP id ne14mr305750wic.30.1376701645085; Fri, 16 Aug 2013 18:07:25 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.116.136 with HTTP; Fri, 16 Aug 2013 18:07:25 -0700 (PDT) In-Reply-To: <520EBF22.8080500@d2ux.org> References: <520DC77F.1060300@d2ux.org> <520EBF22.8080500@d2ux.org> Date: Fri, 16 Aug 2013 18:07:25 -0700 X-Google-Sender-Auth: dtsLmEmDW4RRHgqIkxOyzVZIsbs Message-ID: Subject: Re: Laptop Fn key causes X (Gnome 2) to sleep immediately From: Adrian Chadd To: Matthias Petermann Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 01:07:27 -0000 Right, but this sounds like some bug to send upstream. Or at least patch in our port(s) for this stuff. What keyboard / laptop has the key code '150' map to 'go to sleep' ? -adiran On 16 August 2013 17:09, Matthias Petermann wrote: > Hi, > > a short update on this. I just found out: at least in Gnome 2 the behavior > can be prevented by using the gconf-settings tool, changing the value of > the key "/apps/gnome-power-manager/buttons/suspend" from "suspend" to > "nothing". Seems like some ubuntu users had the same issue as I found the > workaround there. > > Kind regards, > Matthias > > > Am 16.08.2013 08:44, schrieb Adrian Chadd: > > Hi! > > I'm glad someone else is seeing this! > > I have the same behaviour with KDE4 on my T60 and T400. If I go to run > amiwm (because hey, Workbench is awesome!) it doesn't happen. > > .. and bah, I wish the resume worked for you. It works fine for me on > T42i, T60, T400. > > > > -adrian > > > > On 15 August 2013 23:32, Matthias Petermann wrote: > >> >> Hello, >> >> I have a Lenovo X121e running Current with X and the Gnome desktop. >> Beside other issues[1] there is a strange behavior of Gnome-Desktop (and >> GDM too). When I press "Fn" without any additional key, the device >> immediately goes to sleep. As the X121e cannot resume properly from sleep, >> this forces me to reboot. >> >> This problem appears to be only exist when using Gnome / GDM. >> Pure X with TWM doesn't have this issue. >> >> I already tried to re-map the Fn key (I found in some mailing this might >> have the keycode 150) to a "less dangerous" key: >> $ xmodmap -e "keycode 150 = Delete" >> this brought no change. >> >> Has anyone an idea if Gnome re-maps the keys in some way or how I can >> disable this? At the moment this is the only blocker to use this Laptop for >> daily work, as I tend to accidently touch the Fn key more often than I want >> to reboot ;-) >> >> Thanks in advance & kind regards, >> Matthias >> >> >> [1] >> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=544740+551865+/usr/local/www/db/text/2013/freebsd-current/20130707.freebsd-current >> _______________________________________________ >> 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" >> > > >