Announcement

Collapse
No announcement yet.

urgent help abt linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • urgent help abt linux

    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

  • #2
    System.exec("name of command");

    or

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


    Remember, Google is your friend.

    Comment


    • #3
      Originally posted by yetanothersteve View Post
      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

      Comment


      • #4
        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.

        Comment


        • #5
          Originally posted by laadpiyush View Post
          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...kpbn3us?a=view
          I imagine something similar for KDE.


          retard. what are you making anyway? a virus?!
          Last edited by Xipeos; 09 January 2008, 06:24 AM.

          Comment

          Working...
          X