Shutter - hotkey/standby?

Asked by Irene on 2010-01-07

I'm used to using ScreenHunter to take screenshots in Windows (http://www.wisdom-soft.com/sh/sh_free.htm). The feature that I haven't been able to find in Shutter (or any of the other screenshot tools), is the hotkey/standby. Once I start ScreenHunter, it "takes over" whatever key I've defined as the hotkey, for as long as the program is running. When I hit that key, regardless of what window has the focus, ScreenHunter displays the crosshairs to capture a section of the screen. When I release the mouse, it copies that area to the clipboard (and/or a file, depending on which you tell it to do). I thought the Gnome-Keybinding in the keyboard section of preferences might let me do that (I set "capture with selection" to <shift>f6), but it doesn't appear to do what I'm looking for.

I haven't been able to find that hotkey/standby feature in Shutter... am I missing it?

Thank you,

Irene

Question information

Language:
English Edit question
Status:
Solved
For:
Shutter Edit question
Assignee:
No assignee Edit question
Solved by:
Mario Kemper (Romario)
Solved:
2010-01-12
Last query:
2010-01-12
Last reply:
2010-01-12

Am Donnerstag, den 07.01.2010, 15:46 +0000 schrieb Irene:
> I thought the Gnome-Keybinding in the keyboard section of preferences
> might let me do that (I set "capture with selection" to <shift>f6),
> but it doesn't appear to do what I'm looking for.
>

Indeed. It should do.

I suggest you are using Ubuntu, GNOME and Compiz as your window manager?
If I Compiz is your window manager (activated desktop effects) please
check the following:

Check your advanced compiz settings. It should look like this
(Backend=GConf):
http://www.ubuntu-pics.de/bild/10862/screenshot_100_522__0qQ9N4.png

To get here, System ▸ Preferences ▸ CompizConfig Settings Manager ▸
Preferences

(Install it via `sudo apt-get install compizconfig-settings-manager` if
it is not installed already)

Additionally it is important to activate the GNOME Compatibility plugin,
see:

http://www.ubuntu-pics.de/bild/37291/compizconfig_settings_manager_010_vBCRpw.png

Does this solve your problem?

Regards
Mario

Irene (sprouts-us) said : #2

I'm running Fedora (2.6.31.9-174.fc12.x86_64) with GNOME, but not Compiz. Is it required?

Thanks,

Irene

Am Montag, den 11.01.2010, 19:50 +0000 schrieb Irene:
> I'm running Fedora (2.6.31.9-174.fc12.x86_64) with GNOME, but not
> Compiz. Is it required?

No, of course it is not. Would you please check your gconf settings
after configuring the hotkey in Shutter's preferences dialog and post a
screenshot here?

Execute gconf-editor via terminal. The relevant sections are
/apps/metacity/keybinding_commands
/apps/metacity/global_keybindings

It should look like this:
http://www.ubuntu-pics.de/bild/37673/konfigurationseditor___keybinding_commands_014_t2uJ79.png
http://www.ubuntu-pics.de/bild/37672/konfigurationseditor___global_keybindings_015_qNtK1d.png

Thanks
Mario

Irene (sprouts-us) said : #4

Screenshots:

Thank you,

Irene Penney
Office of the IBM CIO, BT/IT Application and Infrastructure Management
Optimization
<email address hidden> | Irene Penney/Poughkeepsie/IBM | 1-845-435-6289 or t/l
295-6289
IBM CIO Technical Leadership Council

From:
"Mario Kemper \(Romario\)" <email address hidden>
To:
Irene Penney/Poughkeepsie/IBM@IBMUS
Date:
01/11/2010 03:48 PM
Subject:
Re: [Question #96551]: Shutter - hotkey/standby?
Sent by:
<email address hidden>

Your question #96551 on Shutter changed:
https://answers.launchpad.net/shutter/+question/96551

Mario Kemper (Romario) proposed the following answer:
Am Montag, den 11.01.2010, 19:50 +0000 schrieb Irene:
> I'm running Fedora (2.6.31.9-174.fc12.x86_64) with GNOME, but not
> Compiz. Is it required?

No, of course it is not. Would you please check your gconf settings
after configuring the hotkey in Shutter's preferences dialog and post a
screenshot here?

Execute gconf-editor via terminal. The relevant sections are
/apps/metacity/keybinding_commands
/apps/metacity/global_keybindings

It should look like this:
http://www.ubuntu-pics.de/bild/37673/konfigurationseditor___keybinding_commands_014_t2uJ79.png

http://www.ubuntu-pics.de/bild/37672/konfigurationseditor___global_keybindings_015_qNtK1d.png

Thanks
Mario

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/shutter/+question/96551/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/shutter/+question/96551

You received this question notification because you are a direct
subscriber of the question.

Sorry, but I think you've forgot the screenshots. I am afraid you can't attach any files here when answering by email. Please upload the files somewhere and paste the links here.
You can do this with Shutter as well, see:
http://www.ubuntu-pics.de/bild/37681/shutter_upload_L7le8K.png

Alternatively you might want to send the files to me by email directly - using my private email address.

Regards
Mario

Irene (sprouts-us) said : #6

I don't have access to a public upload facility, so I'll email them to you
directly. Thank you.

Irene Penney
Office of the IBM CIO, BT/IT Application and Infrastructure Management
Optimization
<email address hidden> | Irene Penney/Poughkeepsie/IBM | 1-845-435-6289 or t/l
295-6289
IBM CIO Technical Leadership Council

From:
"Mario Kemper \(Romario\)" <email address hidden>
To:
Irene Penney/Poughkeepsie/IBM@IBMUS
Date:
01/11/2010 04:58 PM
Subject:
Re: [Question #96551]: Shutter - hotkey/standby?
Sent by:
<email address hidden>

Your question #96551 on Shutter changed:
https://answers.launchpad.net/shutter/+question/96551

    Status: Open => Answered

Mario Kemper (Romario) proposed the following answer:
Sorry, but I think you've forgot the screenshots. I am afraid you can't
attach any files here when answering by email. Please upload the files
somewhere and paste the links here.
You can do this with Shutter as well, see:
http://www.ubuntu-pics.de/bild/37681/shutter_upload_L7le8K.png

Alternatively you might want to send the files to me by email directly -
using my private email address.

Regards
Mario

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/shutter/+question/96551/+confirm?answer_id=4

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/shutter/+question/96551

You received this question notification because you are a direct
subscriber of the question.

Am Montag, den 11.01.2010, 22:03 +0000 schrieb Irene:
> I don't have access to a public upload facility, so I'll email them to
> you directly. Thank you.

Ok, thanks. Your configuration looks good. I'll setup a fedora machine
to see if it is anything platform specific.

I'll notify you as soon as possible.

Could you please use "<shift>F6" instead of "<shift>f6". This latter doesn't seem to work as a keybinding.

Does this solve your problem?

Irene (sprouts-us) said : #9

Yes, that does work, thank you. The popup that appears when you're editing the field says that "the parser....allows upper or lower case...", so I didn't bother upper casing it... While this does work, it doesn't do all that I was looking for... Is there a way to use it to capture windows when there is a pulldown menu in a web page or a popup (such as the one I mentioned for editing the preferences field)?

Thank you,

Irene

Am Dienstag, den 12.01.2010, 13:51 +0000 schrieb Irene:
> Yes, that does work, thank you. The popup that appears when you're
> editing the field says that "the parser....allows upper or lower
> case...", so I didn't bother upper casing it...

The text is copied from gconf-editor itself, see:
http://www.ubuntu-pics.de/bild/37759/configuration_editor___global_keybindings_016_mJ9jHF.png

Currently Shutter does not check the input to be valid and I am not sure
if there is any API to do this. I'll check that, thx.

> While this does work,
> it doesn't do all that I was looking for... Is there a way to use it to
> capture windows when there is a pulldown menu in a web page or a popup
> (such as the one I mentioned for editing the preferences field)?
>

I don't know if I understand you correctly, but keybindings do not work
in general when menus or popup windows do have the focus.

In this case you have to configure a delay (you can configure it via
statusbar at the bottom or via preferences). Then you can select a
window and activate the pulldown menu or popup while waiting for the
countdown to start the capture.

You can also use the dedicated functions to capture a menu or a tooltip,
but these functions can not be accessed via keybindings right now - this
is already under construction.

Regards
Mario

Irene (sprouts-us) said : #11

OK - that makes sense. However, when I use menu with a delay set, and then go to my browser (Firefox 3.5.6) and click the down-arrow to display the field pulldown menu, after the delay Shutter says "no window with type 'menu' detected".

Thank you,
Irene

Am Dienstag, den 12.01.2010, 14:49 +0000 schrieb Irene:
>
> Irene posted a new comment:
> OK - that makes sense. However, when I use menu with a delay set, and
> then go to my browser (Firefox 3.5.6) and click the down-arrow to
> display the field pulldown menu, after the delay Shutter says "no
> window
> with type 'menu' detected".

Firefox doesn't seem to provide the correct window type for it's
pulldown menus and popups.
You might want to try Epiphany (GNOME's Webkit Browser) to see how it is
supposed to work. At least I am able to capture the pulldown menus on
http://www.google.de/advanced_search?hl=en correctly.
I don't know if it is possible to implement a workaround if applications
doesn't deliver the correct type hint but this would be a good task for
one of the next versions of Shutter.

Regards
Mario

Irene (sprouts-us) said : #13

I installed Epiphany and was able to capture the pulldown menu and see what you're referring to. I'll have to use it whenever I need a screenshot of that kind. Thank you very much for your help with this!

Irene (sprouts-us) said : #14

Thanks Mario Kemper (Romario), that solved my question.