Author |
Message |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Thu 24 Jun 2010, 11:22 Post subject:
xcowsay talking lobster? new x message display with icon Subject description: edit it to whatever image you want it t be |
|
there is active recent development with xcowsay
so if you wanted new features or would like to suggest a patch
it would be done by the author and maintaining documented progress of the program
such as the correct way using GIT
this is the only way linux will progress in an organized way
main page
http://www.doof.me.uk/xcowsay/
GIT
http://git.nickg.me.uk/?p=xcowsay.git;a=summary
==================================================
I was reading the fluppy thread and saw this I didnt want to distract the thread so I started a new one
original post
http://www.murga-linux.com/puppy/viewtopic.php?p=429458#429458
lobster
Quote: |
But what we need is a talking cow Shocked
- the png could even be swapped for a Puppy
Now that is the way to handle hints, tips and help . . . |
WARNING: this may be fun to edit and play with !
I already started hacking at it
so I made one example how to modify the image and message
then run it included
UPDATED 12-28-2011
xcowsay-1.3 slackware packaged compiled on puppy
http://www.puppy2.org/slaxer/xcowsay-1.3-i486-4_SLXR.tgz
xcowsay-1.2 slackware packaged compiled on puppy
http://www.puppy2.org/slaxer/xcowsay-1.2-i486-3_SLXR.tgz
festival-1.96 sound support
http://repository.slacky.eu/slackware-12.2/utilities/festival/1.96-beta/festival-1.96_beta-i686-3as.tgz
=============================================
quick how to
1.)make an image
it has to start with a prefix[b] cow_
an example is here in
/usr/share/xcowsay/cow_Lobster6.png
2.)make a script
an example here
/usr/bin/xlobsterthink
3.)make a message
an example here
Code: |
exec xcowsay --cow=Lobster6 –-Lobster has a great idea big_bass says it could be done "$@" |
explained image
Code: | exec xcowsay --cow= | Lobster6
since the program looks for a prefix cow_ already only the name in this case Lobster6 is needed but dont need to add the .png extension in the command
explained second option message
Lobster is not a command or an image here its just plain text
Code: | –-Lobster has a great idea big_bass says it could be done "$@" |
4.)then run it Code: | /usr/bin/xlobsterthink |
this is nice because you can have many messages stored then call the scripts to save a lot of coding
Last edited by big_bass on Wed 28 Dec 2011, 20:14; edited 18 times in total
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Thu 24 Jun 2010, 12:01 Post subject:
|
|
Haha!
This is great.
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Thu 24 Jun 2010, 12:15 Post subject:
|
|
Dear Joe,
I agree with Jemimah. It's great.
Thanks and kind regards,
Bogdan
|
Back to top
|
|
 |
gerry
Joined: 26 Jul 2007 Posts: 986 Location: England
|
Posted: Thu 24 Jun 2010, 13:30 Post subject:
|
|
Where's the start of this topic? Or which topic gave birth to it?
gerry
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Thu 24 Jun 2010, 13:47 Post subject:
|
|
http://www.murga-linux.com/puppy/viewtopic.php?p=429458#429458
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4421 Location: merriam, kansas
|
Posted: Thu 24 Jun 2010, 14:04 Post subject:
|
|
Lobsters greatest idea was the "Emergency Yodel Button";
though it lacked the full ambiance and glory of a real alpine
yodel.
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Thu 24 Jun 2010, 16:38 Post subject:
|
|
gerry
Quote: | Where's the start of this topic? Or which topic gave birth to it? |
I was reading jemimah's fluppy thread and didnt want to distract
the thread this needed a new topic because its a new way to manage X messages
with an image
Joe
|
Back to top
|
|
 |
JustGreg
Joined: 24 May 2005 Posts: 785 Location: Connecticut USA
|
Posted: Thu 24 Jun 2010, 16:41 Post subject:
|
|
This is going to be way too much fun for the graphic geniuses. It will be interesting.
_________________ Enjoy life, Just Greg
Live Well, Laugh Often, Love Much
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Thu 24 Jun 2010, 17:43 Post subject:
|
|
Quote: | Emergency Yodel Button |
http://www.emergencyyodel.com/
A yodeling emergency Lobster, could become essential
for a variety of purposes
I originally suggested xcowsay for Fluppy
because it has flite - a very good voice synthesizer
which would work well in combination with xcowsay
Puppy Linux
includes talking Lobster
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4421 Location: merriam, kansas
|
Posted: Thu 24 Jun 2010, 17:48 Post subject:
|
|
Lobster wrote: | Quote: | Emergency Yodel Button |
http://www.emergencyyodel.com/
A yodeling emergency Lobster, could become essential
for a variety of purposes
I originally suggested xcowsay for Fluppy
because it has flite - a very good voice synthesizer
which would work well in combination with xcowsay
Puppy Linux
includes talking Lobster |
The world is ready for cows that Yodel!
A little Mongolian Throat singing in the background would be nice too.
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
|
Back to top
|
|
 |
JustGreg
Joined: 24 May 2005 Posts: 785 Location: Connecticut USA
|
Posted: Thu 24 Jun 2010, 21:03 Post subject:
Subject description: Tried it with my temperature display utiltiy |
|
This is neat! I applied xcowsay to my temperature display utility for Lucid. The code is really simple now:
Code: | THRMFILE=`find /proc/acpi/thermal_zone -name "temperature"`
TEXT=`cat $THRMFILE | cut -c25-30`
exec xcowsay --cow=small $TEXT |
Here is a png of my desktop with the temperature display
_________________ Enjoy life, Just Greg
Live Well, Laugh Often, Love Much
|
Back to top
|
|
 |
JustGreg
Joined: 24 May 2005 Posts: 785 Location: Connecticut USA
|
Posted: Thu 24 Jun 2010, 21:08 Post subject:
Subject description: A pet of xcowsay |
|
I took the liberty of converting Big Bass package into a regular pet for people to try out. The pet installs fine under Lucid Puppy 5.01
_________________ Enjoy life, Just Greg
Live Well, Laugh Often, Love Much
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Thu 24 Jun 2010, 21:13 Post subject:
|
|
Hah, if you wanna be really annoying, one could replace yaf-splash with a wrapper for xcowsay, and let the cow (or lobster) handle all notifications.
...
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Thu 24 Jun 2010, 22:40 Post subject:
|
|
updated lobster image again 6-26-2010
cleaned up the image a bit and re sized its smaller of course you can select any other image
I thought it to fitting to have a happy lobster .... can we get a nice English accent too
@jemimah
yes, this will be a nice replacement for " yaf-splash type of messages " it has built in utf-8 handling and images!
I was looking at the C code there are many options to use
how about for those errors cow_donkey will let you know
Code: |
#!/bin/sh
#call this xdonkeythink
TEXT_MESG="looks like you messed up big time"
IMG=donkey
exec xcowsay --cow=$IMG $TEXT_MESG "$@"
|
Joe
Description |
|
Filesize |
58.77 KB |
Viewed |
2356 Time(s) |

|
Description |
|
Filesize |
54.11 KB |
Viewed |
2474 Time(s) |

|
Last edited by big_bass on Mon 28 Jun 2010, 11:02; edited 6 times in total
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15238 Location: Paradox Realm
|
Posted: Fri 25 Jun 2010, 04:48 Post subject:
|
|
Having problems with sound in Fluppy - so not sure what this sounds like
http://www.youtube.com/watch?v=20Hor12VyCw
I used JustGregs pet and CPU code like so:
Code: | #! /bin/bash
sleep 5
xcowsay --cow=Lobster6 --time=1 --dream=puppylogo96.png "$@"
xcowsay --cow=Lobster6 We are Puppy Linux. Resistance is futile. We will steal your penguins! "$@"
THRMFILE=`find /proc/acpi/thermal_zone -name "temperature"`
TEXT=`cat $THRMFILE | cut -c25-30`
xcowsay --cow=Lobster6 My CPU temp is $TEXT - time to TAKE OVER THE WORLD!
xcowsay --cow=Lobster6 A world populated by talking Lobsters. We must not fail! "$@"
xcowsay --cow=Lobster6 --time=2 --dream=poseidon.jpg "$@"
xcowsay --cow=Lobster6 My operating system has talking Lobsters. Your arguments are invalid. "$@"
xcowsay --cow=Lobster6 Your questions are irrelevant. Prepare to be assimilated! "$@"
xcowsay --cow=Lobster6 --time=2 --dream=lobkiss.jpg "$@" |
By changing the image files you can get your own results
Apologies for spelling mishtakes . . .
but I really want it tied to flite . . .
_________________ YinYana AI Buddhism
|
Back to top
|
|
 |
|