Results 1 to 5 of 5

Thread: urgent help abt linux

  1. #1
    Join Date
    Jan 2008
    Posts
    2

    Default 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. #2
    Join Date
    Jan 2008
    Location
    Portland, Oregon
    Posts
    10

    Default

    System.exec("name of command");

    or

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


    Remember, Google is your friend.

  3. #3
    Join Date
    Jan 2008
    Posts
    2

    Default

    Quote 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

  4. #4
    Join Date
    Jan 2008
    Location
    Portland, Oregon
    Posts
    10

    Default

    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.

  5. #5
    Join Date
    Jun 2007
    Location
    .ro/.ca
    Posts
    232

    Default

    Quote 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; 01-09-2008 at 06:24 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •