Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Disable touchpad when mouse plugged in

  1. #11
    Join Date
    Jul 2009
    Beans
    2

    Re: Disable touchpad when mouse plugged in

    Ok fixed the problem for anyone else looking to do this. This is the last step for me and this script WORKS BEAUTIFULLY!.

    THANK YOU Mr. Thompson!

    Right from SHMConfig information

    In a terminal type (for Gnome/Ubuntu):
    Code:
    gksudo gedit /etc/hal/fdi/policy/shmconfig.fdi
    Then put the following code into the empty shmconfig.fdi file and save it.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
      <device>
        <match key="input.x11_driver" string="synaptics">
          <merge key="input.x11_options.SHMConfig" type="string">True</merge>
        </match>
      </device>
    </deviceinfo>
    Once again this works absolutely wonderful and it's running right from startup.

    Thank you Marine!

  2. #12
    Join Date
    Mar 2009
    Location
    Right here
    Beans
    14
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Disable touchpad when mouse plugged in

    You bet!

    You just happened to catch me while I was watching my email and was prepared to come out here to post up help. Glad you were able to get it working.

    If you make changes to it, post up and share with the Ubuntu world.

  3. #13
    Join Date
    Jan 2010
    Beans
    34

    Re: Disable touchpad when mouse plugged in

    WOOHOO! I'm using Lucid; just found this! IT WORKS!

  4. #14
    Join Date
    Apr 2008
    Location
    Philadelphia, PA USA
    Beans
    115
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Disable touchpad when mouse plugged in

    Add Maverick Meerkat to the list!

  5. #15
    Join Date
    Nov 2009
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Talking Re: Disable touchpad when mouse plugged in

    Quote Originally Posted by xMarine73 View Post
    This script works in Ubuntu 8.04, 8.10, and 9.04. Just make it executable, add it to your startup applications, and don't look back.

    Basically it detects when a mouse is plugged in (you need to modify the script in one spot to do this - it's documented in the file) and disables the touchpad. Unplugging the mouse then re-enables the touchpad. I've also included a touchpad delay when it's active and you begin typing.

    Hope it helps!
    Thanks for this! Works great!

  6. #16
    Join Date
    Oct 2007
    Beans
    10

    Re: Disable touchpad when mouse plugged in

    Not every touchpad is a Synaptics touchpad. Mine is Elantech, and that's why I had to use the UDEV method.

    I recently installed Ubuntu 10.10 32-bit on my ASUS U80A laptop to replace the Kubuntu 10.04 64-bit I had before. I used the same method for solving the touchpad problem that I had used in my previous post (link below). This post describes how to create a UDEV rule to unload the module and disable the touchpad when a USB mouse is plugged in. It's pretty easy to do, only requiring a 2-line file to be created with your text editor.

    http://ubuntuforums.org/showthread.php?t=1530332

    I just had to tweak it a bit, but the end result is that it works for me. Hope it helps some of the rest of you.

    --- UPDATE ----

    One other thing I did different was to copy my touchpad.rules file into /lib/udev/rules.d/ as 97-touchpad.rules

    This made it disable the touchpad if the mouse was already plugged in at boot.
    Last edited by gsanders99; January 6th, 2011 at 10:44 PM. Reason: adding new info

  7. #17
    Join Date
    Jan 2013
    Beans
    1

    Re: Disable touchpad when mouse plugged in

    Quote Originally Posted by xMarine73 View Post
    This script works in Ubuntu 8.04, 8.10, and 9.04. Just make it executable, add it to your startup applications, and don't look back.

    Basically it detects when a mouse is plugged in (you need to modify the script in one spot to do this - it's documented in the file) and disables the touchpad. Unplugging the mouse then re-enables the touchpad. I've also included a touchpad delay when it's active and you begin typing.

    Hope it helps!
    Hey, thanks for the .sh script it works really well (on 12.04.1). I was using touchpad-indicator however when I would put the computer to sleep it would always turn my touchpad off even with no external mouse plugged in. I also edited it instead of having gnome-panel it works with unity as well.
    Attached Files Attached Files

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •