Cut and paste javascript RSS feeds...
Fri, 10/28/2005 - 12:06 — sandipUse the dev center Feed2JS to quickly display RSS feeds on your website using only a simple javascript code that can be cut and pasted to your html files.
How to make OpenOffice start faster...
Mon, 10/10/2005 - 08:54 — sandipIf you notice OpenOffice taking a while to start-up even with a 1GB memory for your desktop machine, then you are not alone. This is because by default the application only uses 9MB of the RAM for it's graphic cache. To increase the Graphic Cache, go to "Tools > Options > OpenOffice.org > Memory" and increase the "Graphics Cache" from 9M to about 128MB (Adjust this accordingly depending on your usage and available RAM). Restart OpenOffice and you will notice that the latency has now dissapeared...
While you are at it, the Memory per object setting allocates memory for each object. The default is 2.4 MB which may need to be increased if you are working with high quality images or decreased if you are not really using images and you need to save on memory resources.
Quick references to some frequently used Linux commands...
Wed, 10/05/2005 - 23:54 — sandipThis list has been compiled over time as reference to some of the frequently used linux commands that I use. I hope it will help some new-comers ;)
Linspire giving away desktop Linux OS
Fri, 09/02/2005 - 16:33 — sandipmp3 support in RhythmBox for Redhat/Fedora
Sun, 08/21/2005 - 16:18 — sandipRedhat/Fedora does not come with mp3 support enabled by default. Follow the below directions to install the mp3 plugin for RhythmBox:
-
As root setup the livna repo for yum.
# rpm --import http://rpm.livna.org/RPM-LIVNASetup the fedora extras repo for yum. FC4 should come with a default setup for extras.-GPG-KEY # cat <<EOF > /etc/yum.repo.d/livna.repo [li vna] name=Livna.org Fedora Compatible Packages baseurl=http://rpm.li vna.org/fedora/$releasever/$ba search/RPMS.lvn enabled=0 gpgc heck=1 EOF
Upgrading from Fedora Core 3 to Fedora Core 4 -- quick upgrade using ISOs from HDD
Fri, 08/19/2005 - 08:38 — sandipThe easiest and fastest way to upgrade FC3 to FC4 is to do it using the ISOs from the hard drive.
In my case I am using the nvidia driver (see related post...), the IPW2200 kernel module driver for wireless and the firmware for the corresponding IPW2200 driver. (See related post...). So prior to the upgrade make sure to download all of the required drivers.
Below is a quick outline of the upgrade using ISOs from the hard-drive itself without having to burn it into cds or dvds:
Inkscape - Vector Graphics on Linux
Tue, 08/02/2005 - 11:02 — sandipInkscape is an open source drawing tool with capabilities similar to Illustrator, Freehand, and CorelDraw that uses the W3C standard scalable vector graphics format (SVG). Some supported SVG features include basic shapes, paths, text, markers, clones, alpha blending, transforms, gradients, and grouping. In addition, Inkscape supports Creative Commons meta-data, node-editing, layers, complex path operations, text-on-path, and SVG XML editing. It also imports several formats like EPS, Postscript, JPEG, PNG, BMP, and TIFF and exports PNG as well as multiple vector-based formats.
Listen to mp3 songs using XMMS in Redhat/Fedora
Tue, 08/02/2005 - 09:40 — sandipMP3 support is not included in Redhat or Fedora due to licensing concerns. You will need to first install MP3 support for XMMS in order to play files in that format.
The necessary RPM file (xmms-mp3) is available from Freshrpms.net .
Here's what I did on FC3 to download and install the plugin:
$ wget http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/3/xmms/x mms-mp3-1.2.10-9.1.1.fc3.fr.i3 86.rpm # rpm -ivh xmms-mp3-1.2.10-9.1.1.fc3.fr.i 386.rpm
While you're at it, you may also want to install the skins rpm and check out some additional XMMS tips at the LinuxDevCenter .
Rename files and folders to lower case letters
Fri, 07/29/2005 - 09:58 — sandipHere's a simple bash script that will help in renaming files and folders with uppper-case to lower-case letters.
Make sure you have a backup and test it with a small batch. Also read the whole comments section below if you have spaces in your file names.
#!/bin/bash # # Filename: rename.sh # Description: Renames files and folders to lowercase recursively # from the current directory # Variables: Source = x # Destination = y # # Rename all directories. This will need to be done first. # # Process each directory’s contents before the directory itself for x in `find * -depth -type d`; do # Translate Caps to Small letters y=$(echo $x | tr '[A-Z]' '[a-z]'); # check if directory exits if [ ! -d $y ]; then mkdir -p $y; fi # check if the source and destination is the same if [ "$x" != "$y" ]; then # check if there are files in the directory # before moving it if [ $(ls "$x") ]; then mv $x/* $y; fi rmdir $x; fi done # # Rename all files # for x in `find * -type f`; do # Translate Caps to Small letters y=$(echo $x | tr '[A-Z]' '[a-z]'); if [ "$x" != "$y" ]; then mv $x $y; fi done exit 0
The OpenCD Project
Wed, 07/27/2005 - 16:21 — sandipThe OpenCD project aims to introduce users of MS-Windows to the benefits of Free and Open Source Software (FOSS).
When you insert the disc into your computer it automatically launches a browser which will guide you through the contents of the disc, presenting the various programs, and allow you to easily install them. The programs are carefully selected to ensure stability, ease of use and a clean install and un-install from your computer. This CD is intended as a first introduction to the world of OSS, in the hope that you will later go on to explore other projects, and at some stage you may even want to try a whole new operating system such as Linux.
The latest edition also lets you boot into a highly polished desktop based on Ubuntu for a taste of the world of free operating systems! Many of the same applications found on the Windows side of the disc are also pre-installed on the live Ubuntu demo, showing how the user experience and data can be preserved across platforms.