Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: gnome-screenshot + area + keys

  1. #1
    Join Date
    Jan 2007
    Location
    Spain
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    gnome-screenshot + area + keys

    Hello.
    Is there a way to take a screenshot of a selected area without having to open gnome-screenshot.
    There are 2 key combinations available, one to capture the whole desktop and the other to capture the focused window, but I can't figure out how to capture the selected area by using the keys.
    Thanks!

  2. #2
    Join Date
    Apr 2009
    Beans
    32

    Re: gnome-screenshot + area + keys

    a ha,I use compiz fusion 's plug-in

    Now ,when I press Super + button1,I can select any area where I want

    try ccsm

  3. #3
    Join Date
    Feb 2009
    Location
    Netherlands
    Beans
    784

    Re: gnome-screenshot + area + keys

    You can make a key binding for the command "gnome-screenshot -a". It will turn your mouse cursur into a crosshair so you can grab an area and then save it.

  4. #4
    Join Date
    Jan 2007
    Location
    Spain
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gnome-screenshot + area + keys [SOLVED]

    Quote Originally Posted by VCoolio View Post
    You can make a key binding for the command "gnome-screenshot -a". It will turn your mouse cursur into a crosshair so you can grab an area and then save it.
    That's EXACTLY what I was looking for. I've read the man for gnome-screenshot but didn't see the -a flag...
    Anyway.. I love this forum.

    thanks a lot!

  5. #5
    Join Date
    Jun 2009
    Beans
    1

    Re: gnome-screenshot + area + keys

    I've ran into this issue myself a few days ago, and luckily, I ran gnome-screenshot --help and saw the -a (--area) option which is exactly what you need.

    I also noticed that the man page is out of date, and opened a bug in ubuntu to fix it , so that other people won't miss this option:
    https://bugs.launchpad.net/ubuntu/+s...ls/+bug/393401

    In addition to running gnome-screenshot -a manually to capture an area of the screen, you can also map it as a custom keyboard shortcut, so it'll be easily available. I mapped CTRL+PrintScreen to gnome-screenshot -a.

    This really is a great feature, it would be nice to have a some sort of keyboard shortcut mapped to this function by default.

    Tom

  6. #6
    Join Date
    May 2009
    Location
    Wisconsin
    Beans
    22
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: gnome-screenshot + area + keys

    Quote Originally Posted by Tom Feiner View Post
    I've ran into this issue myself a few days ago, and luckily, I ran gnome-screenshot --help and saw the -a (--area) option which is exactly what you need.

    I also noticed that the man page is out of date, and opened a bug in ubuntu to fix it , so that other people won't miss this option:
    https://bugs.launchpad.net/ubuntu/+s...ls/+bug/393401

    In addition to running gnome-screenshot -a manually to capture an area of the screen, you can also map it as a custom keyboard shortcut, so it'll be easily available. I mapped CTRL+PrintScreen to gnome-screenshot -a.

    This really is a great feature, it would be nice to have a some sort of keyboard shortcut mapped to this function by default.

    Tom
    Two comments....
    1) the info page is much better for gleaning information on this.
    2) another hole either in the program or in all of the documentation is how to name the .png something more useful like date & time.

  7. #7
    Join Date
    Sep 2010
    Location
    Netherlands
    Beans
    7
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: gnome-screenshot + area + keys

    Thanks! To get this working with a shortcut (without the terminal) I had to add the -i:

    Ubuntu 10.10:

    System -> Preferences -> Keybord Shortcuts -> Add ->
    name: grab area (for example)
    command: gnome-screenshot -i -a
    Click -> Shortcut: New Shortcut : Ctrl+Alt+4 (for example, like Apple+4 on the Mac)

    You have to add the -i (interactive) otherwise the -a is ignored!

    Ubuntu 11.10:

    Go to System Settings
    click Keybord
    click Shortcuts
    click Custom Shortcuts
    click +
    fill in Name: grab area (for example)
    fill in Command: gnome-screenshot -i -a
    click Apply
    click with the right mouse at: New Shortcut (at the right)
    and press Ctrl+4 (for example, like Apple+4 on the Mac)
    now it works, you can just close the window
    Last edited by treerink; January 17th, 2012 at 11:16 AM. Reason: update for ubuntu 11.10

  8. #8
    Join Date
    May 2009
    Location
    Wisconsin
    Beans
    22
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: gnome-screenshot + area + keys

    Quote Originally Posted by treerink View Post
    Thanks! To get this working with a shortcut (without the terminal) I had to add the -i:

    System -> Preferences -> Keybord Shortcuts -> Add ->
    name: grab area (for example)
    command: gnome-screenshot -i -a
    Click -> Shortcut: New Shortcut : Ctrl+4 (for example, like Apple+4 on the Mac)

    You have to add the -i (interactive) otherwise the -a is ignored!
    AAH. Works like I want. Thanks to all!

  9. #9
    Join Date
    Mar 2009
    Beans
    0

    Re: gnome-screenshot + area + keys

    If you want to be able to make quick screenshots (not invoking gnome-screenshot -a -i), you better assign keys to use imagemagick's import use cmd:


    import -frame screenshot.png


    best
    hip0
    http://www.pc-freak.net/

  10. #10
    Join Date
    Jan 2009
    Beans
    9

    Re: gnome-screenshot + area + keys

    Quote Originally Posted by treerink View Post
    Thanks! To get this working with a shortcut (without the terminal) I had to add the -i:

    Ubuntu 10.10:

    System -> Preferences -> Keybord Shortcuts -> Add ->
    name: grab area (for example)
    command: gnome-screenshot -i -a
    Click -> Shortcut: New Shortcut : Ctrl+Alt+4 (for example, like Apple+4 on the Mac)

    You have to add the -i (interactive) otherwise the -a is ignored!

    Ubuntu 11.10:

    Go to System Settings
    click Keybord
    click Shortcuts
    click Custom Shortcuts
    click +
    fill in Name: grab area (for example)
    fill in Command: gnome-screenshot -i -a
    click Apply
    click with the right mouse at: New Shortcut (at the right)
    and press Ctrl+4 (for example, like Apple+4 on the Mac)
    now it works, you can just close the window
    I know this is an old thread but I wanted to say that this works in 12.04 and also, thank you!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •