Thursday, November 4, 2010

xev + filtering

Code: xev and filter to run on its output
xev | sed -n 's/^.*keycode *\([0-9]\+\).*$/keycode \1 = /p' | uniq
from:
 
individual filter on output:
xev | sed -n 's/^.*keycode *\([0-9]\+\).*$/keycode \1 = /p' 
 
http://www.gentoo-wiki.info/HOWTO_Use_Multimedia_Keys#xev

No comments:

Post a Comment