Sway Working on 12.0?

Pete Wright pete at nomadlogic.org
Sun Jan 13 03:12:03 UTC 2019


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



More information about the freebsd-x11 mailing list