Shutter — new Gnome screenshot program

kappa on 2010-02-26T10:15:28

Perl culture is in dire need of fresh showcases and new success stories. When someone asks about desktop software written in Perl, FrozenBubble usually springs to mind and then what?

I think it's very cool that Shutter is written in Perl with all kinds of GNOME goodness like using GooCanvas based on Cairo, installing a notifying icon and being a «Made on Ubuntu» software.

Try it, it is very feature rich, translated into many languages (my interface is in Russian, e.g.) and a beauty to look at.

And now I'm going to try to insert some screenshots. Looks like Slash does not support inline images at all :(

Main window: http://www.ubuntu-pics.de/bild/44281/__shutter_001_pb6z9g.png,
list of plugins: http://www.ubuntu-pics.de/bild/44282/shutter______________________002_ry3ohW.png


gScan2pdf

larard on 2010-02-26T10:51:19

gScan2pdf is another example of perl on the desktop. Small, robust, and does exactly what it says on the tin.

You can scan it, rotate it, then save it as a pdf.

Never have to revisit xsane again, which I find a joy when I just simple want to photocopy or email something.

Re: Shutter — new Gnome screenshot program

daxim on 2010-02-26T14:17:45

Gald that it works for you. I have a different experience. I had to add three different repositories to be able to install shutter. Still then, starting it fails with:

Can't locate Gnome2.pm in @INC ...

I'm not going to report it because it's the authors' own damn fault for not using community practices. Had they packaged it the standard way then the chance for such a dumb mistake like neglecting to declare a dependency would have reduced dramatically. Another way how this sort of shoddy coding manifests in the source is the layout (the program is one big 250 kilobytes file), and the total lack of POD or really any sort of documentation in the package. It's Perl alright, but it's mediocre Perl, and IMO nothing to get excited about. Contrast with Xacobeo, which I consider a pretty good example of a Perl-Gtk2 app, actually installable from CPAN.

I the meantime I press PrtScr and it actually works - Ksnapshot comes up and lets me save my screenshot. For editing and adding effects a dedicated application is better anyway, I don't know what place most of those plug-ins have in a snapshot program.

Re: Shutter — new Gnome screenshot program

romario on 2010-02-28T20:11:31

Gald that it works for you. I have a different experience. I had to add three different repositories to be able to install shutter. Still then, starting it fails with:

Can't locate Gnome2.pm in @INC ...

I'm not going to report it because it's the authors' own damn fault for not using community practices. Had they packaged it the standard way then the chance for such a dumb mistake like neglecting to declare a dependency would have reduced dramatically.

Shutter is available for most popular distributions (except OpenSUSE):
http://shutter-project.org/downloads

I know that it would be nicer to package it the standard way and make it available via CPAN, but please keep in mind that this is an end-user application and I believe that most of them prefer specific packages for their distribution instead of installing something via CPAN.
Creating a CPAN module distribution is definitely on the schedule but this is a one-man-project so time and ressources are very limited.
Btw, do you think not reporting any bugs or problems is "community practice"? Any help is appreciated.

When you donwload the tarball you get the sources only - there are no dependency checks in general. If you get the error

Can't locate Gnome2.pm in @INC ...

you can simply install it via CPAN (http://search.cpan.org/user/tsch/Gnome2-1.042/Gnome2.pm).

Another way how this sort of shoddy coding manifests in the source is the layout (the program is one big 250 kilobytes file), and the total lack of POD or really any sort of documentation in the package. It's Perl alright, but it's mediocre Perl, and IMO nothing to get excited about.

Your words are a bit rude. I am totally aware of the current issues, but Shutter started as a simple frontend for scrot and kept growing very fast.
It is my first bigger perl project and I know that there is some refactoring needed. Btw, there are +20 self-written modules - it is not just one big script file.
You are looking at it from a developers point of view, but do you really think that end-users would care about any POD? IMO we need a nice graphical user guide or something like this. Shutter is not a module used by devs where a good POD is essential.

It's the old question: principle or pragmatism?
For me it was more important to implement features that were requested by our users in most cases instead of doing everything the "RightWay".

Regards
Mario

Re: Shutter — new Gnome screenshot program

Alias on 2010-03-01T10:25:10

WRT CPAN, what daxim was saying (not at all tactfully) is that it's possible to do both CPAN and packages.

CPAN acts as the canonical form of the code base, and the distributions act as the primary download channel for users.

And because there's a fairly large amount of automation you can leverage, it's actually easier to generate packages for many different distributions.

With the CPAN stuff, you also get the RT queue and the other resources to help with bug tracking and so on.

Re Shutter...

Ron Savage on 2010-02-28T22:35:34

Hi Folks

>Perl culture is in dire need of fresh showcases >and new success stories. When someone asks about >desktop software written in Perl, FrozenBubble >usually springs to mind and then what?

Well, there are a few apps available. See App::Ack, etc, and
http://search.cpan.org/search?query=App%3A%3AOffice&mode=all