Color output from ls โ€“ based on file type

2010-02-04 1 min read Bash Linux

Threre are certain default variables which control the color of the output from the ls command, so we will talk about them today.

The first one is to get the color output from the ”ls” command. We will look at the various ways to do this:

First is to use this with default colors:

ls โ€“color=auto

Now this will use the default colors which might not go with your liking ๐Ÿ™‚ So if you want to change the colors you can use the variable called LS_COLORS.

Continue reading

Crossfire game server.. free connection.

2010-02-04 1 min read Fedora

I have setup a Free to use Crossfire game server. If you want to play the game, you can connect to amit.themafia.info

For playing the game you would need the client to connect to it which you can install with

yum install crossfire-client

then you can run the game with ”cfclient” and then connect to amit.themafia.info.

Setting the title of PuTTY window.

2010-02-04 1 min read GNOME Linux

Setting the title for PuTTY window is quite a simple trick. The trick is to set the PS1 with a escape sequence. When the PS1 is set with the escape sequence the variable will set the title window also. And not only can this trick be used in PuTTY but even on gnome-terminal to set the title dynamically. You can use this in the .bashrc or .bash_profile file to do it whenever you are starting the terminal.

Continue reading

Teddy on Desktop just for fun.

2010-02-04 1 min read Fedora

People often complain that Linux users are mostly geeks. Does that seem to be true if you have a package that is just to display a teddy in the desktop. True, its completely true that Fedora has a package called xteddy, whose whole purpose is to display a teddy on the desktop and I must admit that it really looks very good on the desktop ๐Ÿ™‚

Here’s a snapshot:

<img class="size-full wp-image-645" title="xteddy" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/teddy.jpg" alt="xteddy" width="840" height="525" />

Continue reading

Bash styling(themeing), the stylist way.

2010-02-04 1 min read Bash

For last couple of days, I have been looking for solutions to make stlying my bash easier. So, first a screenshot of the effort:

<img class="size-full wp-image-703" title="bash style" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/a.jpg" alt="bash style" width="511" height="332" />

I was looking for the simplest solutions to do this. So, I installed two packages to make my life easier :ย  bashstyle and fortune.

sudo yum install fortune\*

For bash-style you can download the source files <a href="http://www.nanolx.org/bashstyle-ng/" target="_blank">here. Download the file, then do the following:

Continue reading

Wallpaper designed by me with GIMP.

2010-02-04 1 min read Uncategorized

Here&#8217;s the wallpaper, did not spend much time but I think this came out quite good.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/02/Untitled.jpg"><img class="size-medium wp-image-1551" title="Wallpaper" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Untitled-300x225.jpg" alt="Wallpaper" width="300" height="225" />

Click to view full size or to download.

Gentoo, Knoppix and Linux Console Screenshots

2010-02-03 2 min read Linux

Finally I decided to try a few distro&#8217;s that I downloaded with Beldi.

  1. Gentoo: Quite Small distribution. Did not configure my DHCP address and also did not start a X window also so did not try too much.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/02/gentoo.jpg"><img class="size-medium wp-image-204" title="gentoo" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/gentoo-300x224.jpg" alt="gentoo" width="300" height="224" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/02/gentoo2.jpg"><img class="size-medium wp-image-205" title="gentoo2" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/gentoo2-300x224.jpg" alt="gentoo2" width="300" height="224" />

  1. Knoppix: Well known for its recovery functions, the Live CD does discover all the hardware and boots pretty nicely to the X windows directly with the ethernet configured.
    I specially liked the fact that the boot up to X window theme looked quite similar and the background did not change which is quite soothing. And no doubt the desktop background included by default is quite good.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/knoppix.jpg"><img class="size-medium wp-image-207" title="knoppix" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/knoppix.jpg" alt="knoppix" width="192" height="144" />

Continue reading
Older posts Newer posts