<div dir="ltr"><div>Hi <br><br></div>I just got through asking if these command for import from ImageMagick will work? I already have thes in my rc.xml, so is this good?<br><br><br><!-- Keybindings for Screen Shots --><br>
<keybind key="Print"><br> <action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br>
<name>Snapshot</name><br> </startupnotify><br> <command>bash -c "import /home/sar/ScreenShots/<div>screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br>
</keybind><br> <keybind key="S-Print"><br> <action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot with Frame</name><br>
</startupnotify><br> <command>bash -c "import -frame /home/sar/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br> <keybind key="C-Print"><br>
<action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot Fullscreen</name><br> </startupnotify><br>
<command>bash -c "import -window root /home/sar/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind></div><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Apr 30, 2014 at 12:20 PM, Paulo Igor Barra Nascimento <span dir="ltr"><<a href="mailto:pibarnas@yahoo.com.br" target="_blank">pibarnas@yahoo.com.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><div>U will need scrot and ImageMagick for these (enjoy):</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><item label="Screenshot Now"></div>
<div><span style="white-space:pre-wrap"> </span><action name="Execute"></div><div><span style="white-space:pre-wrap"> </span><execute></div><div><span style="white-space:pre-wrap">
</span>sh -c "import -quality 100% -resize 80% -screen ~/Screenshots/tela-$(date +%d-%m-%Y ).png && display ~/Screenshots/tela-$(date +%d-%m-%Y ).png"</div><div><span style="white-space:pre-wrap"> </span></execute></div>
<div><span style="white-space:pre-wrap"> </span></action></div><div><span style="white-space:pre-wrap"> </span></item></div><div><span style="white-space:pre-wrap"> </span><item label="Screenshot Now 2"></div>
<div><span style="white-space:pre-wrap"> </span><action name="Execute"></div><div><span style="white-space:pre-wrap"> </span><execute></div><div><span style="white-space:pre-wrap"> </span>scrot -t 80 ~/Imagens/'tela-%d-%m-%Y.png' -e 'gpicview $f'</div>
<div><span style="white-space:pre-wrap"> </span></execute></div><div><span style="white-space:pre-wrap"> </span></action></div><div><span style="white-space:pre-wrap"> </span></item></div><div><span style="white-space:pre-wrap"> </span><item label="Screenshot in 15 s"></div>
<div><span style="white-space:pre-wrap"> </span><action name="Execute"></div><div><span style="white-space:pre-wrap"> </span><execute></div><div><span style="white-space:pre-wrap"> </span>sh -c "scrot -d 15 -c ~/Screenshots/tela-$(date +%d-%m-%Y ).png && display ~/Screenshots/tela-$(date +%d-%m-%Y ).png"</div>
<div><span style="white-space:pre-wrap"> </span></execute></div><div><span style="white-space:pre-wrap"> </span></action></div><div><span></span></div><div><span style="white-space:pre-wrap"> </span></item></div>
<div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt">
<div dir="ltr"> <font face="Arial"> Em Quarta-feira, 30 de Abril de 2014 1:00, E R <<a href="mailto:ears.box@gmail.com" target="_blank">ears.box@gmail.com</a>> escreveu:<br> </font> </div> <div><div><div class="h5">
<div><div dir="ltr"><div>Hi Everyone,<br><br></div>Originally someone showed me these keybindings to take a screen shot,
but since I've started using Compton I get black in screen shots.<br><div><br><!-- Keybindings for Screen Shots --><br>
<keybind key="Print"><br> <action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot</name><br>
</startupnotify><br> <command>bash -c "xwd | convert - /home/foo/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br> <keybind key="S-Print"><br>
<action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot with Frame</name><br> </startupnotify><br>
<command>bash -c "xwd -frame | convert - /home/foo/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br> <keybind key="C-Print"><br>
<action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot Fullscreen</name><br> </startupnotify><br>
<command>bash -c "xwd -root | convert - /home/foo/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br><br><br></div><div>So I've switch this using import like below;<br>
<br><!-- Keybindings for Screen Shots --><br> <keybind key="Print"><br> <action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br>
<name>Snapshot</name><br> </startupnotify><br> <command>bash -c "import /home/sar/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br>
</keybind><br> <keybind key="S-Print"><br> <action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot with Frame</name><br>
</startupnotify><br> <command>bash -c "import -frame /home/sar/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br> <keybind key="C-Print"><br>
<action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot Fullscreen</name><br> </startupnotify><br>
<command>bash -c "import -window root /home/sar/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br><br></div><div>What I don't understand is why there are 3 commands, and the way I have it now for import, is correct because it seems to working ok?<br>
<br></div><div>thank you all... :)<br></div></div>
</div><br></div></div><div class="">_______________________________________________<br>openbox mailing list<br><a href="mailto:openbox@icculus.org" target="_blank">openbox@icculus.org</a><br><a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
<br><br></div></div> </div> </div> </div> </div></div><br>_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
<br></blockquote></div><br></div>