xbindkeys and xvkbd

Mikael Backman mback99 at glocalnet.net
Thu Dec 20 15:00:30 UTC 2007


I try to remap certain keys on my new keyboard

Just as a test I try to  map F1 to one of the speciall G keys on my
keybord

This is my entry in .xbindkeysrc

"/home/mix/.g15macro/g15.sh  &"
 m:0x10 + c:137
 Mod2 + NoSymbol

and this is my macro g15.sh

#!/bin/bash
sleep 0.1
xvkbd -text \XK_F1

and then I run  killall -HUP xbindkeys
but it doesn't work.. Any help would be appreciated  :)
....







More information about the ubuntu-users mailing list