Feeds:
Posts
Comments

Archive for the ‘How To’ Category

Using scanner in Gutsy is much easier compare to Feisty. XSane program is included in the Gutsy package, so you don’t have to download the program. When I used Xsane in Feisty, the program recognized my scanner, but it could not run the scanner.

My scanner is CanoScan LiDE 20 (from Canon). The CD package is only available for Win* and Macintosh. When I use with Xsane in Ubuntu Gutsy, it is recognized as CanoScan 1240U/flatbed scanner.

Before I start, I assume that:

  • You use Ubuntu Gutsy

  • Xsane has installed already.

(more…)

Read Full Post »

ipligence01.gif

It’s only additional add-on for your blog. If you are interested to put it in your blog, you may follow the steps below:

Note:

  • I Assume that you are familiar with basic WordPress menu

  • Familiar with basic HTML code

Step 1. Copy the codes from http://www.ipligence.com/

Click ‘free IP search‘.
ipligence02.png

Goto to the bottom page. There are 2 choices of display that you can use. If you want to use like my one, you can choose infobox #2.
ipligence03.png

Step 2. Copy the link.

<a href=”http://www.ipligence.com/&#8221; target=”_blank”><img src=”http://www.ipligence.com/freetools/iplocation/b2/&#8221; alt=”ip-location” border=”1″>

 

Then separate the code into:

Step 2. Copy your ipligence link into your WordPress.

Login to your wordpress and goto to your blogroll.

You can create a new category or just put into existing category.

Don’t forget to put ‘ipligence’ on ‘Name’, ipligence link address on ‘Address’ and ipligence image on ‘Image address’. Click ‘Save changes’ to save.
ipligence04.png

ipligence05.png

 

Read Full Post »

If you need to run other Operating System in Ubuntu, you have to use a Virtual Machine. There are few most used Virtual Machines available on the internet, Virtual Box is one of them.

I like to use Virtual Box because it’s easy to operate.

Installation

From Ubuntu Terminal screen (Applications > Accessories > Terminal), type:

taufanlubis@toshiba:~$ sudo apt-get install virtualbox

Reading package lists… Done

Building dependency tree

Reading state information… Done

Note, selecting virtualbox-ose instead of virtualbox

The following extra packages will be installed:

virtualbox-ose virtualbox-ose-modules-2.6.22-14-generic

Recommended packages:

virtualbox-ose-source

The following NEW packages will be installed:

virtualbox-ose virtualbox-ose-modules-2.6.22-14-generic

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 6012kB of archives.

After unpacking 19.3MB of additional disk space will be used.

Do you want to continue [Y/n]? y

WARNING: The following packages cannot be authenticated!

virtualbox-ose-modules-2.6.22-14-generic virtualbox-ose

Install these packages without verification [y/N]? y

Get:1 http://archive.ubuntu.com gutsy/universe virtualbox-ose-modules-2.6.22-14-generic 6 [317kB]

Get:2 http://archive.ubuntu.com gutsy/universe virtualbox-ose 1.5.0-dfsg2-1ubuntu3 [5695kB]

Fetched 6012kB in 2m30s (40.0kB/s)

Selecting previously deselected package virtualbox-ose-modules-2.6.22-14-generic.

(Reading database … 152703 files and directories currently installed.)

Unpacking virtualbox-ose-modules-2.6.22-14-generic (from …/virtualbox-ose-modules-2.6.22-14-generic_6_i386.deb) …

Selecting previously deselected package virtualbox-ose.

Unpacking virtualbox-ose (from …/virtualbox-ose_1.5.0-dfsg2-1ubuntu3_i386.deb) …

Setting up virtualbox-ose-modules-2.6.22-14-generic (6) …

Installing new version of config file /etc/init.d/vboxdrv …

* Starting VirtualBox kernel module vboxdrv [ OK ]

Setting up virtualbox-ose (1.5.0-dfsg2-1ubuntu3) …

taufanlubis@toshiba:~$

How to run?

  • Before you run the Virtual Box, you must have a permisson, otherwise you will get an error.

  • Open System > Administration > Users and Groups > Manage Groups.

virtualbox00.png

Choose vboxusers then click Properties.

Mark on your user name and click OK.

Now, your user name has a permission to run Virtual Box.

virtualbox01.png

Now, your user name has a permission to run Virtual Box.

Open Applications > System Tools > Innotek Virtualbox.

Now, you are ready to use Virtual Box.

virtualbox02.png

 

Read Full Post »

If you asked me, it’s the real step to fix the web cam problem? I will answer, I don’t know. I just found that it suddenly works.

At least if you know what I did before, it may work to you too.

But, I don’t want to put you on trouble if you fail. So, if you want to try, try it in your on risk.

There are 2 trials that I’ve done before.

First Test. Using original driver from Toshiba (failed)

 

First, I install ndiswrapper application because I don’t have it.

taufanlubis@toshiba:~$ sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9

[sudo] password for taufanlubis:

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following packages were automatically installed and are no longer required:

mplayer-skins mplayer libggi2 libgii1 libgii1-target-x youtube-dl

Use ‘apt-get autoremove’ to remove them.

Suggested packages:

ndiswrapper-source

The following NEW packages will be installed:

ndiswrapper-common ndiswrapper-utils-1.9

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

Need to get 52.7kB of archives.

After unpacking 238kB of additional disk space will be used.

Get:1 http://archive.ubuntu.com gutsy/main ndiswrapper-common 1.43-1ubuntu2 [19.2kB]

Get:2 http://archive.ubuntu.com gutsy/main ndiswrapper-utils-1.9 1.43-1ubuntu2 [33.5kB]

Fetched 52.7kB in 2s (25.0kB/s)

Selecting previously deselected package ndiswrapper-common.

(Reading database … 130825 files and directories currently installed.)

Unpacking ndiswrapper-common (from …/ndiswrapper-common_1.43-1ubuntu2_all.deb) …

Selecting previously deselected package ndiswrapper-utils-1.9.

Unpacking ndiswrapper-utils-1.9 (from …/ndiswrapper-utils-1.9_1.43-1ubuntu2_i386.deb) …

Setting up ndiswrapper-common (1.43-1ubuntu2) …

Setting up ndiswrapper-utils-1.9 (1.43-1ubuntu2) …

taufanlubis@toshiba:~$

Then I install my windows driver with Ndiswrapper.

You have to go back to your original Windows and copy the web cam driver files or may be you have to download from Toshiba website.

taufanlubis@toshiba:~/MyData/driver_webcam$ ls -lh

total 24K

-rwx—— 1 taufanlubis taufanlubis 1.7K 2007-02-06 11:40 UVCFTR.inf

-rwx—— 1 taufanlubis taufanlubis 18K 2007-01-27 08:13 UVCFTR_S.sys

taufanlubis@toshiba:~/MyData/driver_webcam$ sudo ndiswrapper-1.9 -i UVCFTR.inf

installing uvcftr …

I checked ndiswrapper’s driver list

taufanlubis@toshiba:~/MyData/driver_webcam$ ndiswrapper -l

uvcftr : driver installed

device (04F2:B008) present

taufanlubis@toshiba:~/MyData/driver_webcam$

I loaded ndiswrapper module

taufanlubis@toshiba:~/MyData/driver_webcam$ sudo modprobe ndiswrapper

Finally checked the loaded module in kernel ring buffer

taufanlubis@toshiba:~$ dmesg | grep 04f2:b008

[ 15.280000] uvcvideo: Found UVC 1.00 device Chicony USB 2.0 Camera (04f2:b008)

Done.

Now, I need an application to test it. So, I downloaded Camorama, it didn’t work. Still not recognized the video device.

Then I tried with EasyCam2, also did not work.

Finally, I tested with XawTV.

taufanlubis@toshiba:~$ sudo apt-get install xawtv

Reading package lists… Done

Building dependency tree

Reading state information… Done

xawtv is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

taufanlubis@toshiba:~$

Not working, BUT, when use ARROWdown key, the blue light of the webcam is TURN ON.

But still nothing happen.

I stopped it.

 

Second trial, using gspca-source driver (failed)

taufanlubis@toshiba:~$ sudo apt-get install gspca-source linux-headers-$(uname -r)

Reading package lists… Done

Building dependency tree

Reading state information… Done

linux-headers-2.6.22-14-generic is already the newest version.

The following extra packages will be installed:

debhelper html2text intltool-debian module-assistant po-debconf

Suggested packages:

dh-make kernel-package

Recommended packages:

libmail-sendmail-perl libcompress-zlib-perl

The following NEW packages will be installed:

debhelper gspca-source html2text intltool-debian module-assistant po-debconf

0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.

Need to get 1030kB of archives.

After unpacking 2769kB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://archive.ubuntu.com gutsy/main html2text 1.3.2a-3build1 [90.6kB]

Get:2 http://archive.ubuntu.com gutsy/main intltool-debian 0.35.0+20060710.1 [31.6kB]

Get:3 http://archive.ubuntu.com gutsy/main po-debconf 1.0.9 [117kB]

Get:4 http://archive.ubuntu.com gutsy/main debhelper 5.0.51ubuntu3 [526kB]

Get:5 http://archive.ubuntu.com gutsy/universe module-assistant 0.10.11 [100kB]

Get:6 http://archive.ubuntu.com gutsy/universe gspca-source 01.00.16-1-1 [165kB]

Fetched 1030kB in 37s (27.7kB/s)

Selecting previously deselected package html2text.

(Reading database … 111318 files and directories currently installed.)

Unpacking html2text (from …/html2text_1.3.2a-3build1_i386.deb) …

Selecting previously deselected package intltool-debian.

Unpacking intltool-debian (from …/intltool-debian_0.35.0+20060710.1_all.deb) …

Selecting previously deselected package po-debconf.

Unpacking po-debconf (from …/po-debconf_1.0.9_all.deb) …

Selecting previously deselected package debhelper.

Unpacking debhelper (from …/debhelper_5.0.51ubuntu3_all.deb) …

Selecting previously deselected package module-assistant.

Unpacking module-assistant (from …/module-assistant_0.10.11_all.deb) …

Selecting previously deselected package gspca-source.

Unpacking gspca-source (from …/gspca-source_01.00.16-1-1_all.deb) …

Setting up html2text (1.3.2a-3build1) …

Setting up intltool-debian (0.35.0+20060710.1) …

Setting up po-debconf (1.0.9) …

Setting up debhelper (5.0.51ubuntu3) …

Setting up module-assistant (0.10.11) …

Setting up gspca-source (01.00.16-1-1) …

taufanlubis@toshiba:~$

taufanlubis@toshiba:/usr/src$ ls

alsa linux-headers-2.6.22-14 realplay

gspca-source.tar.bz2 linux-headers-2.6.22-14-generic

taufanlubis@toshiba:/usr/src$ sudo bunzip2 gspca-source.tar.bz2

taufanlubis@toshiba:/usr/src$ ls

alsa linux-headers-2.6.22-14 realplay

gspca-source.tar linux-headers-2.6.22-14-generic

taufanlubis@toshiba:/usr/src$ ls

alsa linux-headers-2.6.22-14 realplay

gspca-source.tar linux-headers-2.6.22-14-generic

taufanlubis@toshiba:/usr/src$ sudo mkdir gspca-source

taufanlubis@toshiba:/usr/src$ sudo mv gspca-source.tar /usr/src/gspca-source

taufanlubis@toshiba:/usr/src$ ls

alsa linux-headers-2.6.22-14 realplay

gspca-source linux-headers-2.6.22-14-generic

taufanlubis@toshiba:/usr/src$

taufanlubis@toshiba:/usr/src$ cd gspca-source/

taufanlubis@toshiba:/usr/src/gspca-source$ sudo tar -xf gspca-source.tar

taufanlubis@toshiba:/usr/src/gspca-source$ ls -l

total 1260

-rw-r–r– 1 root root 1280000 2007-05-04 01:27 gspca-source.tar

drwxr-xr-x 3 root root 4096 2007-05-04 01:27 modules

taufanlubis@toshiba:/usr/src/gspca-source$ cd modules/

taufanlubis@toshiba:/usr/src/gspca-source/modules$ ls -l

total 4

drwxr-xr-x 15 root root 4096 2008-03-02 21:31 gspca

taufanlubis@toshiba:/usr/src/gspca-source/modules$ cd gspca/

taufanlubis@toshiba:/usr/src/gspca-source/modules/gspca$ ls -l

total 2648

-rw-r–r– 1 root root 3043 2007-04-26 20:52 changelog

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 Conexant

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 debian

drwxr-xr-x 2 root root 4096 2008-03-02 21:31 decoder

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 Etoms

-rwxr-xr-x 1 root root 919 2006-05-07 22:45 gspca_build

-rw-r–r– 1 root root 122885 2007-04-26 20:35 gspca_core.c

-rw-r–r– 1 root root 621336 2008-03-02 21:31 gspca_core.o

-rw-r–r– 1 root root 13888 2007-03-19 00:03 gspca.h

-rw-r–r– 1 root root 917584 2008-03-02 21:31 gspca.ko

-rw-r–r– 1 root root 13111 2008-03-02 21:31 gspca.mod.c

-rw-r–r– 1 root root 61048 2008-03-02 21:31 gspca.mod.o

-rw-r–r– 1 root root 857654 2008-03-02 21:31 gspca.o

-rwxr-xr-x 1 root root 1957 2007-04-26 20:45 Makefile

-rw-r–r– 1 root root 1672 2007-03-18 22:41 Makefile.kld

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 Mars-Semi

-rw-r–r– 1 root root 0 2008-03-02 21:31 Module.symvers

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 Pixart

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 Sonix

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 Sunplus

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 Sunplus-jpeg

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 Transvision

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 utils

drwxr-xr-x 2 root root 4096 2007-05-04 01:27 Vimicro

taufanlubis@toshiba:/usr/src/gspca-source/modules/gspca$

taufanlubis@toshiba:/usr/src/gspca-source/modules/gspca$ sudo make

make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/gspca-source/modules/gspca CC=cc modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic’

CC [M] /usr/src/gspca-source/modules/gspca/gspca_core.o

CC [M] /usr/src/gspca-source/modules/gspca/decoder/gspcadecoder.o

LD [M] /usr/src/gspca-source/modules/gspca/gspca.o

Building modules, stage 2.

MODPOST 1 modules

CC /usr/src/gspca-source/modules/gspca/gspca.mod.o

LD [M] /usr/src/gspca-source/modules/gspca/gspca.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic’

taufanlubis@toshiba:/usr/src/gspca-source/modules/gspca$

taufanlubis@toshiba:/usr/src/gspca-source/modules/gspca$ sudo make install

mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/

rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko

rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko

install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/

/sbin/depmod -ae

taufanlubis@toshiba:/usr/src/gspca-source/modules/gspca$

taufanlubis@toshiba:/usr/src/gspca-source/modules/gspca$ sudo modprobe gspca

taufanlubis@toshiba:/usr/src/gspca-source/modules/gspca$

taufanlubis@toshiba:/usr/src/gspca-source/modules/gspca$ cd /dev

taufanlubis@toshiba:/dev$ sudo chmod a+rw video0

taufanlubis@toshiba:/dev$ ls -l video0

crw-rw-rw- 1 root video 81, 0 2008-03-02 20:14 video0

taufanlubis@toshiba:/dev$

When I tried with camorama, XawTV and easycam also did not work.

But, few weeks later, I don’t know why I can saw my face in my wecam with aMsn. Is chicony web cam only work with aMsn? I don’t know.

fixwebcam01.png

Then I double-click to have a chat with my friend.

fixwebcam02.png

To try to use my web cam.

fixwebcam03.png

I still don’t know the answer. But, it works.

fixwebcam04.png

Check the mic, it works.

fixwebcam05.png

fixwebcam06.png

fixwebcam07.png

That’s it. Any idea?

Read Full Post »

Compiz is a program to create amazing effect in Linux Desktop. Compiz is automatically installed as default in Ubuntu Gutsy. Unfortunately you can only do few effects with it. To set more effect with Compiz you a program named Comfiz Config Setting Manager. You will have a new menu, Advanced Desktop Effects Setting, after you install the program.
compiz1.png

Installation

From Ubuntu Terminal screen (click Applications > Accessories > Terminal), type:

taufanlubis@toshiba:~$ sudo apt-get install compizconfig-settings-manager

[sudo] password for taufanlubis:

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following extra packages will be installed:

python-compizconfig

The following NEW packages will be installed:

compizconfig-settings-manager python-compizconfig

0 upgraded, 2 newly installed, 0 to remove and 152 not upgraded.

Need to get 540kB of archives.

After unpacking 3486kB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://archive.ubuntu.com gutsy/universe python-compizconfig 0.5.2+git20070912-0ubuntu1 [29.1kB]

Get:2 http://archive.ubuntu.com gutsy/universe compizconfig-settings-manager 0.5.2+git20070912-0ubuntu1 [511kB]

Fetched 540kB in 1m6s (8122B/s)

Selecting previously deselected package python-compizconfig.

(Reading database … 92078 files and directories currently installed.)

Unpacking python-compizconfig (from …/python-compizconfig_0.5.2+git20070912-0ubuntu1_i386.deb) …

Selecting previously deselected package compizconfig-settings-manager.

Unpacking compizconfig-settings-manager (from …/compizconfig-settings-manager_0.5.2+git20070912-0ubuntu1_all.deb) …

Setting up python-compizconfig (0.5.2+git20070912-0ubuntu1) …

Setting up compizconfig-settings-manager (0.5.2+git20070912-0ubuntu1) …

taufanlubis@toshiba:~$

Running the program

Open System > Preferences > Advanced Desktop Effects Setting.

To add animations, click ‘Animations’ button.
compiz2.png

To decrease the effect speed, increase the duration value.

To increase the duration value, choose an effect that you want to slow down, click Edit button, increase the duration value and click OK button.

compiz3.png

Below are my favorite effect setting:
compiz4a1.png

compiz4b.png

 

compiz4c.png

Some my favorite compiz effect.

  • Super + E = activates the Expo plugin

  • Super+Shift = paint fire on your desktop with your mouse

  • Super+Shift+C = will erase the fire paint

  • Super + Tab = activates the Ring Switcher plugin

  • Shift+Alt+ArrowUP = Arrange windows cascade in a workspace

  • Ctrl+Alt+ArrowDown = Arrange windows horizontal in a workspace

  • Ctrl+Alt+MouseButton1+Scroll = Rotate Cube

  • Super+N Negative = Active Window

  • Super+M = Negative Screen

Read Full Post »

In WordPress you can not modify your HTML code unless you are registered as paid member. So, if you want to put and additional link with a picture on it, it will be difficult.

But with a bit trick, you can do that.

For example, I want to put cluster map visitor in my WordPress. To do that, basically you need 2 address.

  • Your link address

  • Your image address

Note:

  • I Assume that you are familiar with basic WordPress menu

  • Familiar with HTML code

Step 1. Copy your Cluster map Link.

clustermap0.png
<a href=”http://www3.clustrmaps.com/counter/maps.php?url=http:/taufanlubis.wordpress.com&#8221; id=”clustrMapsLink”><img src=”http://www3.clustrmaps.com/counter/index2.php?url=http:/taufanlubis.wordpress.com&#8221; style=”border: 0pt none ” alt=”Locations of visitors to this page” /></a>

I took this link from Cluster map website.

As you can see,

Step 2. Create a new Blog roll category in your WordPress

If you want to put your link in a different blog roll, you have to create a new category.
cluster3.png

Step 3. Create a new Blog roll

Read Full Post »

When you open a console terminal and you get bored with your default prompt, you can change.

$ _

That is the default prompt.

$ is a prompt shell

_ is a cursor

# is a prompt shell for super user or root

Change Prompt

The command is: PS1=”your_string”

For example, I want to make my new prompt to be “taufanlubis@myubuntu_server:~$”,

Just type:

taufanlubis@toshiba:~$ PS1=”taufanlubis@myubuntu_server:~$”

My new prompt.

taufanlubis@myubuntu_server:~$

Read Full Post »

« Newer Posts - Older Posts »

Follow

Get every new post delivered to your Inbox.

Join 71 other followers