Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2019 19:11:48 -0800
From:      Pete Wright <pete@nomadlogic.org>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org>
Subject:   Re: Sway Working on 12.0?
Message-ID:  <a02726ad-3cce-a486-d59e-ccd684ad115e@nomadlogic.org>
In-Reply-To: <zhs5-uyll-wny@FreeBSD.org>
References:  <23225300-6f80-f39b-783a-3e9a9b623a7a@nomadlogic.org> <zhs5-uyll-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 1/12/19 5:37 PM, Jan Beich wrote:
> Pete Wright <pete@nomadlogic.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a02726ad-3cce-a486-d59e-ccd684ad115e>