Hi,
I am evaluating using X windows on a
linux box to run operator screens in one of our process lines. The setup
currently running under windows involves a custom keyboard and NO mouse. The
operator screens are java applications and I am trying to run them full screen
under X without a window manager (there is no need for borders or title bars
with only one window and no mouse) however when I start the java app, it runs OK
and the initial page comes up on the screen but it will not accept any
keystrokes, if I then load twm it shifts the window down a bit and puts a title
bar above it and then the keystrokes work correctly, if I then kill twm the
title bar disappears, the window remains in its slightly lowered position (there
is now a black unusable space where the title bar used to be) and the keystrokes
continue working correctly.
I
believe that this is a window focus issue and that the window manager gives
focus to the java app, but the java app does not get it if there is no window
manager. I would really like to be able to use the entire screen including the
top bar, and would prefer not to run a window manager at all as it is completely
unnecessary and a waste of resources when there is only one window. I have tried
playing with twm's settings like saying no border or title bar, but that results
in the java app being shifted upwards and leftwards slightly so it is partly off
the screen and remaining like that when twm is killed. The best visual result I
have had is running the java app without the window manager.
Is
there anything I could do to give this window the keyboard focus and retain it
in it's optimal position on the screen (taking up the entire full screen)
preferably without a window manager (although a window manager is OK if it is
the only way)? Is there a simple window manager out there that only supports
having one window with no borders (It would need to be reliable as downtime here
is ridiculously expensive)? Modifying the java code is an option but It must
remain compatible with MS Windows as well (java 1.3.1 is
used).
Any
suggestions?
Thank
you
Graham
Crowe
EOM NOTICE - This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message. |