LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-17-2003, 06:40 AM   #1
nibjb
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Rep: Reputation: 0
Question sEND a kEYPRESS tO XFree86?


what command(s) can I use to send a keypress event to X? For example, I'll send a keypress event for the letter "A" and BOOM! The letter A is pressed (imaginarially, of course).
 
Old 07-17-2003, 02:04 PM   #2
jspenguin
Member
 
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
I don't know how, but I know it's possible. Sun's Java vm for linux supports the java.awt.Robot class which can do that. Look around in the X documentation.
 
Old 01-11-2004, 01:59 AM   #3
dirge
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
You want XMacro:

http://xmacro.sourceforge.net/

It also handles mouse button presses and can do strings.
 
Old 01-12-2004, 03:38 PM   #4
nibjb
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
thanks =oD

that answer only took six months to get ^_^

www.scottishot.com
 
  


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
How to simulate keypress in Linux? htlin Linux - Software 3 07-19-2005 10:22 AM
catching a keypress on X MD3 Programming 0 02-14-2005 02:07 PM
emulating a keypress burglus Programming 2 01-29-2005 05:45 AM
define keypress for xscreenaver interruption mashdot Linux - General 0 01-04-2005 09:18 AM
Firefox crashing on keypress usercsr Slackware 4 08-24-2004 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:43 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