all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Raghav Gururajan <rvgn@disroot.org>
To: Tobias Geerinckx-Rice <me@tobias.gr>, help-guix@gnu.org
Cc: Mark H Weaver <mhw@netris.org>
Subject: Re: 1) Lid Buttons 2) Stylus Input 3) Fingerprint Scanner
Date: Sat, 20 Apr 2019 00:04:39 -0400	[thread overview]
Message-ID: <5ce94931a5947246cfe5d2f9c05c61c878e789f5.camel@disroot.org> (raw)
In-Reply-To: <87imvg9zlp.fsf@nckx>

[-- Attachment #1: Type: text/plain, Size: 4088 bytes --]

Hello T-G-R!
Sorry for the late reply. Based on the conversation between me and
Mark, the fprintd now works. You will have to add "(gnu services
authentication)" in "use-modules" and "(service fprintd-service-type)"
in "services"; of system config.
Regards,RG.On Sun, 2019-04-14 at 21:05 +0200, Tobias Geerinckx-Rice
wrote:
> 
> Error verifying signature: Failed to execute gpg.
> Raghav,
> Mark H Weaver wrote:Raghav Gururajan <rvgn@disroot.org> writes:What
> and how should I do to enable the following in my Thinkpad X200T
> (X200 Tablet)?
> I just got an X230T so I'm very interested in getting the same things
> working.
> 1) Buttons on the lid like screen rotation, lock screen etc.
> Those buttons act like special keys on your keyboard.  The following
> webpage lists their scancodes, and gives some advice on how to set
> thingsup 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 berun when you press a key.
> Exactly.  I used ‘xev’ (available in Guix) to get the keycode for
> what I presume is the screen rotation button(? there are two, the
> pictograms are pretty vague, but only one generates classic key
> codes) and added
>   bindsym XF86TaskPane    exec --no-startup-
> id   /home/nckx/.config/i3/rotate-screen.sh
> to my ~/.config/i3/config.  rotate-screen.sh is a simple (well…)
> shell script that uses xrandr to query the current screen orientation
> and cycle to the next one (I use left/right/normal, never inverted):
>   xrandr --output LVDS-foo --rotate normal|left|right|...
> The only problem is that pressing the button once produces a deluge
> of press events.  Luckily the number is usually constant (so it's not
> just a ‘repeat’ without a ‘delay’) making the end result
> predictable.  In practice it means I'm cycling backwards through the
> orientations.
> Good enough for now.  It's not like I can actually use i3 properly in
> tablet mode anyway.  Will this finally push me to GNOME?
> Haha no.
> 2) Input using stylus pen.
> The touch screen is apparently a Wacom device.  From GNOME, you might
> beable to easily set it up from the "Wacom" section of GNOME
> settings.  Idon't know about other desktop environments off-hand.
> I will note, however, that the "xsetwacom" program, which apparently
> canbe used to enable the Wacom device within an Xorg session, should
> beprovided by our "xf86-input-wacom" package.  You might find other
> usefulinformation on <https://wiki.archlinux.org/index.php/Wacom_tabl
> et>,although note that "permanent configuration" will be much
> different on aGuix system than on Arch.
> To set it up permanently, it *might* be sufficient to add something
> likethe 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))
> I'm sure this works fine, but at least the X230T's (multi-)touch
> screen is fully supported by libinput as well:
>   Section \"InputClass\"   Identifier
> \"Touchscreens\"   MatchIsTouchscreen \"on\"   MatchDevicePath
> \"/dev/input/event*\"   Driver \"libinput\"  EndSection
> So I don't think the Wacom driver (which I don't much like anyway) is
> mandatory.
> 3) Fringerprint scanner for authentication.
> I'm still stuck on ‘no value specified for service of type 'fprintd'’
> (see elsewhere in this thread) but admittedly I gave it all of 5
> seconds before moving on to more important stuff.  It's a fun gimmick
> though :-)
> Kind regards,
> T G-R


[-- Attachment #2: Type: text/html, Size: 6178 bytes --]

  reply	other threads:[~2019-04-20  4:04 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-08 15:32 1) Lid Buttons 2) Stylus Input 3) Fingerprint Scanner Raghav Gururajan
2019-04-12 18:30 ` Mark H Weaver
2019-04-12 18:45   ` Mark H Weaver
2019-04-13  4:55     ` Raghav Gururajan
2019-04-13  5:21     ` Raghav Gururajan
2019-04-13 18:16       ` Mark H Weaver
2019-04-13 21:14       ` Raghav Gururajan
2019-04-13 21:24       ` Raghav Gururajan
2019-04-13 21:46       ` Raghav Gururajan
2019-04-14  2:46         ` Mark H Weaver
2019-04-14 18:24           ` Tobias Geerinckx-Rice
2019-04-14 18:33           ` Tobias Geerinckx-Rice
2019-04-16 20:07             ` Trouble getting 'fprintd-service-type' to work Mark H Weaver
2019-04-17  6:51               ` Danny Milosavljevic
2019-04-20 20:21                 ` Mark H Weaver
2019-04-24 16:57                   ` Danny Milosavljevic
2019-04-24 18:41                     ` Tobias Geerinckx-Rice
2019-04-24 20:23                       ` Danny Milosavljevic
2019-04-15 15:44         ` 1) Lid Buttons 2) Stylus Input 3) Fingerprint Scanner Raghav Gururajan
2019-04-16 20:21           ` Mark H Weaver
2019-04-17  4:33           ` Raghav Gururajan
2019-04-18  0:09             ` Mark H Weaver
2019-04-18  4:54             ` Raghav Gururajan
2019-04-20  4:00               ` Raghav Gururajan
2019-04-21 14:28                 ` Raghav Gururajan
2019-04-22  4:03                   ` Raghav Gururajan
2019-05-03  5:58             ` Raghav Gururajan
2019-04-14 19:05   ` Tobias Geerinckx-Rice
2019-04-20  4:04     ` Raghav Gururajan [this message]
2019-04-21 14:33       ` Raghav Gururajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5ce94931a5947246cfe5d2f9c05c61c878e789f5.camel@disroot.org \
    --to=rvgn@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=me@tobias.gr \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.