Re: advice, building livecd for translators
- From: Peter Garrett <peter.garrett@xxxxxxxxxxxxxxx>
- Date: Sat, 22 Dec 2007 05:30:36 +1100
On Fri, 21 Dec 2007 09:53:43 -0600
"Cybe R. Wizard" <cybe_r_wizard@xxxxxxxxxxxxx> wrote:
Peter Garrett <peter.garrett@xxxxxxxxxxxxxxx> said:
[...]
My script *is* a graphical dictionary!
Heh - did you try it at all?
*grin*
Peter, I came late to the thread and have deleted your previous post.
Could you re-post your script or send it directly to me at the earthlink
eddress included herein? I would certainly appreciate it.
That is, if it is released under the GNU set of licenses.
;-]
Heheh :-)
I think everyone is safe. I can't afford lawyers... ;-P
Yes, you may consider it 'Copyleft Peter Garrett, GPL 2 or later, at your
option', etc. etc. :D
It's getting a bit verbose and over-commented, sorry.
Bloat is setting in already... <grin>
#!/bin/bash
# Revision 0.0.2-pre-alpha. Changelog: Added --width and --height
# Save this somewhere sensible, like /usr/local/bin/dictionary ,
# and make executable, of course. Add launcher / icon to taste.
# A tiny on-line dictionary - install the "dict" package and
# "zenity" to use...
WORD=$(zenity --width 300 --entry --title Dictionary)
if [ $? -gt 0 ] ; then
exit
else
dict $WORD > /tmp/dict
zenity --width 500 --height 500 \
--title Definition --text-info < /tmp/dict \
exit
fi
You might want to play with the --width and --height options.
Peter
--
"INX Is Not X" based on Ubuntu 7.04 Live CD: http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
Attachment:
pgpeKyi5O5uUq.pgp
Description: PGP signature
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: advice, building livecd for translators
- From: Cybe R. Wizard
- Re: advice, building livecd for translators
- From: Derek Broughton
- Re: advice, building livecd for translators
- References:
- advice, building livecd for translators
- From: anthony baldwin
- Re: advice, building livecd for translators
- From: Peter Garrett
- Re: advice, building livecd for translators
- From: anthony baldwin
- Re: advice, building livecd for translators
- From: Peter Garrett
- Re: advice, building livecd for translators
- From: Cybe R. Wizard
- advice, building livecd for translators
- Prev by Date: Re: setting up ddclient
- Next by Date: Re: iptables redirect
- Previous by thread: Re: advice, building livecd for translators
- Next by thread: Re: advice, building livecd for translators
- Index(es):
Relevant Pages
|