Category Archives: Uncategorized

How to disable the Forward/Back buttons on mouse

Source: by Gilles

Start the program xev in a terminal. Move the mouse inside the xev window; you’ll see a lot of stuff scroll by. Press each button in turn. Then switch back to the terminal window and press Ctrl+Cxev shows a description of each input event, in particular ButtonPress and ButtonReleasefor mouse clicks (you’ll also see a number of MotionNotify for mouse movements and other events).

It’s likely that your forward and back buttons are mapped to mouse buttons, maybe buttons 8 and 9:

ButtonPress event, serial 29, synthetic NO, window 0x2e00001,
    root 0x105, subw 0x0, time 2889100159, (166,67), root:(1769,98),
    state 0x0, button 8, same_screen YES

If that’s the case, remap these buttons to a different action in your browser; or to disable the buttons altogether, put these lines in a file called ~/.Xmodmap:

! Disable buttons 8 and 9
pointer = 1 2 3 4 5 6 7 0 0

Test it with the command xmodmap ~/.Xmodmap. Most desktop environments and window managers run this command automatically when you log in; if yours doesn’t, arrange for it to run when X starts.

It’s also possible that your mouse sends a keyboard event when you press these buttons:

KeyPress event, serial 32, synthetic NO, window 0x2e00001,
    root 0x105, subw 0x0, time 2889100963, (957,357), root:(2560,388),
    state 0x0, keycode 166 (keysym 0x1008ff26, XF86Back), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

In that case, put lines like these in ~/.Xmodmap:

keycode 166 = NoSymbol
keycode 167 = NoSymbol

Helpful link: Reprogram mouse buttons

How to Install the MySQL ODBC Driver on Ubuntu 16.04 or Linux Mint 18.x


# Download the ODBC driver:

Download ODBC driver for Ubuntu 16.04


# Extract:

tar -xvf mysql-connector-odbc-5.3.10-linux-ubuntu16.04-x86-64bit.tar.gz

# Copy the driver to the ODBC folder:

sudo cp mysql-connector-odbc-5.3.10-linux-ubuntu16.04-x86-64bit/lib/libmyodbc5* /usr/lib/x86_64-linux-gnu/odbc/

# Install:

sudo mysql-connector-odbc-5.3.10-linux-ubuntu16.04-x86-64bit/bin/myodbc-installer -d -a -n "MySQL" -t "DRIVER=/usr/lib/x86_64-linux-gnu/odbc/;"

# Check:

sudo mysql-connector-odbc-5.3.10-linux-ubuntu16.04-x86-64bit/bin/myodbc-installer -s -a -c2 -n "test" -t "DRIVER=MySQL;SERVER=;DATABASE=mysql;UID=root;PWD=password"

[Result should be “Success”]

# Download the 32-bit ODBC driver:

Download 32-bit ODBC driver for Ubuntu 16.04


# Extract:

tar -xvf mysql-connector-odbc-5.3.10-linux-ubuntu16.04-x86-32bit.tar.gz

# Copy the driver to the ODBC folder:

sudo cp mysql-connector-odbc-5.3.10-linux-ubuntu16.04-x86-32bit/lib/libmyodbc5* /usr/lib/i386-linux-gnu/odbc/

# Install:

sudo mysql-connector-odbc-5.3.10-linux-ubuntu16.04-x86-32bit/bin/myodbc-installer -d -a -n "MySQL" -t "DRIVER=/usr/lib/i386-linux-gnu/odbc/;"

# Check:

sudo mysql-connector-odbc-5.3.10-linux-ubuntu16.04-x86-32bit/bin/myodbc-installer -s -a -c2 -n "test" -t "DRIVER=MySQL;SERVER=;DATABASE=mysql;UID=root;PWD=password"

[Result should be “Success”]

How to: Install Adobe Photoshop CS6 in Ubuntu Linux Machine

by Stanley @

Today we will make a strong tutorial on How to install adobe CS5, CS6 or CC (Creative Cloud) within a Linux Machine (Ubuntu, Kubuntu and more). You will have to be carefull with our explanations because if you will miss a step then you can install in a wrong way and bugs will appear. So let’s start.

Note: In this tutorial you will learn how to download Adobe Photoshop CS6 free, download photoshop cs5 for free and the newest version from Adobe, CC (download photoshop CC for free). This use this tutorials as a lesson. We strongly recommend to buy a Adobe Photoshop licence from Creative Cloud. With a subscription at Adobe Creative Cloud you can use any tool from Adobe.

STEP 1: First of all you will need a ubuntu machine and a internet connection:);
STEP 2: On ubuntu, go at Ubunte Software Center and search for Wine 1.2 or later;
STEP 3: After finishing the wine install from Ubuntu Center, you will have to download a Adobe PS for Ubuntu;
STEP 4: Download links:

  • Download link for Adobe Photoshop CS5 from HERE.
  • Download link for Adobe Photoshop CS6 from HERE.

Note that these installers can be used for Linux and Windows.

STEP 5: After downloading the desired Photoshop version you need to UnZip the archive within a folder anywhere you want. But its recommended to unzip the files on your desktop (For a easy use :) );
STEP 6: Go on your Adobe PS extracted folder and search for the .EXE file -> Right click on the .EXE and select Open with wine windows program loader.
photoshop wine ubuntu install
STEP 7: Continue the installing for the PS as like on a Windows Machine.(Because Wine will open the normal installer on your Ubuntu).
NOTE: Magic Fix will run in background during installation to make run Photoshop properly on Ubuntu without any problem. With this fix you can run Adobe Fireworks CS5, CS6 if you have on Windows Drive. STEP 8: After installing its done a Shotcut will be made on your ubuntu desktop. Now open it and ENJOY it.


Fix Gmail IMAP Invalid Credentials or Web Login Requires (Failure) Error

When accessing Gmail via IMAP access by using any email client including iPhone, Apple Mail, Thunderbird and Outlook, the following error message may appear, requesting user to manually input the user name and password again in order to authenticate with Google’s Gmail or GoogleMail IMAP server again.

Your IMAP server wishes to alert you to the following: Invalid credentials (Failure)

The error looks like a Gmail mechanism to protect against robots or automated scripts, and probably to stop and halt abnormal bandwidth utilization (upload and download) or abusing account activity such as using Gmail as storage space drive or transferring other mail account to Gmail.

Another reason for the invalid credentials or web login requires error to happen is too frequent mail checking. Gmail Help recommends to set mail client to check for new messages not more than once every 10 minutes.

If you’re very sure that you’re using a correct password and username (with after the user name), and not checking email in Gmail’s Inbox too frequently, you may need to clear and unlock the CAPTCHA. To unlock CAPTCHA for Gmail account, go to the following URL:

Note: For Google Apps user, visit instead, with as the valid domain name.

Type in the email address, password for the Gmail address, and fill in the correct Captcha validation. Click on “Unlock” button to fix the IMAP failure error.

For user who still faces the problem after clear the Captcha can try to use an alternative IMAP server instead, which is on SSL port 993.