LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-24-2020, 11:20 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Xubuntu, Slackware, Amazon Linux
Posts: 2,029
Blog Entries: 20

Rep: Reputation: 128Reputation: 128
inputting keyboard actions a mouse movements from software to an X server


is there a way to programmaticly provide input to X (as opposed to a specific window) controlling the mouse and keyboard to fake the input other than running Xvnc an making my software pretend to be a VNC client? i want to do this on an already running instance of X server.
 
Old 05-25-2020, 04:37 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,065

Rep: Reputation: 3367Reputation: 3367Reputation: 3367Reputation: 3367Reputation: 3367Reputation: 3367Reputation: 3367Reputation: 3367Reputation: 3367Reputation: 3367Reputation: 3367
Would xdotool work?
 
1 members found this post helpful.
Old 05-25-2020, 04:59 PM   #3
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Xubuntu, Slackware, Amazon Linux
Posts: 2,029

Original Poster
Blog Entries: 20

Rep: Reputation: 128Reputation: 128
xdotool sure looks like it would work, according to the man page.
 
  


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
[SOLVED] Dosbox not capturing mouse movements penyuan Linux - Software 8 10-10-2018 07:37 AM
plasma-desktops does not respond (but hasn't crashed) to mouse movements nass Slackware 0 10-21-2010 01:21 PM
evbug.c flooding /var/log/messages w/ mouse movements, help! hollywoodb Linux - Software 2 05-24-2004 09:56 PM
USB and PS/2 Mouse conflict - "jerky" pointer movements jonnyO2 Linux - Hardware 0 04-07-2004 05:05 AM
Choppy Mouse Movements Nightshade999 Linux - Hardware 1 05-29-2003 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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