Ubuntu Linux: Turn on 3D Compiz Eye Candy Effects for the X Window System

Posted on in Categories Data recovery, Gnome, Hardware, Howto, Linux, Linux desktop, Ubuntu Linux last updated October 18, 2007

Compiz brings to life a variety of visual effects that make the Linux desktop easier to use, more powerful and intuitive, and more accessible for users with special needs. It is an OpenGL-based compositing and window-manager. Compiz is the original compositing window manager from Novell’s XGL project. It is developed by David Reveman and community.

Compiz is one of the first compositing window managers for the X Window System that uses 3D graphics hardware to create fast compositing desktop effects for window management.

By default Compiz configuration settings manager is not installed under Ubuntu Linux 7.10. So first install compiz manager:
$ sudo apt-get install compizconfig-settings-manager

Please note that compiz only worked with 3D hardware which was supported by Xgl. Most NVIDIA and ATI graphics cards are known to work with Compiz on Xgl. On board Intel card (Intel GMA) also reported working with compiz.

Turn on 3D Compiz Effects

Right Click on Desktop > Change Desktop Background > Select Visual Effect Tab > Select Extra or Custom
Ubuntu Linux: Turn on 3D Compiz Effects for the X Window System
(click to enlarge image)

Save the changes.

How do I use or see the 3D effects?

Now everything is turned on, but how do you use it? Just hit the following key combinations to see effects:

  • ALT + TAB: Switch windows
  • Windows key + Tab: Switch windows
  • Ctrl + Alt + Left/Right Arrow: Switch desktops on cube
  • Ctrl + Alt + Left-click anywhere on wallpaper and drag
  • Try minimizing and maximizing windows
  • Try Dragging windows
  • Double click titlebar
  • Windows key+right-click Zoom-in once
  • Windows key + wheel mouse up : Zoom-in manually

To get idea about 3D effects, please see following youtube video (video may not work inside RSS reader, so click here to view the same):

Further readings:

Compiz Documentation

Download of the day: Adobe Flex IDE for Linux Desktop

Posted on in Categories Download of the day, Linux, Linux desktop last updated October 3, 2007

Looks like Linux adoption getting stronger and stronger each day 🙂

Adobe Flex is a software development kit and an IDE for a group of technologies initially released in March of 2004 by Macromedia to support the development and deployment of cross platform, rich Internet applications based on their proprietary Macromedia Flash platform.

Now Adobe has announced Flex Builder Linux Alpha. This is a native Linux port of the Flex Builder IDE based on Eclipse for building rich Internet applications:

Flex Builder Linux is a plugin-only version of the Flex Builder that you can use to build Flex applications on Linux. We wanted to get an early release out with the base Flex Builder features so you could begin to provide us with your feedback and let us know your priorities for additional features.

Download Adobe Flex IDE for Linux Desktop

=> Visit official site to download Adobe Flex IDE for Linux

Linux Gnome desktop: Open files as root via a right click (context menu option)

Posted on in Categories Gnome, Howto, Linux, Linux desktop last updated October 2, 2007

Windows XP has a small option called Run as command.. You can add similar option to Linux desktop to open or run file as root via a right click. The following tutorial explains how to add a context menu item that enables a Linux user to open files as the root user when browsing their file system using nautilus. This script feature allows the user to navigate their file system and open or edit any file or directory as the root user of the system. It’s a perfect solution for those that are not completely comfortable using terminal commands.

=> How to open files as root via a right click

IBM to help and promote OpenOffice.org office suite

Posted on in Categories Business, GNU/Open source, Linux desktop, UNIX, Windows last updated September 11, 2007

Finally big blue has announced that it will support and promote OpenOffice.org office suite. These are the same companies once promoted Microsoft product. Dell, HP and IBM will one day force more Linux desktop systems and open source software for all of us:

The OpenOffice.org community today announced that IBM will be joining the community to collaborate on the development of OpenOffice.org software. IBM will be making initial code contributions that it has been developing as part of its Lotus Notes product, including accessibility enhancements, and will be making ongoing contributions to the feature richness and code quality of OpenOffice.org. Besides working with the community on the free productivity suite’s software, IBM will also leverage OpenOffice.org technology in its products.

This is great news for the tens of millions of users of OpenOffice.org and the thousands of individual members of the project”, said John McCreesh, OpenOffice.org Marketing Project Lead. “We welcome IBM’s contributions to further enhancing the OpenOffice.org product. But equally important is IBM’s future commitment to package and distribute new works that leverage OpenOffice.org technology supporting the ISO ODF standard. ODF is a once in a generation opportunity for the IT industry to unify round a standard, and deliver lasting benefit to users of desktop technology.”


HP Compaq DX2250: Red Hat Linux-based Desktop Computer

Posted on in Categories Business, Linux, Linux desktop, Linux distribution, RedHat/Fedora Linux last updated August 30, 2007

Go Linux go…

After Dell, it is now Hewlett-Packard, the world’s largest PC manufacturer, has announced it will start selling Linux-based PCs from $AU600 in Australia. The pc is powered by Red Hat Enterprise Linux 5 desktop will come pre-loaded on the HP dx2250 desktop computer — an AMD-based model. This system aimed at small to medium businesses. Technical support is offered by Red Hat.

More information

Make money with Linux: Becoming a Linux OEM

Posted on in Categories Beyond nixCraft, Howto, Linux, Linux desktop, Make money with Linux, Windows last updated August 29, 2007

You can make money by selling Linux based Laptop and desktop systems. Dell and other vendor started the same. There is huge market for Linux desktop systems. This article talks about entering a world where Microsoft rules the marketplace:

For years, Microsoft has reigned supreme as the ‘only’ choice for OEM partners on the x86 architecture. Later on, Apple switched from PPC (Power PC) to x86, but really did not make a dent in the OEM market, as Apple produces its own hardware, with OS X being a means to that end. Then it happened: Dell dropped their hat into the ring, perhaps prompting what could become a rush of other PC manufacturers and distributors wishing to enter into OEM deals with various Linux distributions. Keep in mind that Dell is hardly doing anything new here. There have been a number of smaller companies that have worked within the Linux space for some time now. Generally referred to as distributors, their goal remains the same – selling pre-installed Linux-based computers to their customers.

=> Becoming a Linux OEM: A Roadmap

Open source usage increased in Indian and Asian business

Posted on in Categories GNU/Open source, India, Linux, News last updated July 11, 2007

This news is 100% true; I’ve witnessed lots of growth recently here in India, especially in Mumbai, Delhi and Bangalore. Many south states making it compulsory to use Linux and open source software for government funded project.

Way back in 1999 I switched from Windows to Linux desktop because:
=> Cost
=> Virus issues
=> Reliability & Security

Today I can almost purchase any computer or toy, money is not issue, but I still prefer to use Linux as desktop. Windows Vista has given companies in less-developed markets a reason to consider open source alternatives, especially hardware requirements are high. People in Asia still purchase and use old Celeron based computer with 128 / 256 MB RAM, here is my desktop CPU (I’m using it since last 4 years):
$ grep -i cpu /proc/cpuinfo

cpu family      : 15
model name      : Intel(R) Celeron(R) CPU 1.70GHz
cpu MHz         : 1716.927
cpuid level     : 2

Open source accounts for between 25 and 70 percent of all software in Australian, Chinese, Indian and Korean companies, according to a recent IDC survey.In an interview with ZDNet Australia sister site ZDNet Asia, Wilvin Chee, research director with IDC’s Asia-Pacific software research group, said: “Businesses are using a variety of open source software, ranging from infrastructure software and storage to enterprise applications such as CRM (customer relationship management) and ERM (enterprise resource management).”

Conducted by IDC between February and March this year, the study involved top executives from about 1,000 companies of all sizes.

Open source take-up booming in APAC (Via digg)

Quick tip: Tell what hardware is connected via USB to my Linux desktop

Posted on in Categories Howto, Linux, Linux desktop, Linux laptop, Linux portables, Troubleshooting, Ubuntu Linux last updated July 6, 2007

USB devices are quite common these days. I’ve digital cam, Pen drive, external hard disk, mouse and other stuff. So how do I tell what hardware is connected via USB to my Linux desktop?

lsusb is a utility for displaying information about USB buses in the system and the devices connected to them. To make use of all the features of this program, you need to have a Linux kernel which supports the /proc/bus/usb interface.

-v command option is very informative. It tells lsusb to be verbose and display detailed information about the devices shown. This includes configuration descriptors for the device’s current speed. Class descriptors will be shown, when available, for USB device classes including hub, audio, HID, communications, and chipcard.

lsusb command Examples

lsusb -t
lsusb -v

Linux Iptables open Bittorrent tcp ports 6881 to 6889

Posted on in Categories CentOS, Debian Linux, Howto, Iptables, Linux, Linux desktop, Networking, RedHat/Fedora Linux, Security, Shell scripting, Suse Linux, Ubuntu Linux last updated December 8, 2005

I already wrote about Linux command line bittorrent client. However, I received few more queries regarding firewall issues. Basically you need to open ports using iptables.

Bittorrent client by default uses tcp 6881 to 6889 ports only. In order to work with Bittorrent client you need to open these ports on firewall. Remember, if you are behind a firewall (hardware or software) you need to enable port forwarding to internal systems.

Scenario # 1: Windows or Linux desktop behind router firewall

Internet ->     Hardware Router    -> Your Linux Desktop
          with port forwarding          Client

You have router (ADSL/DSL/Cable modem+router) and you have already enabled port forwarding on router (open web browser > Open router web admin interface > Find port forwarding > Enable port forwarding for bittorent protocol). You also need to open port using following iptables rules on Linux desktop (open TCP port 6881 to 6999):

iptables -A INPUT -p tcp --destination-port 6881:6999 -j ACCEPT
iptables -A OUTPUT -p tcp --source-port 6881:6999 -j ACCEPT

Here is a complete sample firewall script:

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
modprobe ip_conntrack
modprobe ip_conntrack_ftp

# Setting default filter policy
iptables -P INPUT DROP

# Unlimited access to loop back
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT

# Allow UDP, DNS and Passive FTP
iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT

#allow bittorent incomming client request
iptables -A INPUT -p tcp --destination-port 6881:6999 -j ACCEPT

#Uncomment below to allow sshd incoming client request
#iptables -A INPUT -p tcp -dport 22 -j ACCEPT

# DROP everything and Log it
iptables -A INPUT -j LOG
iptables -A INPUT -j DROP

Scenario # 2

Internet -> Linux computer Router  ->  Your Linux Desktop
         with port forwarding      OR Windows XP client
         enabled using IPTABLES       IP:

Here you are using a Linux as software firewall and iptables as your NAT (firewall) for internal network ( You need to enable port forwarding to a internal Linux desktop (may be Windows XP desktop) for BitTorrent client system. Add following two line of code to your existing NAT firewall script.

iptables -t nat -A PREROUTING -p tcp --dport 6881:6889
-j DNAT --to-destination

iptables -A FORWARD -s -p tcp --dport 6881:6889

Related: Linux Command line BitTorrent client

How do I synchronise my single Debian Linux desktop clock to network?

Posted on in Categories Debian Linux, Howto, Linux, Ubuntu Linux last updated October 22, 2005

You will find lots of tutorials about how to setup NTP server. However if you just wanna synchronize single Linux desktop connected via A/DSL Internet connection use ntpdate command. It is very easy to configure and install ntp client. Following instructions are only compatible with Debian / Ubuntu Linux.

ntpdate client

ntpdate sets the local date and time by polling the Network Time Protocol (NTP) server(s) given as the server arguments to determine the correct time. It must be run as root on the local host. A number of samples are obtained from each of the servers specified and a subset of the NTP clock filter and selection algorithms are applied to select the best of these. Note that the accuracy and reliability of ntpdate depends on the number of servers, the number of polls each time it is run and the interval between runs.

Install ntpdate utility

ntpdate command sets the local date and time by polling the Network Time Protocol (NTP) server(s).

# apt-get install ntpdate

You are done by default /etc/default/ntpdate file is use to point pool.ntp.org server .

Allow access to NTP client via Iptables firewall

NTP client uses the udp port 123 to communicate with NTP server. Following rule opens/allows NTP client outgoing request:

# NTP outgoing client request
iptables -A output -p udp -s --sport 1024:65535 -d 0/0  --dport 123 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A input -p udp -s 0/0 --sport 123 -d  --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT

Add above rules to your existing iptables script. Please note if you have more than 2-3 computers, then it is better idea to setup your own NTP server. I will write on ntpserver configuration later on.

For more information visit public ntp time server for everyone NTP pool website and read ntpdate man page.