Re: Panther X11 problems
Re: Panther X11 problems
- Subject: Re: Panther X11 problems
- From: Robert C Burton <email@hidden>
- Date: Thu, 30 Oct 2003 22:18:19 -0800
They were not apple scripts I wrote. The Gimp script I can post but it
turns out that "start open office" is an application. I think i got it
from the open office site:
Here is the gimp script:
[demime 0.98b removed an attachment of type multipart/appledouble]
and in case that does not send well her it is in text:
(*tell application "Finder"
launch application "X11"
end tell
tell application "X11"
activate
end tell
set results to do shell script "cd ~; DISPLAY=:0.0; export DISPLAY;
PATH=$PATH:/usr/local/bin; export PATH ; /usr/local/bin/gimp-1.2
--no-shm --no-xshm"
*)
tell application "X11"
activate
end tell
tell application "System Events"
tell process "X11"
click menu item "Gimp" of menu "Applications" of menu bar 1
delay 10
end tell
end tell
on open Image
set TestProcess to do shell script "top -l1"
tell application "Finder"
launch application "X11"
end tell
tell application "X11"
activate
end tell
if TestProcess contains "gimp-1.2" then
repeat with i in Image
set filePath to (i as string)
if filePath does not end with ":" then
set filename to POSIX path of filePath
set results to do shell script "cd ~; DISPLAY=:0.0; export DISPLAY;
PATH=$PATH:/usr/local/bin; export PATH ; /usr/local/bin/gimp-remote-1.2
-n \"" & filename & "\" > /dev/null 2>&1 &"
end if
end repeat
else
repeat with i in Image
set filePath to (i as string)
if filePath does not end with ":" then
set filename to POSIX path of filePath
set results to do shell script "cd ~; DISPLAY=:0.0; export DISPLAY;
PATH=$PATH:/usr/local/bin; export PATH ; /usr/local/bin/gimp-1.2
--no-shm \"" & filename & "\" > /dev/null 2>&1 &"
end if
end repeat
end if
end open
I did not try the Activity Monitor - if I can get the problems to
repeat I will try that.
I did the upgrade option.
As for the "man" problem that is still there. How do I tell which shell
is running? and how do I change back to tcsh?
By the way John Galt is the man of intellect carrying the world on his
back. I was an Objectivist
On Oct 30, 2003, at 8:50 PM, Craig Sutherland wrote:
> Robert,
>
> You say "my" applescripts. Were these scripts your wrote? If so could
> you post them.
>
> Did you try launching the Activity Monitor that is in the Utilities
> folder? You can see what process is taking all your cpu usage and then
> kill it with the Quit command in the Process menu.
>
> The illegal option message with man could be caused by errors in bash
> environment files- .bashrc, bash_profile, .profile in your $Home
> directory. Do you have any of those files and if so, what is in them.
>
> When you installed 10.3, which of the 3 methods did you use? Clean
> install, update, or archive & install.
>
> Craig Sutherland
>
> "Who is John Galt"
> On Oct 30, 2003, at 9:17 PM, Robert C Burton wrote:
>
>> Ever since I installed Panther and the new X11 I have had some
>> peculiar problems, none of which existed in 10.2.8.
>> I will describe them as best I can and if anyone can confirm them
>> and/or offer solution it would be greatly appreciated:
>> 1. Well, I just tried to reproduce the errors I was most concerned
>> about and they are no longer reproducible??
>> They were that my "Gimp" and "Start Open Office" applescripts were
>> not working. In fact the Start Open Office script had caused X11 to
>> become hung up in such a way that it could not be forced to quit and
>> I ended up having to turn off power to restart. I even wrote a simple
>> script "tell application "X11" activate end tell" and got the error -
>> application is not running? I will keep working to find out what was
>> happening! They are working perfectly now
>> 2. The second problem is that "man" is giving me an error message in
>> both X11 and Terminal it returns "man: illegal option --C" then
>> proceeds to show the correct usage. This occurs with every attempt to
>> use man even man ls.
>> Any thoughts?
>> Robert C Burton - Labview Consultant and Programmer
>> email - email@hidden
>> Ph: 760-375-7182
>> Data Acquisition and Display Specialist
>> Hardware and Software Systems Design
>> _______________________________________________
>> x11-users mailing list | email@hidden
>> Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/x11-users
>> X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
>> Report issues, request features, feedback:
>> http://developer.apple.com/bugreporter
>> Do not post admin requests to the list. They will be ignored.
>>
>
Robert C Burton - Labview Consultant and Programmer
email - email@hidden
Ph: 760-375-7182
Data Acquisition and Display Specialist
Hardware and Software Systems Design
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.