Remove some path from the PATH variable temporarily.

2010-09-04 2 min read Bash Linux

How many times has it happened to you that you are working on some linux platform (like Fedora/Ubuntu/CentOS etc) and suddenly you see that you need to remove some path from the PATH variable so that a script is executed from some other path. It really difficult to do this if the path is too long and if you end up doing this couple of times. If that is the case, then the below script is for you 🙂

Continue reading

Speed up mkat with no md5sum for the files.

2010-09-02 1 min read Linux

mkat details:

mkat is a set of <a class="zem_slink" title="Command-line interface" rel="wikipedia" href="http://en.wikipedia.org/wiki/Command-line_interface">command line tools to burn, catalog <a class="zem_slink" title="Data" rel="wikipedia" href="http://en.wikipedia.org/wiki/Data">data CD/<a class="zem_slink" title="DVD" rel="wikipedia" href="http://en.wikipedia.org/wiki/DVD">DVD, <a class="zem_slink" title="Compact Disc" rel="wikipedia" href="http://en.wikipedia.org/wiki/Compact_Disc">audio CDs and then search the catalog <a class="zem_slink" title="Database" rel="wikipedia" href="http://en.wikipedia.org/wiki/Database">database, e.g. check whether you have a certain file or audio CD in your collection. Tags can be used to categorize CDs, e.g. <a class="zem_slink" title="Comedy" rel="wikipedia" href="http://en.wikipedia.org/wiki/Comedy">comedy, <a class="zem_slink" title="Drama" rel="wikipedia" href="http://en.wikipedia.org/wiki/Drama">drama, etc. Audio CD support is very rudimentary though.

Continue reading

Zabbix error\’d — just for fun

2010-08-28 1 min read Uncategorized

<img class="size-medium wp-image-2432" title="History-Zabbix Error'd" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/History-Zabbix-300x151.jpg" alt="History-Zabbix Error'd" width="300" height="151" />

I was woking on Zabbix some days back and here&#8217;s a screenshot that I took from Zabbix running on <a class="zem_slink" title="Red Hat" rel="homepage" href="http://www.redhat.com">Red Hat Enterprise <a class="zem_slink" title="Linux" rel="homepage" href="http://www.kernel.org/">Linux 5. Pretty interesting to see that there is a graph with all the values on the <a class="zem_slink" title="Cartesian coordinate system" rel="wikipedia" href="http://en.wikipedia.org/wiki/Cartesian_coordinate_system">Y-axis as 3.26GB and still there is a trend on the graph. How many times did you get such graph 🙂

Continue reading

Gmail Videochat Comes to Linux

2010-08-26 1 min read Fedora Linux

?Gmail Videochat Comes to Linux
&#8221;The long wait is over and Linux users can finally use the Gmail
Videochat! The <a class="zem_slink" title="Gmail" rel="homepage" href="http://gmail.com">GMail team recently announced the availability of voice
and <a class="zem_slink" title="Videoconferencing" rel="wikipedia" href="http://en.wikipedia.org/wiki/Videoconferencing">video chat on Linux. This feature is currently supported on <a class="zem_slink" title="Ubuntu (operating system)" rel="homepage" href="http://www.ubuntu.com/">Ubuntu
and other <a class="zem_slink" title="Debian" rel="homepage" href="http://www.debian.org/">Debian-based <a class="zem_slink" title="Linux distribution" rel="wikipedia" href="http://en.wikipedia.org/wiki/Linux_distribution">Linux distributions. <a class="zem_slink" title="RPM Package Manager" rel="homepage" href="http://rpm.org/">RPM Support for <a class="zem_slink" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora Linux
and other <a class="zem_slink" title="Red Hat" rel="homepage" href="http://www.redhat.com">Red Hat based distributions (like <a class="zem_slink" title="CentOS" rel="homepage" href="http://www.centos.org/">CentOS) is going to be added
soon.&#8221; Some screenshots of GMail Video Chat on Linux in action

Continue reading

gphotoframe Free digital photo frame for your desk.

2010-08-11 2 min read Fedora GNOME Photo

First install the gphotoframe application with the command :

sudo yum install gphotoframe

and if you want gnome-screensaver compatibility then install the package gphotoframe-gss also.

Gnome Photo Frame is a photo frame gadget for the <a class="zem_slink" title="GNOME" rel="homepage" href="http://www.gnome.org/">GNOME Desktop. Let&#8217;s see how this works.. run the command gphotoframe from a terminal:

Here is what you will see :

<a href="http://blog.amit-agarwal.com/wp-content/uploads/2010/08/Screenshot-gphotoframe.png"><img class="size-medium wp-image-1880" title="Screenshot-gphotoframe" src="http://blog.amit-agarwal.com/wp-content/uploads/2010/08/Screenshot-gphotoframe-300x227.png" alt="Screenshot-gphotoframe" width="300" height="227" />

Don&#8217;t panic on seeing the blank/black page. You need to add the source first. So <a class="zem_slink" title="Mouse (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Mouse_%28computing%29">right click on the window and go to preferences:

Continue reading

Shape Collage – Simple software to create collage with a java application.

2010-07-31 1 min read Linux Photo

Download from <a href="http://www.shapecollage.com/download.html">here.

Very useful utility to create collage in variety of ways. Here are some screenshots to give you a idea of how this works.

<a href="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_0011.bmp"><img src="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_0011.bmp" alt="Shape Collage Settings" title="Shape Collage Settings" class="aligncenter size-full wp-image-1292" />

<a href="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_002.bmp"><img src="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_002.bmp" alt="Shape Collage Settings" title="Shape Collage Settings" class="aligncenter size-full wp-image-1293" />

<a href="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_003.bmp"><img src="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_003.bmp" alt="Shape Collage Settings" title="Shape Collage Settings" class="aligncenter size-full wp-image-1294" />

<a href="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_004.bmp"><img src="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_004.bmp" alt="Shape Collage Settings" title="Shape Collage Settings" class="aligncenter size-full wp-image-1295" />

Continue reading

Auto Key press fill forms through simulating key presses | Linux.com

2010-07-31 2 min read Bash Linux

This script can be used to repeatedly press <a class="zem_slink" title="Electronic keyboard" rel="wikipedia" href="http://en.wikipedia.org/wiki/Electronic_keyboard">keys on the <a class="zem_slink" title="Keyboard (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Keyboard_%28computing%29">keyboard, it was used to fill out 100 odd entries on a <a class="zem_slink" title="Web page" rel="wikipedia" href="http://en.wikipedia.org/wiki/Web_page">web page while testing without having to physically enter the data.

Save the code below some where like <a class="zem_slink" title="Filesystem Hierarchy Standard" rel="wikipedia" href="http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard">/usr/bin/ with what ever file name you like, set the file to be <a class="zem_slink" title="Executable" rel="wikipedia" href="http://en.wikipedia.org/wiki/Executable">executable with <a class="zem_slink" title="Chmod" rel="wikipedia" href="http://en.wikipedia.org/wiki/Chmod">chmod +x /usr/bin/keyrepeat

Continue reading
Older posts Newer posts