Much ado about scripting, Linux & Eclipse: card subject to change

Showing posts with label gimp. Show all posts
Showing posts with label gimp. Show all posts

2009-01-25

Capturing Screenshots Made Easy: Scripting With xfce4-screenshooter

Since moving to Fedora 10 and casting off my old ties to Kubuntu, I've been rather frustrated with the available options for capturing screenshots under Gnome.

I've tried the gnome-screenshot tool, docked as a panel applet, but it only allows me to capture the desktop or selected window. No click-and-drag region select?

When I've needed to capture only a part of my screen or overlapping windows (eg., Eclipse dialogs) I've been forced to capture the whole screen then crop it down w/ GIMP. Or, launch GIMP first and let it do the region capture - but GIMP never remembers my settings from last time, so to capture a region after a 2-second delay, it's 8 clicks every time I start GIMP. Lame.

In both cases, it's cumbersome, and I always have to select the directory where I want to save, and then name the file.

This weekend, I discovered xfce4-screenshooter, which is significantly better in that I can capture an area of the screen and auto-save to a file without needing to specify a filename each time.

It can even redirect the capture to an application or the clipboard rather than a file, and provides all the dialog options as commandline flags so it can be scripted, too.

So, now, I simply wrap that application with a bash script that runs the screenshooter then opens my snapshot folder with Thunar, so I can preview the result with Ristretto or edit it with GIMP if necessary. One click to start the process, one click-and-drag to create the image. And no unnecessary dialog configuration, file system browsing, or clicking!

Here's the scriptlet, which I've set up as a Gnome panel shortcut to run /home/nboldt/bin/snap.sh:

#!/bin/bash
/usr/bin/xfce4-screenshooter -s /home/nboldt/Screenshots/ -h -r && \
  thunar /home/nboldt/Screenshots/ &

And here's my desktop, captured with only 2 clicks:

One might argue that it's too bad that these three tools can't just be merged into one. I'd argue that it's great that if you don't like one tool, you can find two others, each incrementally better than the next. Screenshot integration in GIMP is very handy, as is automatic capture to file (with incremental file naming). And, unlike in the Windows and Mac worlds, if the best tool for the job isn't available for one window system, I can simply cherry pick from another.

Still, nothing beats the feature set and usability of HyperSnap, but that's sadly a closed-source Windows application, and far from free. Proving that in this world, ultimately, you get what you pay for -- but there are some excellent free & open source alternatives.

2009-01-02

Clarifying Our All-In-Ones

In order to make it clearer what's in the various flavours of all-in-one zips provided in Modeling, GEF, and PDT, I've concocted some new icons to better differentiate them.

This is actually moving in the opposite direction from what I'd proposed in bug 240223 regarding Simplified EMF Downloads as we're now providing more, not less... but IMHO that's okay as long as the community is well served. If you have an opinion on update site vs. update zips vs. SDK zips vs. EPP bundles, please feel free to weigh in on bug 240223.

And if you hate the new icons, please let me know. Better still, design me a replacement. Thanks to iconeden.com for the source pixels.

2008-12-26

EclipseCon 2009 T-shirt Design Contest, Part 4: Polos and Rugbys and Darts, Oh My!

Taking an idea from Red vs. Blue and borrowing from Google Image Search & SSS Canada, I thought I'd design a few new shirts to take the EclipseCon Committer Shirt Contest in a different direction. Bear in mind these are just comps, because my GIMPin' skills are pretty limited.


View larger images | Download source images

2008-12-23

EclipseCon 2009 T-shirt Design Contest, Part 3: Fugly Tees

Have you submitted anything for the EclipseCon Committer Shirt Contest yet? If not a graphic design, how about a conceptual one? Describe your idea, and maybe someone else will attempt to render it.

A fashion faux-pas frusta-ration
Combined with lack of motivation
And a loss of concentration
I've seen some fugly tees*



I can't concentrate on work
My wardrobe has gone berserk
Now I'm sweating 'bout this shirt
Another fugly tee*?!?

(Chorus)
Two years ago
I said you'd never clothe me
I gave you to Goodwill
Now in this world of feckless logowear
Why do good brands have to go astray
And leave you with nothing
Ya, you left me with nothing
Ah Ah Ah Ah Ah
But a fugly tee*
wee ooo wee ooo



Hyper technical sessions
And some great hands-on lessons
All a'mashin' and a'meshin'
March in Californi-ee
I don't wanna go to sleep
Bags of Fritos by my feet
Writin' code, pining for heat
Please no fugly tees!



(Minnie Mae)
Why did you have to put
so much pressure on me?
I have no GIMPin' skills**

(Simon)
I didn't mean to scare you little one
Is there nothing I can say?
It's really not that hard
Ya please lower your guard
Ah Ah Ah Ah Ah
And submit some tees
wee ooo wee ooo

Now I'm standing in the snow
Moisture soaking through my shoe
Every droplet causing woe
Reminding me I have to go...



Time to take a break from work
Holiday shoppers gone berserk
I've now only got one care
We need something else to wear!

Chorus

Prozzak - Strange Disease

* - Admittedly, past years' EclipseCon Committer Shirts have been long sleeves, not t-shirts (tees). However, "fugly shirts" (or worse, "fug'long sleeves") doesn't work as well lyrically. Please excuse this creative license.

** - You can get GIMP for Windows and Mac, too, not just Linux.

2008-12-10

EclipseCon 2009 T-shirt Design Contest, Part 2: Some Ideas To Get You Started

With just over a month left in the EclipseCon '09 T-shirt design contest, I'm disappointed to report we've had no submissions yet.

So, to get the ball rolling and hopefully avert a fashion crime this time around, here are a few submissions of my own for you to consider and riff on. (If you can't read the small print, it says "* - Frequently Updated Deliverables".)


Make custom shirts at Zazzle

Get yourself a free Zazzle account (all it takes is an email address and a few minutes) and you can customize these with your own text, images, and fabrics. Then, submit a link to your gallery in bug 256495, and you'll be entered. If you tag your creations with "eclipsecon09" they will appear in rotation in the widget above.

Note: after creating a design in Zazzle, your new offering will take a few minutes to appear in your gallery, and several minutes more to be shown publicly.

Oh, and don't be afraid to submit things you aren't sure are any good. The winner of the last contest wasn't sure his submission was good enough... and then ended up winning! So trust your instincts and submit something today!

Here's a few ideas I've thought of but haven't had the time (or skills!) to render -- feel free to borrow something.

  1. Ask Me About ______, For I Am Great With Knowledge
  2. I Went To EclipseCon And All I Got Was This Lousy T-shirt... And The World's Best IDE For ______ [1], [2]
  3. Evolution [1], [2], [3]
  4. The Inmates Are Running The Asylum [1], [2], [3]
  5. Jack & His Magic Beans Are No Match For Jane & Her Eclipse-Fu [1], [2], [3]
  6. Some past Eclipse shirts [1], [2], [3]

2008-12-05

Eclipse Photoshop Challenge: "Better Than MovieOS", Part 4: Everyone's a Winner, Baby

Well, it seems everyone's a winner. Congrats to everyone who participated!

To collect your loot, send an email to Lynn.Gayowski at Eclipse.org with postal mail info. Or, if you're not in a hurry and will be at EclipseCon, you can opt to collect your Eclispewear there.

So, any takers for the next contest? Thanks to Zazzle, any design you'd like can be printed, whether it's chosen as the winning design or not -- how's that for empowerment? Here are a few examples I've done, all customizable to suit your fabric, colour, and design needs.

2008-11-25

EclipseCon 2009 T-shirt Design Contest

The Eclipse Foundation is holding a contest to design a new and improved committer t-shirt to give away at EclipseCon 2009. Anyone can participate and all ideas are welcome. Help us make the Eclipse community a better-dressed place!

Design Guidelines

  • All designs must be original work -- unlike past contests, you cannot borrow from movies or TV.
  • As with all contributions to Eclipse, your submission will be licensed under the EPL.
  • The maximum image size allowed is 30x30 cm / 12x12 inches / 1800x1800 pixels.
  • Designs can be in colour or black & white.
  • If you want to incorporate the Eclipse logo, various formats can be found on the artwork page.

Design Format

Since we want to open the t-shirt contest to creative people of all graphic design skill levels, we are using Zazzle as one of the submission format options. To create a custom t-shirt:
  1. Go to Zazzle.com and click the Create tab at the top
  2. Choose a shirt style
  3. Add images and text to create your design
  4. Click the Post for sale button in the bottom right and sign up for an account

You are also welcome to use Photoshop, GIMP or any other graphics program to create a design in .jpg, .gif or .png format.

How to Enter

Submit your image as an attachment in .jpg, .gif or .png format to bug 256495, or enter a link to your Zazzle creation on the bug.

The deadline for entries is January 12, 2009 at 4:00 pm EST.

Note: Individuals are allowed to submit multiple entries, but only one prize per person will be awarded.

Prizes

  • 1st place: a Flip Mino video camera, an Eclipse jacket, and your winning design worn by hundreds of grateful committers at EclipseCon
  • 2nd place: an Eclipse fleece
  • 3rd place: an Eclipse shirt

Finalists will be chosen by a community vote and the winning shirt will be selected by the Eclipse Foundation. Community voting will take place January 13-26, 2009, with results posted here.

Additional

  • Please keep bug 256495 for submissions only.
  • To provide feedback regarding submissions, post comments on this blog.
  • Questions? Email tshirt at eclipse.org.

Eclipse Photoshop Challenge: "Better Than MovieOS", Part 3: Stop - Voter Time

Seven submitters. Twenty-two submissions. Five winners, chosen by you.

Vote now for your favourites!

Polls close December 5, 2008 at 4:00 pm EST.

2008-11-16

Eclipse Photoshop Challenge: "Better Than MovieOS", Part 2: Teaser

There are just under 26 hours left to get in your submissions for the "Better Than MovieOS" Photoshop Challenge, but we've already gotten some great submissions.

We'll be announcing the winners early next week, as well as details on the next contest which will run though January 12, 2009. Details to follow. 'Till then, here's a teaser:

Play For Schwag

Anybody searching for action?
Anything to fill your empty wardrobe, yeah
Any place you've got a 'puter
Any takers wanna submit their designs?

With the fire and lightning shooting from your hands
And creativ'ty written 'cross your eyes
Your itchy fingers on a cordless mouse there
Your passion's hot and this contest's taking flight

Inside the convention
The cover charge's free for accepted talks
Now, I hear you screaming out for mercy
Last submission standing wins the fight

Too late and you'll be out, nothing you can do
Contest's done 12th January

Over the holidays
When you've got some free time
It's time to play because ya know Eclipse is you

If you win this time, you'll be the champion
And get a prize, HA, that's just impossible!

Do you play for keeps? Do you play for Eclipse?
Do you play to win? Do you play cuz it's fun?
Or play for schwag?

Megadeth - Play For Blood

2008-10-27

Eclipse Photoshop Challenge: "Better Than MovieOS"

Back in June, we ran a contest to challenge the Eclipse community to photoshop some movie-themed posters to promote Ganymede.

This time, I'd like to propose a different challenge.

  • What: An opportunity to show your Photoshoppin' / GIMPin' skillz. Top five community-voted submissions will win Eclipse schwag.
  • When: Now through mid-November.
  • Why: Because Eclipse is better than MovieOS.
  • Who: Anyone with some free time to burn.
  • Where: On your blog, or attached to bug 252135.

So, what should you design? The rules are simple. Take a still frame from a movie or TV show, and replace the MovieOS with a screenshot of an Eclipse IDE running your favourite plugins, an RCP or SWT application, or even a mobile OSGi app.

Some links to get you started:

Some examples: