Linux search command

$ apt-cache search xxx

$ yum search xxx

Install eGalax touch screen in Linux (Ubuntu)

Linux *Ubuntu 下安装触摸屏驱动
** special thanks to Kekezu **
(Install on Fedora:

I made this touch screen (8" 800Y-Y-V USB control) works on Ubuntu 9.04 2.6.28-16-generic.

Step1) Download required packages and TouchKit utility
$ sudo apt-get install linux-source
$ cd ~
$ wget

Step2) Installing TouchKit utility
$ sudo chmod -x TouchKit-2.06.2905-32b-k26.tar.gz
$ sudo tar -xzvf TouchKit-2.06.2905-32b-k26.tar.gz
$ cd eGalaxTouch32
$ sudo sh

Utility will be installed to /usr/local/eGalaxTouch32/

Step3) Building the tkusb module

$ cd /usr/src
$ uname -r  # Checks linux kernel version
$ sudo chmod -x linux-source-2.6.xx.tar.bz2  # Change xx
$ sudo tar -xjvf linux-source-2.6.xx.tar.bz2 
$ sudo cp ./linux-headers-`uname -r`/Module.symvers ./linux-source-2.6.xx   
$ sudo ln -s linux-source-2.6.xx /usr/src/linux
$ cd /usr/src/linux
$ sudo make oldconfig
$ sudo make prepare
$ sudo make modules SUBDIRS=scripts/mod/
$ cd /usr/local/eGalaxTouch32/USBSrc

$ sudo gedit Makefile

Around line 16, find

KDIR := /lib/modules/$(shell uname -r)/build

Replace this line with

KDIR := /usr/scr/linux

$ sudo gedit tkusb.h
around line 25, find
include ams/semaphore.h

Replace this line with


$ sudo make all
$ sudo cp tkusb.ko /lib/modules

Step4) Modifying file /etc/X11/xorg.conf

$ sudo gedit /etc/X11/xorg.conf

Change Option "Device" to "usbauto" in InputDevice section of touch screen

Part of the file xorg.conf

Section InputDevice
Identifier "EETI"
Option    "Device"    "usbauto"

PS: someone told me that the xorg.conf file has been deprecated in favor of a more XML type configuration on his Ubuntu 9.10. He ended up to create an empety xorg.conf file.

Step5) Making startup script to load the module

$ sudo gedit /etc/init.d/addTouchKit

Content of file addTouchKit

#! /bin/sh
rmmod /lib/modules/'uname -r'/kernel/drivers/hid/usbhid/usbhid.ko
insmod /lib/modules/tkusb.ko
sleep 1
insmod /lib/modules/'uname -r'/kernel/drivers/hid/usbhid/usbhid.ko

$ sudo update-rc.d addTouchKit defaults
$ sudo chmod 441 /etc/init.d/addTouchKit

Now panel is installed. Reboot your computer.

Step6) Starting utility and calibrating the panel

$ cd /usr/local/eGalaxTouch32
$ ./eGalaxTouch

Here are some screen shots of the touch screen calibration window

I am a student. If you feel this page is quite useful, 
do you mind click the ad (just once) on the right hand side :)
I appreciate your support ...


Install Adobe Flash player on Linux Fedora & Firefox

To install Adobe Flash player on Fedora Linux, so that you can view Flash movies in Firefox on your Linux machine, simply follow these easy steps:

Step 1- rpm -ivh

Step 2- rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

Step 3- mkdir -p /usr/lib/mozilla/plugins /usr/lib64/mozilla/plugins

Step 4- yum install flash-plugin

Step 5- mozilla-plugin-config -i -g -v

Then just restart your Firefox browser and Flash will be available.

Auto mount network partition in linux

open /etc/fstab under root, add:

// /media/c-drive cifs gid=myname,uid=myname,user=myname,pass=mycode 0 0