h1

August 16, 2016

This is a test message from Rejoy Panakkal

h1

vlc media player (ah! sweet videos on my system again, yah)

March 17, 2008

If you don’t know about the vlc media player by now, you have been living in a dark, dingy and videoless world so far. I had used it on my windows system in the bad old days and since i am pissed off with the players that come along with the slackware linux on my system for not being able to play flv files and similar obscure video extensions, i got myself the package. All you have to do is to go super user and run the command:

installpkg vlc-0.8.5-i686-3.tgz

or whatever the name of the package is then and… thats it. Run vlc by typing “vlc” (duh) in the command prompt or making a shortcut on the desktop. As most of you already know, vlc makes an excellent dvd player too, not to mention playing all those flv files downloaded from youtube (using the UnPlug plugin). Shhh! šŸ˜‰

h1

Gtalking

February 25, 2008

1. Click Accounts > Add (At the main login screen)
2. From the protocol dropdown select Jabber
3. Your screen name will be your gmail address except @gmail.com Example: If your address is xyz@gmail.com then your screen name will be xyz
4. Change the server from jabber.org to gmail.com
5. Password will be the same password that you use for Gmail
6. Click show more options
7. ā€œUse TLS is availableā€ should be checked
8. The connect server should be ā€œtalk.gmail.comā€

h1

“Rar”ing to go

September 20, 2007

Since we all download rar files at some point in our lives, i found UnRar for linux a handy tool. And since i am using slackware, all i needed to do to install it was to download the slackware package and put the unrar binary file in /usr/bin. To use it, type in the command:

unrar -e filename

h1

using tar to copy files

July 24, 2007

I found theĀ “tar”Ā command quite usefulĀ in copying a directory (including all its files and sub-directories) to another directory of my choice:

cd /from-stuff/
tar cf – . | (cd /to-stuff; tar xvf -)

/from-stuff/: the directory from which you want to copy the files
/to-stuff/: the directory to which you want to copy your stuff

I have not figured out the tar command yet, so i am currently using this like a black box with input(from-stuff) and an output(to-stuff)

h1

mounting the usb dvd drive

July 24, 2007

Since the dvd drive which came along with my laptop can only “read-write” dvd-r’s (and not dvd+r), it was imperative for me to be able to mount my usb dvd+r drive on slackware. Here is how it is done:

mount -r /dev/scd0 /mnt/dvd/

/dev/scd0: seems likeĀ this is used for scsi devices

h1

xchm

July 20, 2007

For all those of us geeks who collect .chm ebooks, xchm is a necessary program in linux. I finally got it up on slackware after having failed to install it on fedora(seems that i didn’t follow the instructions to the letter).

h1

removing kde’s trash can from the desktop

July 20, 2007

I prefer to keep the program shortcuts on the panel and so it became an annoying to see that lone trash can teasing me into deleting it. But ofcourse, right-clicking on it gives no such option. So we had to do it in the hacker’s spirit. First I made a shortcut for the icon on my panel. Then I opened the terminal and typed:

rm -R ~/Desktop/trash.desktop

viola! a clean desktop finally

h1

how to build a program in linux

July 20, 2007

In linux, its the trinity of commands “configure_make_make-install” which you use to install most programs. But before you do that, it is advisable to take a look at the “install.txt” file before proceeding because there might be some extra flags or commands one have to add to get it correct. Else, first extract the file by right clicking on it in kde (or gnome) and selecting extract here. Then open a terminal, “cd” to the location you have extracted your file to and type:

./configure
//system spits out crap
make
//more console crap
su
//enter root password
make install
//more… yeah! you get it
exit
//goes out of su mode

now all one has to do is to either type the name of the program in the console or make a shortcut on the desktop

h1

mounting the pendrive

July 20, 2007

This was similar to mounting the cdrom:

mount -rw -t auto /dev/sda1 /mnt/pendrive

-rw: readable and writable
-t auto: filetype detected automatically
/dev/sda1: seems that this is the type of device for pendrives
/mnt/pendrive: i had to create the “pendrive” folder in the “/mnt” directory

after having done this, open the “/mnt/pendrive” folder to access its contents. After you are finished with it, close all related “/mnt/pendrive” folders and konsoles, and unmount it with the command:

umount /mnt/pendrive

if it gives an error message saying that it is busy, then give the command:

umount -l /mnt/pendrive

-l: “lazy” unmount which means, it will unmount as soon as the device stops being busy