Hello again forum,
I solved my problem.
First, I have to have some type of window manager running such as icewm but that alone did not solve my problem.
After I launched icewm, then I had to start mythfrontend from the second monitor. I had been launching mythfrontend from my first monitor with a bash script (DISPLAY=":0.1" /usr/bin/mythfrontend &). Once I lauched mythfrontend from the second monitor instead of the first monitor, the problem was solved. Now I can click on any window in the second monitor and the focus will shift to the second monitor.
So it is imperative that whatever application you plan to run, start it in the same monitor, not another monitor. Otherwise, you will have focus problems.
I had to use icewm's terminal window to start mythfrontend in the second monitor because I am unable to drag an icon such as a bash script to icewm's desktop from the first monitor.
Does anybody know if it is possible to create an icon (such as a bash scrip) on the desktop of icewm?
By the way, is there some code I could add to my original bash script that would allow me to launch mythfrontend (or icewm) from the first monitor and have the focus problem resolved? Because icewm always has to be launched from the first monitor, creating a focus problem within icewm and the same rule would apply to mythfrontend also.
Last edited by rrrssssss; 12-01-2009 at 05:39 AM.