Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754296AbcLZPKW (ORCPT ); Mon, 26 Dec 2016 10:10:22 -0500 Received: from forward1j.cmail.yandex.net ([5.255.227.19]:48743 "EHLO forward1j.cmail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750975AbcLZPKV (ORCPT ); Mon, 26 Dec 2016 10:10:21 -0500 Authentication-Results: mxback5h.mail.yandex.net; dkim=pass header.i=@yandex.com.tr From: Ozgur Karatas Envelope-From: mueddib@yandex.com.tr To: Linus Torvalds , Paul Menzel Cc: Len Brown , Lv Zheng , Linux Kernel Mailing List In-Reply-To: References: <85733318-50fd-80b7-af45-b4cc76e8a076@molgen.mpg.de> Subject: Re: Question regarding power button of Dell XPS13 MIME-Version: 1.0 Message-Id: <694181482765018@web26h.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 26 Dec 2016 17:10:18 +0200 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1392 Lines: 37 26.12.2016, 00:27, "Linus Torvalds" : > On Fri, Dec 23, 2016 at 4:36 AM, Paul Menzel wrote: >>  I heard that you both have a Dell XPS13. I got the “revision” 9360, and >>  installed Debian Stretch/testing on it with Linux 4.8.15 and Linux 4.9-rc8. >> >>  When pressing the power button the GNOME dialog, asking what to do (restart, >>  power off, …) doesn’t appear. Hello, I don't think it's problem about to kernel. The problem related to GNOME . I used last time and I modified the file "gsd-media-keys-manager.c" file and added the following lines to logind.conf file: HandlePowerKey=poweroff PowerKeyIgnoreInhibited=yes This is a out of topic and XPS13 is not good, You also don't use a desktop, Suggest Openbox :) > Hmm. I don't recall ever seeing such a dialog. But I don't run Debian. > > For me it works like all power buttons on my laptops have worked > lately - it suspends the machine. > > Of course, so does just closing the lid. > > The only "bug" I've seen in this area is the design bug of the XPS13 > where there is no visible indication of the suspend state (ie the > traditional slowly pulsing LED showing that it's all nice and > suspended). But that seems to be intentional, if stupid. I think it's > the only real beef I have with the XPS13. > >                Linus Regards, Ozgur