Skip to main content

Disable Mousepad on Dell Inspiron 1545 with Ubuntu 11.04

After upgraded to Ubuntu 11.04, I could not use the command 'sudo modprope psmouse -r' to disable. Executed that command cause my laptop hung.

This discussion "Ubuntu 11.04 with Gnome on Dell 6510: cannot disable touchpad" on UbuntuForums.org offered me a solution. Here, what I did on on my computer:

user@vn-software:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
⎜ ↳ ImPS/2 ALPS GlidePoint id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ Dell WMI hotkeys id=14 [slave keyboard (3)]
↳ Integrated Webcam id=9 [slave keyboard (3)]

Device ID for my mousepad is 13. Let find out what properties on device 13 are:

user@vn-software:~$ xinput --list-props 13
Device 'ImPS/2 ALPS GlidePoint':
Device Enabled (127): 1
Coordinate Transformation Matrix (129): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (250): 0
Device Accel Constant Deceleration (251): 1.000000
Device Accel Adaptive Deceleration (252): 1.000000
Device Accel Velocity Scaling (253): 10.000000
Evdev Axis Inversion (254): 0, 0
Evdev Axes Swap (256): 0
Axis Labels (257): "Rel X" (137), "Rel Y" (138)
Button Labels (258): "Button Left" (130), "Button Middle" (131), "Button Right" (132), "Button Wheel Up" (133), "Button Wheel Down" (134), "Button Horiz Wheel Left" (135), "Button Horiz Wheel Right" (136)
Evdev Middle Button Emulation (259): 0
Evdev Middle Button Timeout (260): 50
Evdev Wheel Emulation (261): 0
Evdev Wheel Emulation Axes (262): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (263): 10
Evdev Wheel Emulation Timeout (264): 200
Evdev Wheel Emulation Button (265): 4
Evdev Drag Lock Buttons (266): 0

The Device Enabled property for device #13 (Touchpad) is 127 and it set to 1. Let turned it off.

user@vn-software:~$ xinput set-prop 13 127 0

It worked! I loved it.

So, to enable the touchpad, I will using this command "xinput set-prop 13 127 1" on my computer. Please note: The device ID and device enabled property for the touchpad on your computer may not same as mine. You need to find out yours by using commands 'xinput list' and 'xinput --list-props' as describe above.

Updated Aug. 13, 2011: Make sure you check device number by using command "xinput list" before disable your touchpad. Otherwise, you may disable the wrong device.

Comments

Popular posts from this blog

Visual Studio 2010 Keyboard Shortcuts

These keyboard shortcuts are helpful. Some of them are not document in Visual Studio 2010 Express, for example: <Ctrl> F5 to run the application without debug <Ctrl> Period or <Ctrl> Space for code completion. <Ctr> <Shift> <B> to build the solution For more download the Visual Studio 2010 Keybinding Posters from Microsoft. Credit:  Visual Studio 2010 Keyboard Shortcuts - ScottGu's Blog DevCurry: 30 Favorite Visual Studio Keyboard Shortcuts

Install Android Development Tools on Ubuntu 12.10 (Quantal Quetzal)

First thing first. Make sure Java Development Kit (JDK) install. Go to Terminal and type 'Java -version' to check. You should see the following: java version "1.7.0_07" OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2a-1ubuntu1) OpenJDK Server VM (build 23.2-b09, mixed mode) If Java Development Kit is not installed, you can install it from Ubuntu Software Center. Click on Ubuntu Software Center icon from left side bar and search for Java. Here, I selected 'OpenJava JDK 7 runtime' Go to http://www.eclipse.org/downloads/ to download Eclipse Classic 4.2.1 (Juno) Go to your downloads folder and extract it. Move 'eclipse' folder to your home directory. Launch Eclipse 4.2.1 (Juno) from 'eclipse' folder. Install Android Developer Tools (ADT) plugin for Eclipse. Click on Help -> Install New Software and add the URL 'https://dl-ssl.google.com/android/eclipse/' on the input text box next to 'Work with' and click the 'Add

Recent Activity

It’s fun to check my email account recent activity. Here is the fun. Someone attempted to log in to my account from other countries. It is good to check activity log in your Gmail, Hotmail, Yahoo, Facebook, and other accounts frequently.