W00t finally got my Logitech G7 fully functioning. Here are my config files for reference (yours will be different)

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "evdev"
        Option          "CorePointer"
        Option          "Dev Name"      "Logitech USB Receiver"
        Option          "Dev Phys"      "usb-0000:00:1d.0-1/input0"
        Option          "Device"        "/dev/input/event1"
        Option          "Buttons"       "8"
        Option          "ZAxisMapping"  "4 5 7 8"
~/.xbindkeysrc (I use the Opera browser)
#Back Button
"/usr/bin/xvkbd -xsendevent -text "\[BackSpace]""
   m:0x0 + b:8
#Right scroll
"/usr/bin/xvkbd -xsendevent -text "\[Right]""
   m:0x0 + b:6
#Left Scroll
"/usr/bin/xvkbd -xsendevent -text "\[Left]""
   m:0x0 + b:7
Originally I had lots of trouble with xbindkeys. If you can't get it working, do what detyabozhye suggest and config your keys one by one. Remember to killall xbindkeys and rerun it to refresh the settings.

edit: "right" and "left" should both have capital first letters. ie "Right", "Left"