From: karlp ourldsfamily com
Sent: Friday,
March 01, 2002 9:54 AM
To: Redhat Install
Subject: re: fortune wish
command
I got it to work by taking these lines out of xfortune:
# fortune
--
# Simple Tk script to create a button that prints fortune message.
#
Click on the button to terminate the program.
#
# Author: Santoh
Pasi <santoshpasi yahoo com>
set
myvariable [ exec /usr/games/fortune ] ;
button .fortune -text "$myvariable"
-command exit
pack .fortune
and
putting them in my home directory in the .wishrc file, then I can click
on
the Gnome foot and then Run and just type wish in the text box and NOT
click
on Run in Terminal. That brings up a wish box with the fortune as the
button
to click to exit.
I then
added it as one of the startup programs to be run, and it came
up
nicely.
I also
tried putting it in /etc/wishrc, but that file isn't checked so I had
to put
it in ~/.wishrc to get it to work every time.
--
Karl L. Pearson
Senior Consulting Systems Analyst
Senior
Consulting Database Analyst
karlp ourldsfamily com
My
Thoughts on Terrorism In America:
http://www.ourldsfamily.com/wtc.shtml
On Fri, 1 Mar 2002 PRASADSL iocl co in wrote:
i tried
the xfortune ...changed the permisson as
chmod 777 xfortune ...
but still
the message come as
cannot execute .../xfortune
the script is
attched
thanx
|||||||||||||||||BrAiN aToMS||||||||||||||||||| - mAkEs YoU ThInK ThAt
yOu
aRe tHiNkInG !!|||||||||||||||||||||||<?xml:namespace prefix = o ns
=
"urn:schemas-microsoft-com:office:office" />
|
|||||||||||||||||BrAiN
aToMS||||||||||||||||||| - mAkEs YoU ThInK
ThAt yOu aRe tHiNkInG !!||||||||||||||||||||||| |||||||||||||||||BrYaN
AdAMS|||||||||||||||||| - mAkEs YoU SiNg
WhEn yOu aRe sInKiNg
!!||||||||||||||||||||||| |
****************************************************************************
This electronic communication and any accompanying document is being transmitted over the Indian Oil Network and contains confidential information that is for the exclusive use of the individual or entity to which it is addressed and is protected against unauthorised disclosure. If the reader of this message is not the intended receipient or the employee or agent responsible to deliver to the intended receipient, or is not intended to act on it, be aware that any disclosure, dissemination, distribution or copying of this communication, or the use of its contents is prohibited and is likely to be attended by legal consequences. If you have received this communication in error and/or are not the intended receipient, please immediately notify the undersigned or Indian Oil Corporation Ltd. at the telephone or the fax number or email address given above and permanently delete the original message from your email system. Whilst this mail has been check! ed for all the known viruses, recipients should undertake their own virus checking as Indian Oil Corporation Ltd. will not accept any liability whatsoever
****************************************************************************