Re: help in hiding panel(taskbar)
From: Dances With Crows (danSPANceswitTRAPhcrows_at_gmail.com)
Date: 2 Mar 2005 20:47:05 GMT
On 2 Mar 2005 02:03:01 -0800, manikandan staggered into the Black Sun
> Dances With Crows <danSPANceswitTRAPhcrows@gmail.com> wrote in message
>> On 28 Feb 2005 07:43:05 -0800, manikandan staggered into the Black
>> Sun and said:
>> > I am developing an xwindow application which i want to run in
>> > fullscreen mode. Is there any way of doing this?
>> games "blobwars" and "frozen-bubble" don't run in fullscreen mode
>> either. Anyone who suggests otherwise is a filthy pagan Communist
> Thanks for ur answer....how is terminal in kde or gnome working in
> fullscreen mode...coulg you give me a better light on it.....
Don't abbreviate "you" as "u"; end sentences with "." not "...". The
KDE/GNOME terminal emulators make a call to the underlying toolkit being
used (Qt or GTK+), which calls an Xlib function, probably
XMoveResizeWindow(), which moves the window's top-left point to 0,0 and
sets the window width and height to the width and height of the screen.
Check the source if you want to know how it's done. Which toolkit and
language are you using for this, anyway? Answering that question may
make it a lot easier to help you.
>> > [The] user should not be able to access the panel in the desktop by
>> > means of which he/she can switch to other applications. So once the
>> Why? This takes choice away from the user, which is usually a bad
> I want the user not to access the panel in the desktop because it is a
> test application and i don't want the user to go out of the test
If it's a test application, the person doing the testing needs to be
able to use other applications concurrently so he can file bug reports
when the application crashes or behaves badly. Or did you mean "an
application designed for use in schools that provides an interface
students can use to take multiple-choice/short-answer/essay tests"?
> the other means of switching out of the test application using
> shortcyt keys are blocked.
Do you have X blocking the VT-switch key sequences? Anyone with some
Linux experience will do Ctrl-Alt-F1, get to the agetty/mingetty, log
in, and do whatever they want--unless your X config file is set up to
prevent this, or your inittab doesn't start gettys. If this is set up
in a school/university environment, all it takes is one Linux-using kid
to figure it out and tell everyone else. Check the man page for
xorg.conf (or XF86Config if you're still using X 4.3.0) and pay close
attention to the DontVTSwitch option.
> and the remaining is to hide the panel which i think will stop the
> user from switching outof test application.
You could always use KDE's DCOP system to make the panel go away in KDE.
That's "dcop kicker MainApplication-Interface quit"; wrap a system()
around that and do it before your application takes over the desktop.
Don't know how you'd hide the GNOME panel, though there's got to be a
similar Bonobo call you can make. Make sure to fork and exec kicker
before the application exits normally, and if the application exits
abnormally, you should try to bring the panel back.
> your help will be greatfull
ITYM "your help will be appreciated". (Sorry, I see non-native English
speakers make this misteak often.) Anyway, HTH....
-- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / Hire me! -----------------------------/ http://crow202.dyndns.org/~mhgraham/resume