-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

imagelabel - Attach text to images

   0.02  

Nautilus Script

Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Apr 12 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--
imagelabel - Attach text to images
zoom


imagelabel - Attach text to images
zoom


Downloads:  410
Submitted:  Apr 20 2010
Updated:  Dec 17 2010

Description:

This script lets you enter text to label your images. The image is extended to make space, and the text becomes part of the image.

Choose font size, background color or border, and your text. Each time you click OK on the text window, a preview will be redrawn.

When you're finished, enter either SAVE or QUIT into the text dialog.

REQUIRES:
zenity
imagemagick
kcolorchooser

Extract, then move to ~/.gnome2/nautilus-scripts

Sorry for the way the dialog windows pile up, but zenity does not allow placement :-(




Changelog:

0.02 -- Better scaling of preview display. Better menus.




LicenseGPL
Send to a friend
Subscribe
Other  Artwork  from marc41
Report inappropriate content



-

 sigh...

 
 by marc41 on: Apr 23 2010
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Apr 12 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

No comments and no votes? Does this work for you?


Reply to this

-

 Mhhh

 
 by TheWiseDj on: Apr 23 2010
 
Score 50%

First of all, you can save time and lines using "$(whoami)" variable instead of that long line for $iam.

Ex:

my username is "killer".

echo "Hello $(whoami)"

Output: Hello killer

It's an interesting script, but is confusionary, and, moreover, you CAN'T exit!
Have you inserted some exit functions?

For example after a zenity dialog:

if [ "$?" -eq 0 ]; then
exit
fi

I suggest you to use a dialog per time:

Zenity dialog 1:
[] Change font
[] Change color
...
[] Show preview

and so on.


Reply to this

-

 Re: Mhhh

 
 by marc41 on: Apr 24 2010
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Apr 12 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Hey, thanks!

I didn't know about
echo "Hello $(whoami)"

As for the chain of events, I did consider asking the questions in sequence. In fact that's how it worked at first. I changed it to multiple background tasks later. This was because I found that I might want, for instance, to change the font size repeatedly without cycling through all the prompts again.

So, the last response to each dialog is remembered, and all can be changed independently and in any sequence. However, as you see, it is when clicking OK to the text input that the preview is refreshed.

The way to exit is this: Either type "save" or "quit" in the text dialog. This ends the program. Quit just cleans up and exits. Save triggers a dialog to "save-as" the resulting file.

So that's WHY it was done this way. I wish zenity would allow a multi-section dialog which could have avoided all this confusion.

Does the save/quit help? I realize now that the explanation wasn't so great.

And THANKS for the $(whoami) tip. Setting $iam manually is a habit going way back to my Unix days :-)

-- Marc


Reply to this

Add commentBack






-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About GNOME-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 GNOME-Look.org Team  
All rights reserved. GNOME-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
GNOME and the foot logo are trademarks of the GNOME Foundation.