Does anyone establish to lock the laptop mouse pad


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Does anyone establish to lock the laptop mouse pad
# 1  
Old 05-14-2011
Does anyone establish to lock the laptop mouse pad

Hi,

I just wondering if someone in the linux specifically ubuntu community accomplish on locking the mouse pad built in in the laptop just like in the windows where you can Fn+lock if im not using it and using a usb mouse instead. mine is an asus laptop.

Thanks for any reply..
# 2  
Old 05-15-2011
That's not generally a Windows feature, usually that's part of the laptop hardware itself.

The fn-keys though, may not work properly if your kernel doesn't support them. Sometimes the kernel has specific fixes for specific models.

Asus makes lots of laptops. You might as well go looking for parts for a "Ford" as look for fixes for an "Asus". What is it?
# 3  
Old 05-15-2011
Quote:
Originally Posted by Corona688
That's not generally a Windows feature, usually that's part of the laptop hardware itself.

The fn-keys though, may not work properly if your kernel doesn't support them. Sometimes the kernel has specific fixes for specific models.

Asus makes lots of laptops. You might as well go looking for parts for a "Ford" as look for fixes for an "Asus". What is it?
corona688: Thanks for the responce. I never said its a windows function the (fn+#). I mean its works in windows the fn+#. i think your right also its on a specific kernel fixes to function my objective. but i dont have time to or maybe lazy to compile fixes new kernel. Below are my procedure to achieve my objective:

1. issue command #xinput list
output:
Code:
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ USB Optical Mouse                       	id=11	[slave  pointer  (2)]
⎜   ↳ Macintosh mouse button emulation        	id=14	[slave  pointer  (2)]
⎜   ↳ ImPS/2 Logitech Wheel 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)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ USB 2.0 Camera                          	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=12	[slave  keyboard (3)]
    ↳ Asus Laptop extra buttons               	id=15	[slave  keyboa

2. Determine touchpad mouse ID in my case i had two mouse the USB mouse and the touchpad. the touchpad is
Quote:
ImPS/2 Logitech Wheel Mouse id=13 [slave pointer (2)]
3. Disable the touchpad using id 13 in the above result. Issue this command to disable
Code:
xinput set-int-prop 13 "Device Enabled" 8 0

4. To enable back again the touchpad change the value of 0 to 1 in the above command like this one.
Code:
xinput set-int-prop 13 "Device Enabled" 8 1

5. The disable command well be reset upon reboot. to make it easy to me i used alias like
Code:
alias moff='xinput set-int-prop 13 "Device Enabled" 8 0' ---> disable
alias mon='xinput set-int-prop 13 "Device Enabled" 8 1' ---> enable

or create keyboar shortcut its up to you..

By the way Corona688: my laptop is Asus u30jc. In addition if you know some link on how to use the nvidia cuda optimus video card well be highly appreciated.

Thanks for reading.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Connection establish two server

How do make connection between two linux server.Such as SSH,rsync,ftp (3 Replies)
Discussion started by: Mani T
3 Replies

2. Ubuntu

Laptop to laptop transfer files

Dear all, I would like to transfer my old laptop documents/files etc to the new laptop without using any external hard disk. Please let me know if its possible via any way. Thank in advance, emily (3 Replies)
Discussion started by: emily
3 Replies

3. Ubuntu

establish communication between two machines using IPSec

How can i establish communication between two machines using IPSec in linux?? Do you have any materials or regarding links? or any materials of udp socket programming? (5 Replies)
Discussion started by: elinaz
5 Replies

4. UNIX for Advanced & Expert Users

Testing privileges -lock lockfile /var/lock/subsys/..- Permission denied

Hi all, I have to test some user priviliges. The goal is to be sure that an unauthorized user can't restart some modules (ssh, mysql etc...). I'm trying to automate it with a shell script but in same cases I got the syslog broadcast message. Is there any way to simply get a return code... (3 Replies)
Discussion started by: Dedalus
3 Replies

5. Ubuntu

Connect 2 laptops with RJ45 cable (Ubuntu 10.10 laptop with Windows 7 laptop)

Hi to all, I have the problem that a laptops with windows XP cannot startup even in safe mode nor using last good known configuration. I have a Ubuntu 10.10 Live CD and booting from it I can read the Hard Drive. I need to do a backup the Hard Drive from XP laptop and I want to connect this... (5 Replies)
Discussion started by: cgkmal
5 Replies

6. Red Hat

Security Question: Lock after invalid login, Session Lock and Required Minimum Password Length

Hello all, If anyone has time, I have a few questions: How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too. 1. How to lock the account after a few (like 3) invalid password attempts? 2. How do you lock a screen after 30... (1 Reply)
Discussion started by: nstarz
1 Replies

7. UNIX for Dummies Questions & Answers

Changing middle mouse button for pasting to right mouse button in cygwin rxvt

Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies

8. Shell Programming and Scripting

Building a better mouse trap, or How many lines of code does it take to trap a mouse?

Hello all, I'm hoping to get a little insight from some of the wily veterans amongst you. I've written a script to check for new outgoing files to our vendors located on our ssl server. It seems to be working ok, but the final question here, will be one of logic, and/or a better way to... (4 Replies)
Discussion started by: mph
4 Replies

9. UNIX for Dummies Questions & Answers

how to lock keyboard without using lock command

how can I lock my keyboard while I'm away from the computer without using lock command. What other commands gives me the option to lock keyboard device? thanks (7 Replies)
Discussion started by: dianayun
7 Replies
Login or Register to Ask a Question