A hah! you're right. It's the amixer command that's not working, not the 
keycode... that's a good hour wasted researching the wrong problem.  
Thanks! I should be able to muddle through now :)

On Friday, 9 July 2021 at 13:53:56 UTC+1 Kai Stian Olstad wrote:

> On 09.07.2021 13:10, Matthew Barnard wrote:
> > Hi,
> > 
> > I'd really appreciate if anyone can offer some advice. I'm new to Qtile 
> > and
> > I'm just having trouble mapping my media keys on a Logitech 810 as the 
> > XF86
> > keys aren't working, which seems a common quirk with this keyboard,
> > although it was working on GNOME.
>
> I don't think it's a quirk with your keyboard to me it seams very 
> normal.
>
>
> > Using Evtest, i've found what key codes are being sent, but I don't 
> > know
> > how to pass them in the Key definition in Qtile, as they seem to be in 
> > a
> > different format.
>
> The keys in Qtile is XF86AudioRaiseVolume and XF86AudioLowerVolume.
> I have this in my config
>
> Key([], "XF86AudioRaiseVolume", lazy.spawn("amixer -D pulse sset Master 
> 1%+"), desc='Volume up'),
> Key([], 'XF86AudioLowerVolume', lazy.spawn('amixer -D pulse sset Master 
> 1%-'), desc='Volume down'),
>
>
> -- 
> Kai Stian Olstad
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/c1436dec-25a6-416e-871b-30479f946076n%40googlegroups.com.

Reply via email to