Welcome to MacTalk Australia

the largest Australian community for Apple discussions and topics

Join the discussions, Register Now!
Results 1 to 4 of 4
  1. #1

    Join Date
    Nov 2004
    Location
    Brisbane
    Posts
    48

    Default

    I've recently got kde running and the closest i can get ot opening an application that runs in x11,
    is with this script.

    Code:
    set X11APP to "/sw/bin/umbrello"
    
    tell application "Finder"
    	launch application "X11"
    end tell
    set results to do shell script "cd ~; DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/local/bin; export PATH&#59;" & X11APP & " > /dev/null 2>&1 &"

    But What i'm asking is if i can get it to open an application and it appear in the dock and stay there while its running.

  2. #2

    Default

    I think there is a program available form apple downloads at the moment call x11 extension that does this.

    Have a look

    Trades: Clockwork, applecollector, Amzy, Brains, chris, samuelclarke, mrldigitalmedia
    Link: http://www.lifeinplasticpants.com/2003/07/12/index.html

  3. #3

    Join Date
    Nov 2004
    Location
    Brisbane
    Posts
    48

    Default

    nice, just installed can now double click a document and it opens in a particular x11 app.

    Thanks.


  4. #4

    Join Date
    Nov 2004
    Location
    Brisbane
    Posts
    48

    Default

    This line in my .profile allows me to open X11 apps from Terminal.app.
    Code:
    export DISPLAY=":0.0"
    and quick and dirty way to stop the xterm window from appearing was to
    Code:
    sudo chmod 000 /usr/X11R6/bin/xterm
    is the xterm window usefull for anything ?

Tags for this Thread

Posting Permissions

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