Mapping marble mouse buttons in ubuntu (custom configuration)


I recently purchased a marble mouse but soon found out that the mouse buttons do not function as expected on Ubuntu. This was soon remedied with the following tweaks to the Edit the locate xorg.conf.d directory using command

locate xorg.conf.d | grep d$

edit the 50-marblemouse.conf in the xorg.conf.d, replace the inputClass with the section below

### START FILE SNIPPET ###

Section "InputClass"
      Identifier "Marble Mouse"
      MatchProduct "Logitech USB Trackball"
      MatchIsPointer "on"
      MatchDevicePath "/dev/input/event*"
      Driver "evdev"
      Option "ButtonMapping" "1 8 3 4 5 6 7 2 9"
      Option "EmulateWheel" "true"
      Option "EmulateWheelButton" "9"
      Option "ZAxisMapping" "4 5"
      Option "XAxisMapping" "6 7"
      Option "Emulate3Buttons" "false"
EndSection

### END FILE SNIPPET ###

Button numbers

1 – Large left button

8- Small left button

3 – Large right button

9 – Small left button

Setting up mediatomb using ffpstick on a Zyxcel NSA210


  1. Download FFPStick 0.5 from here
  2. Format a USB stick with FAT16, extract the contents of the FFPStick Archive you downloaded on the the root of the USB stick.
  3. Shutdown the NSA210, Plug in the USB stick and reboot
  4. wait for 2 minutes and then login to the box via telnet
  5. change root password, delete account called “user”
  6. start ssh with
    chmod a+x /ffp/start/sshd.sh
    /ffp/start/sshd.sh start
  7. logout from telnet and log back in via ssh, login as root with the newly changed password.
  8. stop telnet and then disable telnet service using commands
    chmod -x /ff/start/telnetd.sh
    /ffp/start/telnet.sh stop
  9. Start mediatomb to create the initial config file by using the command
    chmod -x /ff/start/mediatomb.sh
    /ffp/start/mediatomb.sh start
  10. Wait for 30 seconds and then issue the stop command to stop mediatomb
    /ffp/start/mediatomb.sh stop
  11. Customize the /ffp/var/mediatomb/config.xml file
  12. Start mediatomb again, navigate to http://cerberos:49152 and begin adding media to database.
  13. To remove the listing for PC directory add the following line under <server>
    <pc-directory upnp-hide=”yes”/>
  14. Verify that the upnp server is reachable using the client on a droid or using enna or moovida.