Friday, March 31, 2006

Creating symbolic links in Linux

You can easily create symbolic links similar to shortcuts in Linux using this command
ln -s filename newname
If you remove or delete the file then it will be dangling or broken link
Then the broken link can be removed by
symlinks -rd directory

Installing MP3 plugin in FC5

The best way to install MP3 pugin is by using yum.
Use this command
# yum -y install bmpx bmp-mp3 gstreamer-plugins-ugly libmad libid3tag
This installs MP3 plugin for Rhthymbox and BMPX.

Wednesday, March 29, 2006

Lauch Taskmanager Quickly..

There are manily three ways to lauch task manager in Windows 2000/NT/XP.
ctrl+alt+del task manager is lauched in NT security dialogue box.
Right click windows task bar and select task manager.
Ctrl+shift+esc will bring windows task manger.

Reinitialize your registry without rebooting Windows

Many registry needs system reboot. With this tweak you can get around with that problem. You can reintialize your Windows XP registry using this tweak.

Press CTRL + ALT + DELETE, to bring up the Windows task list. Highlight 'Explorer' and click on 'End Task', if the Shutdown screen is shown, click 'Cancel'. After a few seconds an error message will popup, click on 'End Task' and the Windows explorer will be reloaded along with any new registry settings.

For Windows NT ,2000 or XP, press Ctrl + Alt + Delete and select "Task Manager". Choose the "Processes" tab and locate the "explorer.exe" process, highlight it and click "End Process". Select 'File -> New Task', then enter 'explorer' and click OK.

Tuesday, March 28, 2006

Creating an ISO image file in Linux

For creating an ISO image file in linux you can use the following command. If you are using graphiocal cdrecord utility then use Nero Linux or K3b. From command line use this command
/usr/bin/mkisofs -r -o file.iso /files/to/image

Monday, March 27, 2006

Detecting two ethernet cards in Linux

To configure an ethernet card in Linux you need to enable it in the kernel. Then the kernel will detect your ethernet card if it is at a common IO port. But it will stop there, and will never check if you have 2 ethernet cards.The trick is to tell the ethernet driver that there are 2 cards in the system. The following line will tell the kernel that there is an ethernet card at IRQ 10 and IO 0x300, and another one at IRQ 9 and IO 0x340:
ether=10,0x300,eth0 ether=9,0x340,eth1
You can add that line on bootup at the "boot:" prompt, or in the /etc/lilo.conf file.
run lilo at prompt
This will load lilo and enable changes.

Sunday, March 26, 2006

How to make Google Internet Explorer's Primary Search Engine

By default IE uses msn.com as its search engine. But you can make IE search google by default using this registry tweak.
Start>Run
Type regedit
This opens the registry editor.
Now navigate to HKEY_CURRENT_USER \ Software
\ Microsoft \ Internet Explorer \ Main
.Double-click the Search Page value, and in the Value data box enter http://www.google.com (overwriting existing entry).Select New > String Value from the Edit menu .Name the new value Search Bar.Double-click the Search Bar value, and in the Value data box enter http://www.google.com/ie.Go to HKEY_CURRENT_USER \ Software Microsoft \ Internet Explorer \ SearchURL. Double-click the (Default) value, and in the Value data box enter http://www.google.com/keyword/%s.Select the key HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer .Select New > Key from the Edit menu .Name the new key Search.With the Search key selected, Select Select New > String Value from the Edit menu .Name the new value SearchAssistant.Double-click the SearchAssistant value, and in the Value data box enter http://www.google.com/ie.Close the registry editor.
For this to work, make sure you haven't selected Do not search from the Address bar in Advanced options in Tools>Internet Options menu.


How to delete an undeletable file in Windows XP

If you try to delete a file and you get the file is in use and cannot delete message. You can delete the file using this method.
Start>Run
Type cmd
This opens the command prompt. Leave that windows open.
Now Start>Run
Type taskmgr.exe. This opens the task manager. Now go to the process tab, click on explorer.exe and click end process. Now in the command prompt window go to the directory where the undeletable file is using DOS commands. Delete the file using Del filename . The file will be deleted. Now go back to taskmanager window. File>New Task. Type explorer.exe. Click OK to restart the GUI shell.

Enable Autologin in Windows XP

You can enable Windows XP to login to a account automatically at boot up using this method
Start>Run
Type control userpasswords2
Select the user account you want to set autologin on. Uncheck user must enter a username and password check box.Click apply.Enter the password for the acccount you choose to autologin. Click OK.

Disable Prefetch in Windows XP

One of the notable feature in Windows XP is that it loads programs very fast. This is done by loading fragments of program at system startup. This may slow your bootup.
To disable prefetching do the following
Start>Run
Type Regedit
This opens the registry editor
Now navigate to HKEY_LOCAL_MACHINE \ SYSTEM CurrentControlSet \ Control \ SessionManager
\ Memory Management \ PrefetchParameters
Double-click the EnablePrefetcher value (remember the value that EnablePrefetcher is set to!)
Change the Value data to 0 to disable the prefetcher
Close the registry editor and reboot the computer for the changes to take effect