PDA

View Full Version : urgent help abt linux


laadpiyush
01-04-2008, 01:58 PM
hello
I want to hide the logout button in the red hat menu using a java program. Please help.is shell programming is required to fo this?How to invoke a shell program in linux from java?
piyush laad

yetanothersteve
01-06-2008, 02:01 AM
System.exec("name of command");

or

Runtime.getRuntime().exec("name of command");


Remember, Google is your friend.

laadpiyush
01-06-2008, 02:20 AM
System.exec("name of command");

or

Runtime.getRuntime().exec("name of command");


Remember, Google is your friend.

thanx!wel do you knw anything about red hat menu

yetanothersteve
01-06-2008, 02:36 AM
Sorry, have not used Redhat since 2000, and that was a headless non-gui system.
Not even sure which desktop environment Redhat is using these days.

Xipeos
01-09-2008, 05:22 AM
hello
I want to hide the logout button in the red hat menu using a java program. Please help.is shell programming is required to fo this?How to invoke a shell program in linux from java?
piyush laad

laadpiyush, you're such a retard for posting this help request.

Assuming that you're using the latest red hat (discontinued in 2004 btw), you need to modify some GNOME settings.
ex: http://docs.sun.com/app/docs/doc/817-5310/6mkpbn3us?a=view
I imagine something similar for KDE.


retard. what are you making anyway? a virus?!