LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-18-2016, 10:06 AM   #1
AlexFisher
LQ Newbie
 
Registered: Jun 2016
Posts: 2

Rep: Reputation: Disabled
Redirect keyboard input to unfocused program.


Hi All, I'm looking for some help with a computing issue. I'm running Openbox 3.5.2 on Raspbian/Pi3 and a single monitor. I want to have one program focused and in fullscreen while the keyboard outputs to another unfocused and not visible program. The focused program is Epiphany web browser, the un-focused program is an ssh terminal. Thanks for any thoughts/suggestions Alex.
 
Old 06-18-2016, 10:17 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,839

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
by default the keyboard events are sent to the focused window, so you need to rethink your problem. Probably you want to see the browser and in the meantime type into the terminal, but that means the browser will be in front of the other but the focus will be on the terminal.
 
Old 06-18-2016, 10:28 AM   #3
AlexFisher
LQ Newbie
 
Registered: Jun 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
pan64 - that sounds like a great solution. Can I have the full screen browser in front of the focused terminal? Can you explain how? Thanks - Alex.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Making the program to wait for keyboard input. stf92 Programming 7 04-16-2015 03:30 PM
How to redirect to a file the dev input of the keyboard ? Xeratul Linux - General 2 09-08-2012 12:51 AM
XFCE Xubuntu (12.04) Keyboard music controls don't work when player unfocused geokker Linux - Desktop 1 05-22-2012 02:30 AM
Java program needs to quit if no keyboard input for several seconds jeriryan Programming 1 03-29-2011 06:03 PM
Trouble getting input from USB keyboard in a C++ program called from a SSH shell kungpower13 Programming 1 11-03-2009 07:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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