Showing posts with label Utility Software. Show all posts
Showing posts with label Utility Software. Show all posts

Saturday, December 3, 2011

Conky Script to display Weather Forcast on your desktop.

First get the basics of the post from here. Here is a simple script to display weather forecast on your desktop. I'm using yahoo weather to get the xml feed of forecast because it requires no login/registration and can be just use it directly.


Thursday, October 13, 2011

Conky : Ultimate System Monitoring Tool

Conky is the lightweight, super-configurable application, which sits on your desktop or terminal. It is a fork of Torsmo and licensed under the GPL 3.0.
It can also be customized to gather and display almost any type of information on the user's desktop or terminal.

Saturday, June 11, 2011

Understanding VIM : [Tabs] Tutorial-5

It's quite possible that you may be working on several projects at once, having tabs set up can be a cool way to multi-task without having to see all of your files at once.
If you want to start Vim with more than one file, run vim -p filename1 filename2. This will open each file in its own tab.
Already in a Vim session? You can open a new tab with :tabnew filename to open (or create) a file.
To switch to the next (right) tab use gt in command mode. To switch to the previous (left) tab, use gT.
To close a tab you can use :q. If you're editing one file in a tab and use :wq Or you can use :tabc to save & close it.

Tuesday, June 7, 2011

blueproximity : Lock/unlock Desktop using Bluetooth.

This software helps you add a little more security to your desktop by detecting one of your bluetooth devices, most likely your mobile phone and locks the desktop if the mobile is not in the vicinity. If you move away from your computer and the distance is above a certain level for a given time, it automatically locks your desktop or starts any other shell command that you want.
Once away your computer awaits till you are back with your mobile. If you are nearer than a given level for a set time your computer unlocks magically without any interaction (or starts any other shell command you want).

Sunday, June 5, 2011

Understanding VIM : [Viewpoints] Tutorial-4

Using viewpoints & tabs (introduced in vim 7), we can edit more than one file at a time. This is useful when you are connected with a remote machine & you prefer to open only one session. It's also useful when we want to edit a long file at different lines.
Viewpoints breaks the vim editor into two or more segments, either vertically or horizontally. Open a vi editor & then go to last line command, enter :split. You can now see two views of the same file.

Sunday, April 10, 2011

Understanding VIM : Beginner's Tutorial-3

In the previous tut.,  we have learned copying/pasting/searching within the file. Now, we are going to take a step further in the direction of Vim editor mastery.
While editing a file, we may need to number the lines with in the file, most probably in case of a program, may be a C program. We can achieve this by this command. (Note that we are in last line mode.)
:set number 
or its abbreviation:
:set nu 

Tuesday, January 4, 2011

Understanding VIM : Beginner's Tutorial-2

Cont. from previous post.
Here we are going to know about copying/pasting & searching in vim editor. Let's open a file, created previously.
Now, we want to search 'gofer'. If you are not inside command mode, type [esc]. Now, type /gofer & enter. If you want to highlight next appearance of gofer, hit n. If you want to highlight previous appearance of gofer, hit N.

Friday, December 31, 2010

Understanding VIM : Beginner's Tutorial-1

Vim editor takes some time to settle within the working arena  of professionals. It's a cake walk when people use it for atleast a week.
There are three modes in vim - insert mode, command mode, and last-line mode.
Insert mode is meant for inserting text, press i for start mode. Command mode is used for executing formating texts. Last-line mode is used for executing extended commands for text formating.
Start Vim by typing vim /vi .

Thursday, December 23, 2010

Prioritize processes using Taskset

Almost every system has multiprocessors nowadays. You may require to run a process using 1 CPU or multiple CPUs. This functionality can be used by installing taskset.
Let's say you want to run firefox using one CPU. You'd run something like this:
taskset 0x00000001 firefox
For allowing firefox to use 2 CPUs replace 0x00000001 with 0x00000003
For allowing firefox to use all CPUs replace 0x00000001 with 0xFFFFFFFF

Wednesday, December 15, 2010

Powertop : [Top + Power Management]

Powertop is a utility software that lists processes which are eating away your battery power & suggests you power saving useful tips. The utility in mainly meant for laptops where power consumption is critical issue. Powertop is the project of lesswatts.org. You can check this link for the processes which usually consume more power.

Friday, December 10, 2010

rtcwake : Wake up your system after given time.

Waking up the pc is the common need of every moderate users. In that case rtcwake is a useful utility for you. Using this utility you can wake up your linux box at any given time. So, why do we need to wake up the poor soul. Because of the following reasons:
  • System clean-up when you are busy sleeping after exploiting the pc for a whole day.
  • Routine System backup when you are busy attending other emergencies. 
  • Running a cron job like buzzing a song to wake you up. 
The usage can be endless. To install this program. Execute commands below.

sudo apt-get install rtcwake
sudo chmod u+s /usr/sbin/rtcwake

An example of the rtcwake command can be
rtcwake -m mem -s 300

Thursday, December 2, 2010

Webcam setup in Debian Linux

Setting up things in Debian systems is quite easy due to the online installation utilities like apt-get & aptitude. For setting up your webcam connect your webcam to the usb. Execute the command.
>  lsusb

If the cam is supported then it will show its information. After that we have to install a cam application software. Camorama can capture stills or display images as they happen. It has no streaming capabilities.
>aptitude install camorama

Wednesday, December 1, 2010

Online Crontab Tool

Crontab is a handy tool for scheduling particular tasks/commands. You can set a time for updating the system, shutting it down etc. So, to use the crontab, issue the command
>crontab -e 
This will display the crontab file which you can edit to set your tasks.
These are the options related to crontab
crontab -e    Edit your crontab file, or create one if it doesn’t already exist.
crontab -l      Display your crontab file.
crontab -r      Remove your crontab file.
crontab -v      Display the last time you edited your crontab file. (This option is only available on a few systems.)

Monday, November 29, 2010

Best backup tools in Linux.

Data lose is one of the major fears of the users.Disk failures & accidents are the common cause of data lose which can occur at any time, so it's really important to keep track of our data regularly.
Backup tools comes with various features:
-enable you to identify important files and directories that are then constantly monitored and regularly backed up.
-perform incremental backups, which – after making a complete initial imprint of the directory – will then only make copies of new files or those that have changed since the last backup inorder to tackle redundancy.
-compress your data so you can store it more efficiently.
-tools that will encrypt your data when making copies.
-GUI and command line flavours

Sunday, March 28, 2010

Running Windows Applications in Linux

Transitioning from Windows to Linux is often quite difficult for Linux beginners. There are plenty of solutions available in the market today which will provide you a platform to install a window software in Linux.
Wine
in one of the them. Many Linux OS have already started providing wine by default like linux Mint, Kubuntu etc.

Wine is a compatibility layer for running Windows programs. It is a completely free alternative implementation of the Windows API consisting of 100% non-Microsoft code.

Before you get started, you may want to check and confirm that the Windows program you want to install is in fact supported by Wine. Visit the Wine Application Database for a list of all the programs known to work in Wine, and at what level (fully supported, needs some tweaking, etc).



There is another software called Crossover
which requires registration. Visit this site http://www.howtogeek.com/howto/linux/how-to-install-windows-applications-on-linux-using-crossover/ for further information


If you don't want any hassle of installing packages in linux like Wine & Crossover, I suggest these alternatives.

1> Search for open source alternatives. There are plenty of alternatives available in market like gimp instead of Photoshop, openoffice instead of Microsoft office, BriscCad instead of Autocad.
I feel like, you are not satisfied yet. Goto www.osalt.com.
On that site, you can enter the name of the Windows application and it will list the open source alternatives that provide similar functionality.

2> Run windows in a virtual machines. Some of the solutions available are VmWare & VirtualBox. Install windows inside linux & work in it.

Citrix
3> Run application in remote windows system. Ofcourse, this require extra resources. Most preferred application used are rdesktop & Citrix.


If you want it other way round i.e. running linux software in windows,
check this out -->http://hacks-tweaks-security.blogspot.com/2010/04/creating-linux-environment-installing.html