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