If you find difficulties running your XBOX 360 controller, then this tutorial will help you install it on a computer running Ubuntu/Linux Mint, and also show you how to configure it. This tutorial is workable for both wired or wireless X-Box 360 controllers.
To be able to use your Xbox 360 wired/wireless controller under Ubuntu 12.04 (Precise Pangolin) or Linux Mint 13, you need first to install some required packages. So, open the terminal and run this command:
sudo apt-get install --install-recommends jstest* joystick xboxdrv
Connect now your game controller to your PC via USB (wired) or connect your XBOX 360 PC wireless gaming receiver for your wireless controller, then run this command to start the configuration:
In the window that shows up, select your controller (Microsoft X-Box 360 pad, Generic X-Box pad, etc.) and click Properties:
Note If your controller is not listed, try to click the "Refresh" button.
A new window will pop-up which will help you calibrate your gaming controller, remap the buttons of your game controller (changing the order of axis and buttons), etc.
After you finish your configuration, save your new settings and close the window. You will be able now to use your Xbox 360 controller to play games under Ubuntu/Linux Mint.