I was able to assign the rotate commands to the bezel buttons adding the following to the xbindkeys configuration file
# screen rotate left on Lenovo X61 XF86TouchpadToggleand it works quite well. The problem now is that the pen or mouse function does not rotate making it unusable. Is there a utility to rotate the mouse orientation? Does anyone know how to do it?
"xrandr -o left"
m:0x0 + c:199
# screen rotate left on Lenovo X61 XF86ScreenSaver
"xrandr -o normal"
m:0x0 + c:160
Thanks a lot