2010-06-25 4 min read Linux

Note: I am using this and definately this is a big improvement over the previous versions. Here is the blog from gnome blog:

After more than a year of heavy development, <a class="zem_slink freebase/en/networkmanager" title="NetworkManager" rel="homepage" href="http://www.gnome.org/projects/NetworkManager">NetworkManager 0.8 was unleashed on the world a few weeks ago.  While we obviously couldn’t make everyone happy just yet, this release includes a ton of great stuff.  Much of it is under the hood, so while it won’t dazzle you in a blinding flash of light, it should still make your head explode.

Continue reading

Use GIMP to create awesome looking collage in minutes

2010-06-24 2 min read Fedora Linux Photo

Here is an example to begin with:
<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300x200-dscn0161.jpg"><img class="alignnone size-full wp-image-1228" title="300x200-dscn0161" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300x200-dscn0161.jpg" alt="300x200-dscn0161" width="267" height="200" />

I will make another collage as an example with screenshots to take you through the process.

First decide on the size of the collage. I will take 8×12 inches as example. Now, decide on what kind of collage you want. If you want similar to one above then we would need some similar photos to go in the background otherwise you can use some brush strokes as the background image. Now fire up gimp and select new image and enter the properties:

Continue reading

Check file usage using fuser

2010-06-24 1 min read Fedora Linux

There is a package called psmisc that provides a useful application fuser. The package provides the below (on fedora):

/sbin/fuser
/usr/bin/killall
/usr/bin/peekfd
/usr/bin/pstree
/usr/bin/pstree.x11

There are couple of options you can provide on the terminal to fuser. The main purpose of the binary is to check the process id of the process using the file. This can be useful if some file operation on a file is blocking something for you 🙂

Continue reading

Fedora 11 Leonidas — Fix HDD (Hard Disk) and CD/DVD automount issues for users other than root.

2010-06-22 1 min read Fedora

I have been thinking of putting this for quite some time now. By default no user (other than root) on Fedora 11 has the permission to mount CD/DVD and or ntfs/vfat partitions. So HAL automount does not work for these.

Here is something you can do to fix this:

Open System-> Preferences -> Authourizations

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-Authorizations.jpg"><img class="size-full wp-image-905" title="Screenshot-Authorizations" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Screenshot-Authorizations.jpg" alt="Screenshot-Authorizations" width="800" height="700" />

Now, go to org -> hal -> storage and make the changes to suit your needs. You can add or remove a particular user for the operation with the Grant or Block buttons or for all the users system-wide with the Edit button.

Continue reading

Oracle GUI client on Linux with mysql support

2010-06-22 1 min read Fedora Linux

I was looking for some nice client for Oracle and mysql. I did find mysql-administrator and navicat to be useful but this is much better. <a href="http://sourceforge.net/projects/tora/" target="_blank">Tora is the client that I am talking about. Installation did not take much time for me..

downloaded the instant client from oracle.com and then the tora rpm from sourceforge.net. Also downloaded the tora-mysql from http://rpm.pbone.net/index.php3/stat/21/year/2002/month/01/day/28

Then tried to install all the rpms found the rpms that were missing and installed them using yum. Once this is done install the downloaded rpms with &#8221;–nodeps&#8221; option of rpm.Put the entries in bashrc

Continue reading

Fixing the Xorg X server after removing nouveau and nvidia and installing a nVidia graphics card.

2010-06-22 2 min read Fedora Linux

I updated my destop configuration recently, well thats not the news. But I was a idiot doing certain things at that time might be something interesting to my readers. I got a <a class="zem_slink freebase/en/nvidia" title="Nvidia" rel="geolocation" href="http://maps.google.com/maps?ll=37.3707277778,-121.963738889&spn=0.01,0.01&q=37.3707277778,-121.963738889%20%28Nvidia%29&t=h">nVidia <a class="zem_slink freebase/en/video_card" title="Video card" rel="wikipedia" href="http://en.wikipedia.org/wiki/Video_card">graphics card, that was not the issue but I uninstalled the drivers for it after putting it in was the issue.

So, here is the story and the fix.

Continue reading

concatenate compressed and uncompressed logs

2010-06-21 1 min read Bash Linux

<span style="font-size: x-large;"><a href="http://feedproxy.google.com/~r/Command-line-fu/~3/iwFUyltYgjM/concatenate-compressed-and-uncompressed-logs">concatenate compressed and uncompressed logs

$ find /var/log/apache2 -name 'access.loggz' -exec <a class="zem_slink freebase/en/gzip" title="Gzip" rel="homepage" href="http://www.gzip.org/">zcat {} ; -or -name 'access.log' -exec cat {} ; This command allows you to stream your log files, including gziped files, into one stream which can be piped to <a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk or some other command for analysis.

Note: if your version of &#8217;find&#8217; supports it, use:

Continue reading
Older posts Newer posts