Hello T-G-R!
In continuation to my previous email, also "Stylus Input" now works. So
2) and 3) are done.
I have attached my system config with this email for your use. ☺
I will let you know once I fugured out 1) Lid Buttons with Mark.
Regards,RG.On Sat, 2019-04-20 at 00:04 -0400, Raghav Gururajan wrote:
> 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 <r...@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/i
> > ndex.php/Wacom_tablet>,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

(use-modules
	(gnu)
	(gnu system nss)
	(gnu services authentication))
(use-service-modules desktop xorg)
(use-package-modules certs gnome xdisorg)
(operating-system
	(host-name "secondary")
	(timezone "America/Toronto")
	(locale "en_CA.utf8")
	(bootloader
		(bootloader-configuration
			(bootloader
				(bootloader
					(inherit grub-bootloader)
					(installer #~(const #t))))))
	(mapped-devices
		(list 
			(mapped-device
				(source (uuid "41d10f4e-cfe4-42b9-9b10-fd98a8d08f08"))
				(target "rg-root")
				(type luks-device-mapping))))
	(file-systems
		(cons
			(file-system
				(device (file-system-label "rg-root"))
				(mount-point "/")
				(type "btrfs")
				(dependencies mapped-devices))
			%base-file-systems))
	(users
		(cons
			(user-account
				(name "rg")
				(comment "Raghav Gururajan")
				(group "users")
				(supplementary-groups '("wheel" "netdev" "lp" "cdrom" "audio" "video" "tape" "kvm"))
				(home-directory "/home/rg"))
			%base-user-accounts))
	(packages
		(cons*
			nss-certs
			gvfs
			evolution-data-server
			%base-packages))

	(services
		(cons*
			(service gnome-desktop-service-type)
			(service fprintd-service-type)
			(set-xorg-configuration
				(xorg-configuration
					(modules (cons xf86-input-wacom
							%default-xorg-modules))))
			%desktop-services))
	(name-service-switch %mdns-host-lookup-nss))

Reply via email to