Monday, April 5, 2010

Installing Compiz on Fedora 12

Installing Compiz on Fedora 12

Installing Compiz on Fedora 12 is not easy. First of all, due to compatibility issues with nouveau driver, additional steps are required to install and configure nvidia 3D driver. After resolving 3D driver issue, you need to modify Compiz configuration file so that your settings are captured. The installation procedure is the same for 32-bit/64-bit Fedora 12.

Installing Compiz

Issue the following command to install Compiz:

* #yum install emerald-themes compiz-fusion-extras emerald compiz-fusion compiz-manager compiz-fusion-extras-gnome gnome-compiz-manager libcompizconfig compiz-fusion-gnome ccsm

Configuring Compiz

CCSM Problem

You can change the settings using CompizConfig Settings Manager (ccsm) under System >> Preference. However, due to some bug, the changes in ccsm will not affect the system. To rectify this problem you need to change the script file for Compiz in /usr/bin/compiz-gtk

Once you open this file, change the following line from:

* exec compiz –ignore-desktop-hints glib gconf gnomecompat $@

to:

* exec compiz –ignore-desktop-hints glib gconf gnomecompat ccp $@

Enabling, Configuring and Using Compiz

You enabled Compiz by select System >> Preference >> Desktop Effect. Choose Compiz.

You can change the effects using System >> Preference >> CompizConfig Settings Manager

To rotate the Window Cube, press Ctrl+Alt and simultaneously use your mouse to rotate the window.

If you are new Linux user, it is recommended that you follow the step mentioned above.

Saturday, April 3, 2010

Radio Online Malaysia Dan Linux Rhythmbox

Bagi mereka yang suka mendengar radio pasti tidak melepaskan peluang mendengar radio online di Malaysia.

Tutorial.

1. Pergi ke Applications > Sound and Video > Rhythmbox Music Player.
2. Klik Radio pada sebelah kiri panel.
3. Tekan butang paling kanan sekali – Create new Internet radio – di bahagian toolbar.
4. Isikan mana-mana link di bawah pada ruangan di tetingkap yang muncul nanti.
5. Tekan Add.
6. Klik dua (2) kali pada nama link radio yang diletakkan tadi.

Berikut senarai link radio yang boleh digunakan pada Rhythmbox.

* Fly Fm – http://rs9.radiostreamer.com:11000/
* Hot Fm – http://rs9.radiostreamer.com:10000/
* One Fm – http://rs9.radiostreamer.com:12000/
* Era Fm – mms://rs5.radiostreamer.com/AMP_ERA
* Hitz Fm – mms://rs5.radiostreamer.com/AMP_HITZ
* Ikim Fm – http://210.48.148.126/ikim
* Mix Fm – mms://rs5.radiostreamer.com/AMP_MIX
* Red Fm – http://75.125.106.156:9000/;stream.nsv
* Sinar Fm – mms://rs5.radiostreamer.com/AMP_SINAR
* X-Fresh Fm – mms://rs5.radiostreamer.com/AMP_XFM
* Klasik Fm – http://mfile.akamai.com/24752/live/reflector:50934.asx
* Jazz Fm – http://tlrc.as34763.net/live.asx?station=jazz1
* My Fm – mms://rs5.radiostreamer.com/AMP_MYFM
* Kl Fm – http://mfile.akamai.com/24752/live/reflector:56151.asx
* Musik Fm – http://bkj-station4.jaring.my/muzikfm
* Radio 24 Fm – http://www.radio24.com.my/player/radio24.asx
* Suria Fm – mms://kl.cdn.tm.net.my/suriafm
* Minnal Fm – http://bkj-station1.jaring.my/minnalfm
* Express Tamil Online Radio Fm – http://www.extamil.com/radio
* Ai Fm – http://bkj-station4.jaring.my/aifm
* Mnet Fm – http://live.mnetfm.net:8080
* Nasyid Fm – http://nasyidfm.net/radio/listen.asx
* 988 Fm - http://75.125.106.155:8000
* Radio Sabah Fm – http://www.rtmsabah.gov.my/sabah_fm.asx
* Radio Sabah V Fm – http://www.rtmsabah.gov.my/sabah_v_fm.asx
* Labuan Fm – http://grace.fast-serv.com:9854
* Traxx Fm – http://bkj-station1.jaring.my/traxxfm
* Asyik Fm – http://bkj-station1.jaring.my/asyikfm
* Lite Fm – mms://rs5.radiostreamer.com/AMP_LITE
* THR Gegar Fm “permata pantai timur” – mms://rs5.radiostreamer.com/AMP_THRG
* THR Raaga Fm – mms://rs5.radiostreamer.com/AMP_THRR
* Fuhyoo Fm – http://78.129.245.212:32253
* Fungkur Fm – http://fungkurfm.mine.nu:8000
* Rilek Fm – http://67.220.76.198:8000
* Putra Fm – http://www.putrafm.upm.edu.my:8080
* Langkawi Fm – http://cybermedia.mmu.edu.my/ext/rml.asx
* Multimedia Unversiti Fm – http://cybermedia.mmu.edu.my/ext/rmmu.asx
* Selangor Fm – http://cybermedia.mmu.edu.my/ext/rms.asx
* Negeri Fm – http://cybermedia.mmu.edu.my/ext/rmns.asx
* Kedah Fm – http://60.51.214.210:8000/
* Perlis Fm – http://60.49.230.182:8000/

Cara-Cara Repair Grub

Ramai pengguna Linux yang masih menggunakan dual-boot antara Windows atau Mac memandangkan ada sesetengah aplikasi atau program yang hanya berfungsi pada OS tertentu sahaja.

Bagi yang menggunakan Windows pula kadangkala akan memformat kembali OS ini setelah terkena virus, keluar skrin biru (BSOD) atau ada ralat yang tak boleh diperbaiki akan juga memadam Menu GRUB yang dipasang Linux. Akhirnya, anda tidak dapat mengakses ke Linux walaupun partition dan failnya masih ada.

Ikuti tutorial di bawah untuk mengembalikannya. (Tutorial berdasarkan Ubuntu).

1. Boot PC anda dengan Ubuntu. Pilih Try Ubuntu without any change to you computer.

2. Klik Applications > Accessories > Terminal .

3. Taipkan sudo grub .

4. Taipkan find /boot/grub/stage1 . Ia akan mengeluarkan partition mana yang anda pasangkan GRUB sebelum ini.

5. Taipkan root (hd?,?) yang mana gantikan ? dengan nombor partition yang dinyatakan pada langkah 4. Contohnya root (hd0,1) .

6. Taipkan setup (hd0) .

7. Tutup Terminal dan mulai semula komputer.

Sunday, March 28, 2010

How to restore Grub boot loader after installing Windows

This tutorial will explain how to restore Grub after installing Windows 7/Vista/Xp.If you are using dual boot PC with windows,Ubuntu for some reason you reinstall your windows now you may not see your grub 2 is loading because your windows installation might have been over written MBR (Master boot record).
Method 1

Using Ubuntu 9.10 livecd

First you need to download Ubuntu from Ubuntu site

In this tutorial we are assuming the Ubuntu partition is sdc3,and /boot partition is sdc2

Note:- You need to replace sdc3,sdc2 with your partitions.You can check your partition table with fdisk -l

Now Boot up ubuntu from the livecd,open terminal from Applications menu -> Accessories -> Terminal and login as root using the following command

sudo -i

mount /dev/sdc3 /mnt

mount /dev/sdc2 /mnt/boot

grub-install --root-directory=/mnt/ /dev/sdc


If you are not having “grub.cfg” file,use following contents to recreate

mount --bind /proc /mnt/proc

mount --bind /dev /mnt/dev

mount --bind /sys /mnt/sys

chroot /mnt update-grub

umount /mnt/sys

umount /mnt/dev

umount /mnt/proc

exit


Method 2

Using GRUB for DOS

GRUB4DOS is an universal boot loader based on GNU GRUB. It can boot off DOS/LINUX, or via Windows boot manager/syslinux/lilo, or from MBR/CD. It also has builtin BIOS disk emulation, ATAPI CDROM driver, etc.

Download GRUB for DOS

For XP Users

copy the file grldr from grub4dos package to C:\.Edit boot.ini (hidden file) and add this line to the file:

c:\grldr=”grub4dos”


For Windows7/Vista Users

Copy the file grldr,grldr.mbr to C:\.Create boot.ini file in the root directory of C:,copy and paste following into this file.

[boot loader]
timeout=0
default=c:\grldr.mbr
[operating systems]
C:\grldr.mbr=”Grub4Dos”


Now,create menu.lst in root directory,with the following content

timeout 0
default 0
title grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
boot


Now restart your computer,and select boot from Grub4Dos.Then select boot up Ubuntu in grub menu.
Once login,use this command to install grub into mbr

sudo grub-install /dev/sdc


Note :- Replace sdc with your partiton

Saturday, March 27, 2010

How To Use MEncoder

Install

First, ensure that the mencoder package is installed with all appropriate dependencies with

sudo apt-get install mencoder

You may also consider finding and install the w32codecs package, if you will be working with proprietary formats, such as wmv.

Basic Usage

To use mencoder, you must specify at least an input file, an output file, an audio encoder and a video encoder. As a general framework, you can use the following to convert a video from any type that mplayer can read, to an avi file using mp3 audio encoding.

mencoder -oac mp3lame -ovc lavc -o output_movie.avi

Audio/Video encoders

To see a list of audio encoders supported on your installation, run

mencoder -oac help


To use an audio encoder, specify it as in the example above with -oac .

Similarly for video encoders, search with

mencoder -ovc help

Friday, March 26, 2010

Convert RMVB To AVI Using LINUX Mencoder

In terminal just type this command

mencoder in.rmvb -oac mp3lame -lameopts preset=128 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200 -ofps 25 -of avi -o out.avi

in.rmvb means input file name
out.avi means output file name..

Hope this will work for you all..Thanks.

Wednesday, March 24, 2010

Riger DB102 Router Mode

Go to http://192.168.1.1.

* Username: tmadmin
* Password: tmadmin

Then you will see this above page. Go and click at the WAN Tab and click at PPP.

Set the new interface as:

* PPP interface = 0
* ATM VC = aal5-0
* Protocol = PPoE
* Use DNS = enable
* Security = PAP

Don’t forget to set your username as USERNAME@streamyx and also your TMNet Streamyx password. When done, click Submit.

Click on ATM VC and make sure interface are set as:

* aal5-0 VPI = 0
* VCI = 35
* MUX = LLC
* Max proto = 2

After that, click on Admin and then Commit and then Reboot Once it’s done you should check your Internet connectivity by loading your favorite website.

If you’re unable to go to 192.168.1.1, please make sure that your PC IP is in the range of 192.168.1.x.

Done!