The present invention relates to a method for operating a computer device with user's eye movement. The method comprises the steps of detecting the user's eye movement, analyzing the user's eye movement to specify an eye movement pattern in the detected user's eye movement and a time period for completing the eye movement pattern, determining a command associated with a combination of the eye movement pattern and the time period and operating the device according to the command.