LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-24-2016, 12:11 PM   #1
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Rep: Reputation: 47
How do I send keyboard input to multiple windows simultaneously?


Real world application:

I run multiple game windows using wine, so I would like to press a key in an active window and have the same key sent to few other windows simultaneously (multi-boxing). These other windows could be background or minimized.

Been searching for some time, but couldn't really pin down on what works. Wine does NOT support global hotkeys, and MS Win multiboxing softwares (autohotkey, hotkeynet, ISBoxer etc) don't really work in WINE.

would xdotool work from the main/active game window?

thank you
 
Old 08-24-2016, 04:14 PM   #2
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
I wonder if Screen might do what you're asking. It's a multiplexer but I don't recall if it can send input to all screens. There's tmux also but I know less about that.
 
Old 08-31-2016, 05:05 AM   #3
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Original Poster
Rep: Reputation: 47
found the solution, using a combination of bbkeys and xdotool, i can grab and send to predefined windows, including minimized windows.

So, multiboxing in linux works, in a way.
 
1 members found this post helpful.
  


Reply



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
Simultaneously execute 8 instances of a program until all input files are processed? kmkocot Linux - Newbie 3 09-30-2010 04:51 PM
sending input to multiple ssh sessions in windows launchpadtt Linux - Networking 11 11-23-2009 04:06 PM
Multiple Blade servers booting from multiple disk drives simultaneously NGC_cheryl Linux - Enterprise 0 11-26-2007 08:38 AM
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
FC5 multiple X servers causes mouse/keyboard input hang on one of them adrian_stephens Linux - Software 0 12-08-2006 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:31 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
Open Source Consulting | Domain Registration