SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: Lizbeth on May 28, 2015, 04:11:42 AM

Title: gscreenshot is a gui frontend for scrot
Post by: Lizbeth on May 28, 2015, 04:11:42 AM
https://code.google.com/p/gscreenshot/

when you run it a blank window appears with a few buttons for options to take the screenshot.  once the button is prssed to take the screenshot, the screenshot appears in the window and you are given options for where to save the shot and what to name it.

it's basic and functional.  great for openbox.
Title: Re: gscreenshot is a guifronten d for scrot
Post by: pavroo on May 28, 2015, 11:49:40 AM
It's a nice tool, even not upgraded the last 9 years.
Have you seen a deb package somewhere in the net?
If not I can do that.
Title: Re: gscreenshot is a guifronten d for scrot
Post by: Lizbeth on May 28, 2015, 11:28:21 PM
i havent seen a deb.  can dpkg-builpackage handle this?  i hadnt tried...
Title: Re: gscreenshot is a guifronten d for scrot
Post by: pavroo on May 28, 2015, 11:38:54 PM
I can do it.
It's a nice app and looks better than mine 'sparky-screenshot' :)
Title: Re: gscreenshot is a guifronten d for scrot
Post by: Lizbeth on May 28, 2015, 11:50:31 PM
Sweet!  Thanks!  I'm always on the lookout   :o
Title: Re: gscreenshot is a guifronten d for scrot
Post by: pavroo on May 29, 2015, 08:01:20 PM
It's done.
Installation:
sudo apt-get update
sudo apt-get install gscreenshot

(http://sparkylinux.org/images/gscreenshot.png)
Title: Re: gscreenshot is a gui frontend for scrot
Post by: Lizbeth on May 30, 2015, 12:14:22 AM
Awesome!
Title: Re: gscreenshot is a gui frontend for scrot
Post by: seppalta on May 30, 2015, 08:44:47 AM
Quicker to just add following to Openbox Root Menu: 
<menu id="graphicsScreenshots" label="Scrot" icon="/usr/share/icons/scshoot.png">
<item label="Now" icon="/usr/share/icons/scrot0.png">
<action name="Execute">
<command>
scrot '/home/me/Pictures/scrots/%Y-%m-%d--%s_$wx$h_scrot.png'
</command>
</action>
</item>
<item label="In 5 Seconds..." icon="/usr/share/icons/scrot5.png">
<action name="Execute">
<command>
scrot -d 5 '/home/me/Pictures/scrots//%Y-%m-%d--%s_$wx$h_scrot.png'
</command>
</action>
</item>
<item label="In 10 Seconds..." icon="/usr/share/icons/scrot10.png">
<action name="Execute">
<command>
scrot -d 10 '/home/me/Pictures/scrots/%Y-%m-%d--%s_$wx$h_scrot.png'
</command>
</action>
</item>
<item label="Selected Area... (click &amp; drag mouse)" icon="/usr/share/icons/scrot.png">
<action name="Execute">
<command>
scrot -s '/home/me/Pictures/scrots/%Y-%m-%d--%s_$wx$h_scrot.png'
</command>
</action>
</item>
</menu>


(http://lxlinux.com/scrot.png)

As you see, this can be set-up to automatically save the image where-ever you like (here, ~/Pictures/scrots), named with date and time.