Taking screenshot in firefox.

2013-02-03 1 min read Firefox

Couple of days back, I was trying to take screenshot with Firefox. As usual I started out with searching for plugins which could take a screen shot for the whole page and not just the visible portion of the page. Installed couple of them, some did not work. Finally I found something called Development Bar.

So, here is a simple way to take a screenshot. Press “Shift+F12”. This will bring up a bar in the bottom of the firefox window. To take a screenshot, type:

Continue reading

Take a screenshot of the window the user clicks on and name the file the same as the window title

2010-12-19 2 min read Bash Learning Photo

Take a screenshot of the window the user clicks on and name the file the same as the window title

  <td>
    <div class="text codecolorer">
      &nbsp;sleep 4; xwd >foo.xwd; mv foo.xwd "$(dd skip=100 if=foo.xwd bs=1 count=256 2>/dev/null | egrep -ao '^[[:print:]]+' | tr / :).xwd"
    </div>
  </td>
</tr>
1

In general, this is actually not better than the “scrot -d4” command I’m listing it as an alternative to, so please don’t vote it down for that. I’m adding this command because xwd (X window dumper) comes with X11, so it is already installed on your machine, whereas scrot probably is not. I’ve found xwd handy on boxen that I don’t want to (or am not allowed to) install packages on.

Continue reading

bash – change theme for gtk in gnome and take screenshot from script.

2010-03-24 1 min read Bash Fedora GNOME

I wrote a blog on bash script to change the icon/cursor theme using a bash script. Lets extend the same concept a little more and use the script to change the gtk theme for gnome and at the same time take a screenshot also.

#!/bin/bash
path=&#8221;/tmp/screenshot&#8221;
[[ &#8221;$1&#8221; == &#8221;&#8221; ]] && time=5 || time=$1
[[ &#8221;$2&#8221; == &#8221;&#8221; ]] && (
cd ~/.themes
cont=&#8221;y&#8221;
echo &#8221;Select one of the icon themes&#8221;
echo &#8221;When you like some theme just press Ctrl+c&#8221;
for i in *
do
[[ -d $i/cursors ]] || (
echo &#8221;Now trying …. : $i&#8221;
gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme &#8221;$i&#8221;
sleep 1
j=$(echo &#8221;$path/$i&#8221;).jpg
import -window root -quality 95 &#8221;$j&#8221;
sleep $time
)
done
) || gconftool-2 –type string -s  /desktop/gnome/interface/gtk_theme &#8221;$2&#8221;

Continue reading

shotwell- Photo organizer for Linux in Gnome

2010-01-21 2 min read Fedora Linux Photo

Here is description of shotwell:

Shotwell is a new <a class="zem_slink freebase/en/open_source" title="Open Source" rel="wikinvest" href="http://www.wikinvest.com/concept/Open_Source">open source photo organizer designed for the <a class="zem_slink freebase/en/gnome" title="GNOME" rel="homepage" href="http://www.gnome.org/">GNOME <a class="zem_slink freebase/en/desktop_environment" title="Desktop environment" rel="wikipedia" href="http://en.wikipedia.org/wiki/Desktop_environment">desktop environment. It allows you to import photos from your camera, view and edit them, and share them with others.

Link to shotwell:

<a href="http://www.yorba.org/shotwell/" target="_blank">http://www.yorba.org/shotwell/

Here are some <a class="zem_slink freebase/en/screenshot" title="Screenshot" rel="wikipedia" href="http://en.wikipedia.org/wiki/Screenshot">screenshots from the application.

Continue reading

gnome-shell and gnome-do on F11 Screenshots

2009-12-02 1 min read Fedora GNOME

Here are some screenshots of gnome-shell :

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_0011.jpe"><img class="size-full wp-image-1246" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot_0011.jpe" alt="Gnome Shell" width="840" height="525" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot.png"><img class="size-full wp-image-1247" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot.png" alt="Gnome Shell" width="840" height="525" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-1.png"><img class="size-full wp-image-1248" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-1.png" alt="Gnome Shell" width="840" height="525" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-2.png"><img class="size-full wp-image-1249" title="Gnome Shell" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-2.png" alt="Gnome Shell" width="840" height="525" />