I started Firefox from by bash window by entering the command "firefox",
it started the Firefox browser in the user interface.
When I checked the Firefox process by entering "ps" command, I found Firefox process has a controlling terminal attached to it (pts12 / which is evident from above screenshot) and also the firefox process has bash as the parent process.
Now, how am I able to provide the keyboard input directly to the Firefox browser window? (I have typed "Hello world" in the browser)
Since the tty is attached to the process, the input to Firefox should be via terminal window right?
I know there is something called X-11 involved here, but can't get the whole picture
This question is asked keeping the following as base which doesn't provide enough information on the above queries, How do keyboard input and text output work?