Was Re:: Applications Menu , now Color Viewer
Was Re:: Applications Menu , now Color Viewer
- Subject: Was Re:: Applications Menu , now Color Viewer
- From: John Rothschild <email@hidden>
- Date: Sun, 12 Jan 2003 13:28:25 -0500
Luser error on my part. :) It works now. Thanks for everyone's help.
While I have your attention, has anyone ported a color viewer such as
xcolors/xcolorsel to MacOS X? I'm getting
different shades than I get at my computer at work
and it would be nice to see what everything looks like
with one view. I tried both fink and xfree86 and
did not see anything. I could get xcolors to compile, but not run. I
couldn't get xcolorsel to compile. TIA.
JR
JR
On Sunday, January 12, 2003, at 02:40 AM, Michhle Garoche wrote:
Le dimanche, 12 jan 2003, ` 05:23 Europe/Paris, John Rothschild a
icrit :
Can I call a shell script from the Application Menu?
(I couldn't get it to work.) The script does some stuff and
then eventually calls an xterm. Thanks.
Yes, you can. I haven't tried with external parameters, but without
it works fine. Just four things you should be aware of:
1 - Make sure to chmod +x your script
2 - Rehash to make your environment aware of the new script
3 - exec the xterm in the background
4 - Move the new xterm in case it masks the old one as it is focused,
if you want to see the result of the stuff before the creation of new
xterm if any.
Just an example (very very basic):
contents of: ~/bin/mytest1
#!/bin/sh
ls -al
exec xterm -geometry 80x20+34+0 -ls -sb -rightbar -si -sl 10000 -j &
Depending of the way you launch X11, you should have to enter the
full path to the script (here: ~/bin/mytest1) in the X11's App menu.
Michhle
<http://micmacfr.homeunix.org/>
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.