LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2008, 07:45 AM   #1
DoME69
Member
 
Registered: Jan 2008
Posts: 164

Rep: Reputation: 15
there is any file contain location of mouse


there is any file contain location of mouse
like xy or symbol that show that mouse is moved?

i`m using RED HAT
dominik

Last edited by DoME69; 01-24-2008 at 07:48 AM.
 
Old 01-24-2008, 08:06 AM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
How can you store that info in a file. The mouse move constantly and if you write that info into a file, your HDD will die.
 
Old 01-24-2008, 09:09 AM   #3
hro
LQ Newbie
 
Registered: Jan 2008
Distribution: OpenSuse 10.3, SLED 10 SP2, Ubuntu 8.04 and 9.04
Posts: 23

Rep: Reputation: 15
You can try /dev/input/mouse0 and/or /dev/input/event6. You need to be root to access these. You can test the output by typing 'cat /dev/input/mouse0 > test_mouse0.txt' as root, moving mouse around and pressing Ctrl-C. View the file with hex viewing tool of your choice.
 
Old 01-24-2008, 09:12 AM   #4
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Or, start the xev program from a terminal in X and move your pointer inside its window.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Detect Mouse Location? 1veedo Linux - General 1 12-17-2007 05:42 AM
set new location for mouse point omid1979 Programming 1 12-16-2007 02:28 PM
Mouse Pointer Location (elographics) mddolloff Linux - Hardware 0 08-04-2005 05:18 PM
PATH file location corbis_demon Linux - Newbie 1 10-08-2004 06:34 AM
cursor jumps to mouse location without my consent Myron Linux - Hardware 1 02-08-2004 10:34 AM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration