Coder's Talk

Having Fun with Computer, Gadget, Programming, Electrical & Electronic, Robotic and Technology

Subscribe via Email

Home
Links
Art of ApOgEE

September 16, 2008
1
Finch - Howto use Pidgin via Terminal Console

For those who have starts getting in love with Terminal Console intruth about enzyte Ubuntu, you may love to be able to do everything from the Terminal console. Even if I previously said, I've already bored with the terminal coz I see it every day...
it is good to know that actually, your terminal can do almost everything you wanna do in your linux box. I just don't like the way it looks and feel because I love art and graphics. I like the eye catchy graphics and also the live cubic desktop effect and so on. Anyway, I would like to share on how to use your Pidgin from terminal console.

I have a lot to say about situations where you only got your terminal console to use programs in linux. But lets keep it short and go straight to the point now. The program to enable you to use Pidgin via Terminal console is called Finch. Finch as in the manual is "A Pimpin’ Penguin console frontend to libpurple Instant Messaging client."

Run this command on your terminal to install finch in Ubuntu:
$ sudo apt-get install finch

After installation, you can now use your Pidgin from the terminal console by running this command on your terminal:
$ finch

As you wish to use terminal, you should already aware that you can't use your mouse (too bad for mousey... LOL). So, you have to be ready with keyboard shortcuts to use this application. Here is the quick list of useful keyboard shortcut to be use within Finch (taken from 'man finch'):

Finch: GNT ShortcutShortcut Description
Alt + a Bring up a list of available actions. You can use this list to access the accounts window, plugins window, preference window etc.
Alt + n Go to the next window.
Alt + p Go to the previous window.
Alt + w Show the list of windows. You can select and jump to any window from the list.
Alt + c Close the current window.
Alt + q Quit.
Alt + m Start moving a window. Press the cursor keys to move the window. When you are done, press Enter or Escape.
Alt + r Start resizing a window. Press the cursor keys to resize the window. When you are done, press Enter or Escape.
Alt + d Dump the contents of the screen in HTML format in a file named "dump.html" in working directory.
Alt + . Move the position of the current window in the window list one place to the right.
Alt + , Move the position of the current window in the window list one place to the left.
Alt + l Refresh the windows. This is useful after resizing the terminal window.
Alt + 1 2 ... 0 Jump to the 1st, 2nd ... 10th window.
Ctrl + o Bring up the menu (if there is one) for a window. Note that currently only the buddylist has a menu.
Alt + / Show a list of available key-bindings for the current widget in focus.
Alt + > Switch to the next workspace
Alt + < Switch to the previous workspace
Alt + t Tag (or untag) the current window
Alt + T Attached all the tag windows to the current workspace
Alt + s Show the workspace list
F9 Create a new workspace and switch to it

 

You may now grab your terminal, try and feel it for yourself. For more information, you may simply call "man finch" and read them. That's all for now mate, Enjoy Ubuntu!!

 

Bookmark This Article:

Labels: how to, linux, Ubuntu


August 30, 2008
0
Howto Set Ubuntu Server IP

Configuring Ubuntu Server IP have never been any easier. Just edit the /etc/network/interfaces file using any text editor on the server. By default, you should have nano and vi in your Ubuntu Server.

The simplest and straight forward text editor is nano. So, use this command:

$ sudo nano /etc/network/interfaces

you should see the default file content like this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

This is the default network settings on your Ubuntu Server where it use DHCP. So, to set it as static IP. Let say, we wanna setting like this:

=> Host IP address: 10.1.1.100
=> Netmask: 255.255.255.0
=> Network ID: 10.1.1.0
=> Broadcast IP: 10.1.1.255
=> Gateway/Router IP: 10.1.1.254
=> DNS Server: 10.1.1.254

You should change the file like this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 10.1.1.100
netmask 255.255.255.0
network 10.1.1.0
broadcast 10.1.1.255
gateway 10.1.1.254

To set the DNS server, edit the /etc/resolv.conf file using this command:

$ sudo nano /etc/resolv.conf

add the line for nameserver like this:

search myisp.com
nameserver 10.1.1.254
nameserver 208.67.222.222
nameserver 208.67.220.220

That's all... enjoy!!

 

Bookmark This Article:

Labels: how to, linux, networking, Ubuntu

August 12, 2008
0
Having Fun Programming in Linux with Geany

Sorry for not having any post last month. It's just because I'm getting busy with my workloads and some stuff to do with Ubuntu Malaysia Community. Now I'm back, and I would like to share with you this cool IDE for programming in Linux called Geany.

Geany is a light-weight cross-platform GTK+ text editor based on Scintilla with basic Integrated Development Environment (IDE) features. It is designed to have limited dependency on separate packages and short load times. It is available for a wide range of operating systems, such as Windows, Linux, BSD and Solaris. Among the supported programming languages are (according to the documentation) C, Java, JavaScript, PHP, HTML, CSS, Python, Perl and Pascal.

Geany is one of the more fully-featured editors on the Linux platform, as most Linux editors adopt a more minimalist philosophy. It is similar to Windows editors such as NoteTab or ConTEXT.

It is Free Software licensed under the terms of the GNU GPL.

~ Cited From Wikipedia ~

Previously, people use vim, nano or gedit to write codes for linux programming. Even thou there is not much problem in using all these text editors to write codes, productive people will need more things to have that will reduce their work and increase their output. ...Read more