From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: 1) Lid Buttons 2) Stylus Input 3) Fingerprint Scanner Date: Fri, 12 Apr 2019 14:30:06 -0400 Message-ID: <87sgunvzxy.fsf@netris.org> References: <987892fb46a1f6c22736cd8a6ab63a94e5063b31.camel@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hF0xt-00011B-Vh for help-guix@gnu.org; Fri, 12 Apr 2019 14:31:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hF0xs-0001TQ-RJ for help-guix@gnu.org; Fri, 12 Apr 2019 14:31:53 -0400 Received: from world.peace.net ([64.112.178.59]:44766) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hF0xs-00019E-Le for help-guix@gnu.org; Fri, 12 Apr 2019 14:31:52 -0400 In-Reply-To: <987892fb46a1f6c22736cd8a6ab63a94e5063b31.camel@disroot.org> (Raghav Gururajan's message of "Mon, 08 Apr 2019 11:32:01 -0400") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Raghav Gururajan Cc: help-guix@gnu.org, =?utf-8?Q?Cl=C3=A9ment?= Lassieur Hi Raghav, Raghav Gururajan writes: > What and how should I do to enable the following in my Thinkpad X200T (X200 Tablet)? As far as I know, we don't yet have "out of the box" support for the Thinkpad X200 Tablet. Since I don't have one myself, I can only give you some pointers. > 1) Buttons on the lid like screen rotation, lock screen etc. Those buttons act like special keys on your keyboard. The following web page lists their scancodes, and gives some advice on how to set things up so that the buttons behave as expected: https://www.thinkwiki.org/wiki/Tablet_Hardware_Buttons The page recommends using xbindkeys, which is provided by the Guix "xbindkeys" package, but depending on which desktop environment you use, there might be a more straightforward way to arrange for a script to be run when you press a key. For example, in GNOME, if you go into the "Keyboard" section of GNOME settings, scroll down to the bottom of the list of keyboard shortcuts, and press the "+" at the bottom, you can arrange for a script to be run when you press a given key. It might work for these special keys as well, although GNOME probably won't know the proper name of the key. > 2) Input using stylus pen. The touch screen is apparently a Wacom device. From GNOME, you might be able to easily set it up from the "Wacom" section of GNOME settings. I don't know about other desktop environments off-hand. I will note, however, that the "xsetwacom" program, which apparently can be used to enable the Wacom device within an Xorg session, should be provided by our "xf86-input-wacom" package. You might find other useful information on , although note that "permanent configuration" will be much different on a Guix system than on Arch. To set it up permanently, it *might* be sufficient to add something like the following to your OS configuration, merging it with your existing 'services' field if needed: (services (append (list ;; other services go here (set-xorg-configuration (xorg-configuration (modules (cons xf86-input-wacom %default-xorg-modules))))) %desktop-services)) with at least the following imports near the top of the file: (use-service-modules desktop xorg) (use-package-modules xdisorg) > 3) Fringerprint scanner for authentication. I've never tried to use a fingerprint scanner, but I see that Guix does provide a "Fingerprint Service", which "provides a DBus service to read and identify fingerprints via a fingerprint sensor." To enable it, add the following service: (service fprintd-service-type) Please let us know how it goes. With your help, we may be able to make this nicer for the next X200 Tablet user. Regards, Mark