• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Run X11 apps from Applescript - works no longer in Tiger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Run X11 apps from Applescript - works no longer in Tiger?


  • Subject: Run X11 apps from Applescript - works no longer in Tiger?
  • From: Thomas Niederreiter <email@hidden>
  • Date: Mon, 23 May 2005 14:55:50 +0200
  • Organization: xcdroast.org

Hello all,

I ported my little X11 application from linux to osX a while ago and also
included a short applescript file in order to start it up in a "Mac" way.

That same applescript did run fine with Jaguar and Panther, but fails
completely with Tiger:

Here is the snipplet in question:

         tell application "X11"
             activate
             set results to do shell script "cd ~;
                 DISPLAY=:0.0; export DISPLAY; /usr/local/bin/xcdroast -o
> /dev/null 2>&1 &"
         end tell

When I run this in the script editor, then at first X11 is getting
started. (Also the initial xterm pops up and works fine.)

But now the script-editor is frozen and will not accept any more input,
until I quit X11. Then it will get applescript timeout eventually.

My program never gets started up - The same commands typed within
Terminal do work fine.

Any idea what changed with Tiger so that method is no longer working?

Thanks,

Thomas


--
netplace Telematic GmbH                          http://www.netplace.com
Thomas Niederreiter                              GPG Key ID:  0xF0B7BFCB
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

  • Follow-Ups:
    • Re: Run X11 apps from Applescript - works no longer in Tiger?
      • From: robert delius royar <email@hidden>
  • Prev by Date: setting up default font size for xterm
  • Next by Date: putting X to sleep
  • Previous by thread: Re: setting up default font size for xterm
  • Next by thread: Re: Run X11 apps from Applescript - works no longer in Tiger?
  • Index(es):
    • Date
    • Thread