From owner-freebsd-x11@freebsd.org Sun Jan 13 03:12:02 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5CB81485FC4 for ; Sun, 13 Jan 2019 03:12:02 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [140.82.23.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9EE0A88220; Sun, 13 Jan 2019 03:11:52 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.190] (cpe-23-243-162-239.socal.res.rr.com [23.243.162.239]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 708ebe93 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Sat, 12 Jan 2019 19:11:49 -0800 (PST) Subject: Re: Sway Working on 12.0? To: Jan Beich Cc: "freebsd-x11@freebsd.org" References: <23225300-6f80-f39b-783a-3e9a9b623a7a@nomadlogic.org> From: Pete Wright Message-ID: Date: Sat, 12 Jan 2019 19:11:48 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 9EE0A88220 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 140.82.23.70 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-4.66 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.46)[ip: (-8.99), ipnet: 140.82.16.0/21(-4.50), asn: 20473(1.28), country: US(-0.08)]; MX_GOOD(-0.01)[cached: mail.nomadlogic.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.89)[-0.894,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:140.82.16.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2019 03:12:03 -0000 On 1/12/19 5:37 PM, Jan Beich wrote: > Pete Wright writes: > >> hi there, >> i've been trying to get the sway pkg working on my 12.0-RELEASE system >> and am kind of stuck. i was wondering if anyone else has it working >> on their end. i am able to start sway, my mouse works, but i am >> unable to get keyboard input working. > If "libinput debug-events" shows keypresses try adding > > input * { > # required for Mod4 aka Super > xkb_rules evdev > } > >> according to the log output it looks like sway is detecting my >> keyboard device via libinput, and the fact that i have a working mouse >> is kind of confusing to me. so any pointers would be really >> appreciated! > Which keys did you try pressing? Maybe add "exec xterm -e xev" to the > config in order to debug key bindings. thanks Jan for the two tips.  i didn't think of exec'ing xterm on startup of sway, so after doing that i verified i was getting key-presses.  then adding the input{} statement did the trick. cheers! -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA