LinuxVillage
Questions En => Help requests => Discussion démarrée par: ka9yhd le 26 avril 2013 à 22:01:55
-
I know this article was written for Ubuntu but I took a look in the PClos repos and they had "Shutter" . So I have shutter installed in PClos-Openbox Bonsai.
http://www.junauza.com/2013/04/best-screen-capture-tools-for-ubuntu.html (http://www.junauza.com/2013/04/best-screen-capture-tools-for-ubuntu.html)
-
Yes, shutter looks nice and is handy to use. I just regret it needs many depends. In Archlinux:
Depends On : xdg-utils libxml-perl imagemagick bc procps librsvg
gnome-perl perl-gnome2-wnck perl-gtk2-imageview
perl-gtk2-unique perl-x11-protocol perl-image-exiftool
perl-proc-simple perl-proc-processtable perl-net-dbus
perl-net-dropbox-api perl-goo-canvas perl-sort-naturally
perl-json perl-json-xs perl-xml-simple perl-www-mechanize
perl-locale-gettext perl-file-which perl-file-basedir
perl-file-copy-recursive perl-pathtools perl-path-class
Optional Deps : nautilus-sendto: "Send To" functionality in right-click and
main menu
perl-net-dbus-glib: Upload support for Ubuntu One
gnome-web-photo: Support for capturing websites
-
Hi,
mtPaint is much lighter and comes with a handy screenshot tool. Have you given it a try ?
-
It has been packaged at pclinuxos for a long time and you can read about it here:
http://mtpaint.sourceforge.net (http://mtpaint.sourceforge.net)
there are two menu entries, one for the general use program and one for the screenshooter part of the program.
There is even a full documentation about the main part of the program:
http://mtpaint.sourceforge.net/handbook/en_GB/chap_00.html (http://mtpaint.sourceforge.net/handbook/en_GB/chap_00.html)
-
Just out of curiosity you can map your keyboard to take a screenshot. Most screenshot apps are just front ends for scrot, which actually does the work. In Openbox you can place the lines below in rc.xml -
<!-- Take a screenshot of the current window with scrot when Print is pressed -->
<keybind key="Print">
<action name="Execute">
<command>scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Pictures/ & geeqie ~/Pictures/$f'</command>
</action>
</keybind>
This tells scrot to take a screenshot when the "PrintScreen" button is hit, give it a name, save it to my ~/Pictures folder and open it in Geeqie. You can then do with it as you want. Just change the names of the folder and graphic viewer as required. Just make sure scrot is already installed.
VillageBox has screenshot commands set for keyboard and also extra options in the root menu.
-
Here's the full Screenshot section of the Openbox menu, as implemented by Taco.22 and used in DebWeb's menu:
<separator />
<menu id="screenshot" label="Screenshot">
<item label="Now">
<action name="Execute"><execute>scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Pictures/Screenshots/ & mirage ~/Pictures/Screenshots/$f'</execute>
</action>
</item>
<item label="In 5 Seconds...">
<action name="Execute"><execute>scrot -d 5 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Pictures/Screenshots/ & mirage ~/Pictures/Screenshots/$f'</execute>
</action>
</item>
<item label="In 10 Seconds...">
<action name="Execute"><execute>scrot -d 10 '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Pictures/Screenshots/ & mirage ~/Pictures/Screenshots/$f'</execute>
</action>
</item>
<item label="Selected Area... (click & drag mouse)">
<action name="Execute"><execute>scrot -s '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Pictures/Screenshots/ & mirage ~/Pictures/Screenshots/$f'</execute>
</action>
</item>
</menu>
<separator />
And here's what it looks like:
(http://i42.tinypic.com/33f6an9.jpg)
-
very lightweight:
import -frame /tmp/screenshot.png
-
Very nice, thank you!
from man import:
OVERVIEW
The import program is a member of the ImageMagick(1) suite of tools. Use it to capture some or all of an X server screen and save the image
to a file.
there are plenty options to explore. I wonder how it can be used to select only a part of the screen?