Feeds:
Posts
Comments

Archive for the ‘How To’ Category

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 »

Step 1. Download the Real Player

Download link: https://player.helixcommunity.org/2005/downloads/

I suggest to download the ‘Installer’ program. It’s much easier.

Step 2. Change access permission

taufanlubis@toshiba:~$ ls -l realplay-10.0.9.809-linux-2.2-libc6-gcc32-i586.bin

-rw-r–r– 1 taufanlubis taufanlubis 5790356 2008-02-12 08:20 realplay-10.0.9.809-linux-2.2-libc6-gcc32-i586.bin

taufanlubis@toshiba:~$ sudo chmod a+x realplay-10.0.9.809-linux-2.2-libc6-gcc32-i586.bin

taufanlubis@toshiba:~$ ls -l realplay-10.0.9.809-linux-2.2-libc6-gcc32-i586.bin

-rwxr-xr-x 1 taufanlubis taufanlubis 5790356 2008-02-14 07:55 realplay-10.0.9.809-linux-2.2-libc6-gcc32-i586.bin

Note:

When you install the realplay, make sure that your directory name has no space, otherwise it will create an error. For example:

taufanlubis@toshiba:~/mydata/My Ubuntu Collections/packages$ sudo ./realplay-10.0.9.809-linux-2.2-libc6-gcc32-i586.bin

Extracting files for RealPlayer installation…sh: /home/taufanlubis/mydata/My: not found

Step 3. Installation

taufanlubis@toshiba:~$ sudo ./realplay-10.0.9.809-linux-2.2-libc6-gcc32-i586.bin

Extracting files for RealPlayer installation……………………

Welcome to the RealPlayer (10.0.9.809) Setup for UNIX

Setup will help you get RealPlayer running on your computer.

Press [Enter] to continue…

Enter the complete path to the directory where you want

RealPlayer to be installed. You must specify the full

pathname of the directory and have write privileges to

the chosen directory.

Directory: [/home/taufanlubis/RealPlayer]: (just press enter)

You have selected the following RealPlayer configuration:

Destination: /home/taufanlubis/RealPlayer

Enter [F]inish to begin copying files, or [P]revious to go

back to the previous prompts: [F]: f (just press enter)

Copying RealPlayer files…configure system-wide symbolic links? [Y/n]: .y (just press enter)

enter the prefix for symbolic links [/usr]: .. (just press enter)

Setting up realplay symlinks in /usr…

configuring icons…

configuring document icons…

configuring pixmaps…

configuring locale…

.configuring desktop…

configuring applications…

configuring GNOME mime types…

Configuring realplay script…

RealPlayer installation is complete.

Cleaning up installation files…

Done.

taufanlubis@toshiba:~$

Running the program

Click Applications > Sound & Video > Real Player 10

realplayer10.png

Read Full Post »

Alien is a program that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats.

When do you need Alien?

At the time you want to install a program meanwhile the only package available is from another linux distribution. For an example, your linux package is Red Head Package (.rpm) but you are using Ubuntu which use Debian Package (.deb) then you will need Alien.

How to install the program?

taufanlubis@toshiba:/usr/src/sources$ sudo apt-get install alien

Reading package lists… Done

Building dependency tree

Reading state information… Done

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

python2.4-minimal python2.4 tango-icon-theme-common tango-icon-theme

Use ‘apt-get autoremove’ to remove them.

The following extra packages will be installed:

debhelper gettext html2text intltool-debian libbeecrypt6 libneon25 librpm4 po-debconf rpm

Suggested packages:

lsb-rpm lintian dh-make cvs gettext-doc

Recommended packages:

libmail-sendmail-perl libcompress-zlib-perl

The following NEW packages will be installed:

alien debhelper gettext html2text intltool-debian libbeecrypt6 libneon25 librpm4 po-debconf rpm

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

Need to get 4228kB of archives.

After unpacking 15.1MB 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 gettext 0.16.1-2ubuntu3 [1552kB]

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

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

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

Get:6 http://archive.ubuntu.com gutsy/main libbeecrypt6 4.1.2-6build1 [108kB]

Get:7 http://archive.ubuntu.com gutsy/main libneon25 0.25.5.dfsg-6build1 [103kB]

Get:8 http://archive.ubuntu.com gutsy/main librpm4 4.4.1-14.1ubuntu2 [991kB]

Get:9 http://archive.ubuntu.com gutsy/main rpm 4.4.1-14.1ubuntu2 [603kB]

Get:10 http://archive.ubuntu.com gutsy/main alien 8.68 [104kB]

Fetched 4228kB in 60s (69.9kB/s)

Selecting previously deselected package html2text.

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

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

Selecting previously deselected package gettext.

Unpacking gettext (from …/gettext_0.16.1-2ubuntu3_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 libbeecrypt6.

Unpacking libbeecrypt6 (from …/libbeecrypt6_4.1.2-6build1_i386.deb) …

Selecting previously deselected package libneon25.

Unpacking libneon25 (from …/libneon25_0.25.5.dfsg-6build1_i386.deb) …

Selecting previously deselected package librpm4.

Unpacking librpm4 (from …/librpm4_4.4.1-14.1ubuntu2_i386.deb) …

Selecting previously deselected package rpm.

Unpacking rpm (from …/rpm_4.4.1-14.1ubuntu2_i386.deb) …

Selecting previously deselected package alien.

Unpacking alien (from …/archives/alien_8.68_all.deb) …

Setting up html2text (1.3.2a-3build1) …

Setting up gettext (0.16.1-2ubuntu3) …

Setting up intltool-debian (0.35.0+20060710.1) …

Setting up po-debconf (1.0.9) …

Setting up debhelper (5.0.51ubuntu3) …

Setting up libbeecrypt6 (4.1.2-6build1) …

Setting up libneon25 (0.25.5.dfsg-6build1) …

Setting up librpm4 (4.4.1-14.1ubuntu2) …

Setting up rpm (4.4.1-14.1ubuntu2) …

Setting up alien (8.68) …

Processing triggers for libc6 …

ldconfig deferred processing now taking place

taufanlubis@toshiba:/usr/src/sources$ ls

How to use it?

Convert from RPM to DEB (alien -d)

But not all packages can be converted correctly. Some may still produce errors.

taufanlubis@toshiba:~/MyData/Packages$ sudo alien -d jre-6u2-linux-i586.rpm

Warning: Skipping conversion of scripts in package jre: postinst postrm prerm

Warning: Use the –scripts parameter to include the scripts.

jre_1.6.0_02-1_i386.deb generated

taufanlubis@toshiba:~/MyData/Packages$

Convert from DEB to RPM (alien-r)

You can convert also from DEB to RPM. Some work perfectly.

taufanlubis@toshiba:~/MyData/Packages$ sudo alien -r pytube_0.0.8.1-1_all.deb

pytube-0.0.8.1-2.noarch.rpm generated

taufanlubis@toshiba:~/MyData/Packages$

Read Full Post »

Open your root terminal.

Applications > Accessories > Terminal or Alt-F2 and type ‘gnome-terminal‘.

Then goto to Edit > Current Profile > Effects and change the value at ‘Transparent background‘.

transparent_terminal.png

You can also change the color of the font foreground and background.

terminal_color.png

So, you will have a better display.

 

terminal.png

 

Read Full Post »

I got this problem when I try to back up my data from my laptop today. Suddenly, I got not enough space message. FYI, my external Hard disk is Maxtor Personal One Touch 100GB.

So, I checked the hard disk space left.

taufanlubis@toshiba:~$ cd /media

taufanlubis@toshiba:/media$ ls

cdrom cdrom0 Maxtor sda1 sda2

taufanlubis@toshiba:/media$ df -h Maxtor/

Filesystem Size Used Avail Use% Mounted on

/dev/sdb1 94G 93G 367M 100% /media/Maxtor

taufanlubis@toshiba:/media$

Then I started deleting few gigabyte of my files to free up the space. I surprised because there was no change in Free Hard disk space (still 367M) at all. After searching for a few minutes with File Browser, finally I found out the problem which is a ‘Trash Bin‘ inside my Maxtor.

I though the Trash Bin is only one. Is it the default of Ubuntu? Don’t know yet.

I haven’t looking for the answer. Next time, may be.
maxtor_nospace.png

Well, then I opened the .Trash-taufanlubis (trash bin directory), delete all the files inside.

Check the result.

taufanlubis@toshiba:/media$ df -h Maxtor/

Filesystem Size Used Avail Use% Mounted on

/dev/sdb1 94G 61G 33G 66% /media/Maxtor

taufanlubis@toshiba:/media$

I got my space back.

Read Full Post »

MAC or Media Access Control is the other name for Ethernet Card Address. Ethernet was originally developed by Xerox then further developed by Xerox-DEC-Intel. Before the name was Alohanet. The name was taken from Palo Alto Research Center Aloha Network.

Ethernet was named by Robert Metcalfe. Maybe, Ethernet means carry data everywhere throughout the network.

MAC address is the true name for a computer in a LAN. It’s usually expressed with 12 digits hexadecimal number. (Example: 00:0d:88:b3:72:f3)

When you are connected to a LAN, your IP number will be translated to MAC address by a protocol called ARP (Address Resolution Protocol).

Let’s say, you use computer A with IP 192.168.0.2.

Computer B has an IP 192.168.0.3.

When you send a package to computer B, there are few steps run behind the scene. But these steps are based on LAN configurations. I’m sure that almost all LAN use star topology now.

The first generation of star topology use HUB to connect the all computers. Now, we use SWITCH.

Using HUB
When computer A (192.168.0.2) sends a package to computer B (192.168.0.3), first it will send a broadcast message to all computers in that LAN. Same like, when send a package to Alan, in front of the door, you scream, ‘Hey, who is ALAN?’. If Alan is there, he will say, ‘I’m Alan’ then you deliver the package to him.

Using SWITCH
When computer A (192.168.0.2) sends a package to computer B (192.168.0.3), it will send directly to computer B. Because Switch has everybody’s MAC address in its memory. So, you don’t have to scream.

What is the purpose MAC address for Administrator?

If you read my article about DHCP server,

http://taufanlubis.wordpress.com/2007/10/14/dhcp-server/

…..
…..

lease 192.168.0.199 {

starts 5 2007/10/05 22:37:02;

ends 5 2007/10/05 23:37:02;

tstp 5 2007/10/05 23:37:02;

binding state free;

hardware ethernet 00:0d:88:b3:72:f3;

}

….
….

You see that IP 192.168.0.199 is only used for MAC 00:0d:88:b3:72:f3. Mean, it won’t work if somebody try to use this IP address with another PC. Off course it’s very easy to hack because in Linux you can change your MAC address easily. If you know, :).

taufanlubis@toshiba:~$ ifconfig | grep Ethernet

eth0 Link encap:Ethernet HWaddr 00:A0:XX:XX:XX:XX

eth1 Link encap:Ethernet HWaddr 00:1B:XX:XX:XX:XX

eth0:avah Link encap:Ethernet HWaddr 00:A0:XX:XX:XX:XX

taufanlubis@toshiba:~$

Read Full Post »

« Newer Posts - Older Posts »

Follow

Get every new post delivered to your Inbox.

Join 70 other followers