Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
faq [2012/11/28 13:42] – simplify the command to [re]start xfwm4 ryenusfaq [2012/12/19 16:53] – Corrected sed command for filtering out xev-generated keycodes. merowig
Line 153: Line 153:
  
  
-    xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'+    xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
 then press key of which keycode you need, eg. I press "Stop" and got output "174 XF86AudioStop". then press key of which keycode you need, eg. I press "Stop" and got output "174 XF86AudioStop".