Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36

Thread: Ubuntu 11.04 with Gnome on Dell 6510: cannot disable touchpad

  1. #31
    Join Date
    Dec 2008
    Location
    Si Valley
    Beans
    66
    Distro
    Ubuntu 12.04 Precise Pangolin

    Smile Re: Ubuntu 11.04 with Gnome on Dell 6510: cannot disable touchpad

    Quote Originally Posted by mikejonesey View Post
    with;

    xinput set-prop [device id (14)] [enabled propery id (usualy 125)] [on/off (0/1)]
    Thank you very much, mikejonesey! It worked great, mate!

  2. #32
    Join Date
    Jun 2011
    Beans
    15

    Smile Re: Ubuntu 11.04 with Gnome on Dell 6510: cannot disable touchpad

    @mfergo: I have another question dude!

    yes your following script works properly bud how can we integrate it with the our keyboard shortcuts?
    for example in my Dell 5110 how can we define the script for FN+F3 to enable and disable the touchpad?

    this is my problem why it does not work in the normal way here quality of work becomes important

  3. #33
    Join Date
    Feb 2010
    Beans
    9

    Re: Ubuntu 11.04 with Gnome on Dell 6510: cannot disable touchpad

    In a brand new Dell Inspiron N5110 (and Ubuntu 11.10 64bits), the scripts of @d.burba, @mikejonesey and @fujisan did not work properly for me, so I did another version that did. Hope it helps:
    Code:
    #!/bin/bash
    cd $HOME
    touchPadId=$(xinput list | grep -i Point | grep "PS/2 Generic Mouse" | cut -d "=" -f 2 | cut -b 1-2)
    #echo Device ID: $touchPadId
    
    if [ "$touchPadId" = "" ]; then
        echo "Unable to identify device id..."
    else
        enabledId=$(xinput --list-props $touchPadId | grep -i enabled | sed 's/.*(//' | sed 's/).*//')
        #echo Property ID: $enabledId
        status=$(xinput --list-props $touchPadId | grep -i enabled | sed 's/.*://')
        #echo Status: $status 
        if [ $status = 0 ]; then
            xinput set-prop $touchPadId $enabledId 1
            echo Trackpad Enabled
        else
            xinput set-prop $touchPadId $enabledId 0
            echo Trackpad Disabled
        fi
    fi
    Last edited by shevek.; January 7th, 2012 at 05:50 PM.

  4. #34
    Join Date
    Jan 2010
    Location
    Turkey
    Beans
    16
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile Re: Ubuntu 11.04 with Gnome on Dell 6510: cannot disable touchpad

    thank you so much shevek for this script; I've been looking for this.. Unfortunately neither Jupiter nor Touchpad Indicator didn't work for my Inspiron 5110..

  5. #35
    Join Date
    Oct 2012
    Beans
    2

    Re: Ubuntu 11.04 with Gnome on Dell 6510: cannot disable touchpad

    hi, i´m completely new to linux and i have the same problem, i need to disable the touchpad

    i have Dell inspiron n5110

    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ Genius Optical Mouse id=11 [slave pointer (2)]
    ⎜ ↳ PS/2 Generic Mouse id=13 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ Laptop_Integrated_Webcam_HD id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=14 [slave keyboard (3)]



    what shall i do

  6. #36
    Join Date
    Oct 2012
    Beans
    2

    Re: Ubuntu 11.04 with Gnome on Dell 6510: cannot disable touchpad

    This works great thank you very much in ubuntu 12.10 64x >>> what programming language is this


    Quote Originally Posted by shevek. View Post
    In a brand new Dell Inspiron N5110 (and Ubuntu 11.10 64bits), the scripts of @d.burba, @mikejonesey and @fujisan did not work properly for me, so I did another version that did. Hope it helps:
    Code:
    #!/bin/bash
    cd $HOME
    touchPadId=$(xinput list | grep -i Point | grep "PS/2 Generic Mouse" | cut -d "=" -f 2 | cut -b 1-2)
    #echo Device ID: $touchPadId
    
    if [ "$touchPadId" = "" ]; then
        echo "Unable to identify device id..."
    else
        enabledId=$(xinput --list-props $touchPadId | grep -i enabled | sed 's/.*(//' | sed 's/).*//')
        #echo Property ID: $enabledId
        status=$(xinput --list-props $touchPadId | grep -i enabled | sed 's/.*://')
        #echo Status: $status 
        if [ $status = 0 ]; then
            xinput set-prop $touchPadId $enabledId 1
            echo Trackpad Enabled
        else
            xinput set-prop $touchPadId $enabledId 0
            echo Trackpad Disabled
        fi
    fi
    Last edited by D007a; October 26th, 2012 at 03:50 PM.

Page 4 of 4 FirstFirst ... 234

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
  •