Posts Tagged intrepid

Disable touchpad while typing (Ubuntu Intrepid)

Posted in Linux | No Comments »

It really annoys me when I accidentally scrolled or clicked into something while I’m typing with my laptop. So, I start googling for something to get rid of this problem, and I came across into syndaemon. Syndaemon is a program which monitors the keyboard activity and disable the touchpad while typing. It is included by default in Ubuntu Intrepid.

$ syndaemon -d

 
-d option specifies the syndaemon to start as a daemon and runs in the backgroud. The default idle-time (time to wait after the last key pressed before enabling the touchpad) is 2 seconds.  There are also a few other basic options to suit your needs.
 
-i : Specifies the idle-time

-t: Disable tapping and scrolling only.
 
So, for example, if you want to disable tapping and scrolling only, and 1 second idle time before touchpad is enabled again:

$ syndaemon -d -t -i 1

 
You can also run syndaemon in startup by adding the command at Preference -> Session.

Enable USB devices in VirtualBox (Ubuntu Intrepid)

Posted in Linux | 4 Comments »

Firstly, we need to enable the current user to use VirtualBox. Go to System -> Administration -> Users and Groups. Click Unlock and insert your password. Select your username and click “Properties”. Go to User Privileges tab, tick “Use VirtualBox” and click OK.
 

 
Open terminal, and type this command

$ grep vbox /etc/group

Example of the output should be vboxusers:x:<gid>:yourusername
 
Take note of the <gid> value. Next, edit mountkernfs.sh

$ sudo gedit /etc/init.d/mountkernfs.sh

 
Insert this line after domount proc “” /proc proc -onodev,noexec,nosuid. Make sure to replace <gid> with the value that you get earlier.

domount usbfs “” /proc/bus/usb usbdevfs -onoexec,nosuid,nodev,devgid=<gid>,devmode=664

 
Reboot.
 
Run VirtualBox and your guest OS. Click Devices -> USB Devices and select the USB devices that you want to use in the guest OS.