Showing posts from 2008

Find Aliens / Find Cure for Cancer / Heat Your Room

Crowd computing has been popular for some years and Its being used in finding a cure for cancer, detecting radio signals sent by aliens and finding next largest prime. BOINC client is popular in crowd computing and its run on millions of consumer computers to crunch numbers.For some reason I am not able to use BOINC client in ubuntu repository. So you have to download BOINC client from official homepage. I am using it to crunch numbers for SETI and at the same time to heat my room.Download BOINC client.

helvetireader - Theme google reader with beautiful typography


Yo Frankie! - A Funny Furry Game

What is Yo Frankie ?Yo Frankie was initially known as project apricot. Project apricot was initiated to know whether it's possible to produce commercial quality professional game using opensource tools. And it was a success. During project apricot execution some extreme improvements were added to blender. And today you can write games inside blender with little effort. Get Yo Frankie!Download Yo Frankie!Yo Frankie! used crystal space rendering engine to render effects. If you are interested may be you can start coding your own Linux game from there.

gsmartcontrol - Hard Disk Health Checker

Installing gsmartcontrolDownload binary debs from following location and install them. And then use following command to start gsmartcontrol. sudo gsmartcontrolgsmartcontrol shows all the info about health status of your HDD's. And allows you to perform health checks.Download gsmartcontrol.

unetbootin - Install Your Favourite Distribution To USB or Partition

unetbootin allows you to install Linux distros to USB drive or an hard disk partition. These are the following distros supported by unetbootin.UbuntuFedoraDebianLinux MintopenSUSEArch LinuxDamn Small LinuxPuppy LinuxFreeBSDNetBSDPCLinuxOSGentooCentOSMandrivaetc...These are the tools supported by unetbootin.Partition MagicSuper Grub DiskBacktrackFreeDOSetc...Download unetbootin.

Setting up lighttpd + PHP

lighttpd is lighter, faster http server available out there and now its much more easier to setup.Install lightysudo apt-get -y install lighttpd Enable FastCGI modulesudo lighttpd-enable-mod fastcgi sudo /etc/init.d/lighttpd restart Install PHP supportsudo apt-get -y install php5-cgiSetup MySQLsudo apt-get -y install php5-mysql mysql-server phpmyadmin cd /var/www ln -s /usr/share/phpmyadmin/ phpmyadmin sudo /etc/init.d/lighttpd restart Goto http://localhost/phpmyadmin/ and enjoy mysql management console.Thats it, now you have a lighttpd server that can crunch PHP pages.

Get Tons of Cool Fonts

Use following command to get some really cool fonts. sudo apt-get -y install ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon Restart your gui session and you should have some really cool fonts.

Disable IPv6

If you are facing router problems or any other issues with ubuntu. First try to disable IPv6 support built into Ubuntu as majority of the current home hardware doesn't support IPv6 at the moment.Open the file /etc/modprobe.d/aliases and change the following linenet-pf-10 ipv6tonet-pf-10 ipv6 offReboot the system and check if you are still facing the issue.

Ubuntu Laptops

These are the laptops which come with Ubuntu pre-installed. System76Visit System76 Product PageSylvaniaVisit Sylvania GNET28001SN Amazon PageAcer AspireDell

DapperFox - Custom RSS Feeds

DapperFox allows you to create RSS feeds from sites which won't offer any RSS feeds. You can even customize existing feeds and share feeds with the members of the dapper community. Get DapperFox Firefox Extension

pidgin-facebookchat - Facebook Chat Inside Pidgin

pidgin-facebookchat allows you to access the new Facebook chat from inside pidgin. Download pidgin-facebookchat.

debtree - Generate Package Dependency Graphs

debtree allows you to generate graphs using graphviz.Installing debtreeFirst checkout code from the source repository todo that execute following command.git clone git:// debtreeNow cd into the directory debtree. And execute following commands to generate sample graph ./debtree dpkg > dot -T png -o out.png gnome-open out.png Enjoy the dependency graphs.

epidermis - Download and Apply Theme Packs in one Click

Epidermis allows you to download and apply pigments in one click. Here a pigment is a pack of wallpaper, gtk theme, window manager theme, splash screen, gdm theme,etc... Installing epidermisDownload epidermis deb package from this page and install it.Using epidermisStart epidermis from command line and start updating epidermis repo to find new themes. And apply any pigment that you like.

playonlinux - Play Windows Games on Linux

playonlinux is one of the tool that answers the question "How to play windows games on Ubuntu Linux ?"playonlinux seems to be similar to cedega except that playonlinux is open-source and free. playonlinux supports around 11 Linux distros. Although there is no package for Ubuntu Intrepid but adding Ubuntu Hardy sources file to my intrepid seems to be working fine. Installing playonlinuxUse following commands to configure sources and install the playonlinux package.sudo wget -O /etc/apt/sources.list.d/playonlinux.list wget -q -O- | sudo apt-key add - sudo apt-get update sudo apt-get install playonlinux Supported GamesStar Wars : Jedi Knight II : Jedi OutcastMax Payne 2 : The Fall of Max PayneStar Wars : Jedi Knight : Jedi AcademySteamGuild WarsHalf Life 1Legacy Of Kain : DefianceRagnarok OnlineStarcraftStar Wars - Episod 1 : RacerStar Wars : Knights Of The Old RepublicWarcraft IIIWorld Of WarcraftFable …

Making Atheros AR242x Wireless Chipset work with ndiswrapper

This only works for 32bit linux. And I can't gurantee about 64bit ubuntu machines. Clean up previous installations of ath drivers and ndiswrapper.First add following lines to your /etc/modprobe.d/blacklist file.blacklist ath_pci blacklist ath_hal Now delete files left by previous installation of ndiswrapper. sudo rm -fr /etc/ndiswrapper/ Now open System >> Administration >> Hardware Drivers and disable all atheros drivers.Install ndiswrapper sudo apt-get -y install ndiswrapper-common Download 32 bit driver. Extract the archive and execute following command from the folder where you extracted the contents.sudo ndiswraper -i net5211.infUse following command to see whether the driver is correctly installed.sudo ndiswrapper -lExecute following command.sudo ndiswrapper -ma Now add following line to the file /etc/modprobe.d/ndiswrapper at the end.alias wlan0 ndiswrapperReboot and enjoy using your wireless lan network.Seems like this fix is working with following machines.Ac…

Elisa - Media Center for Ubuntu

Elisa is a OpenGL powered media center solution for Linux and its also available on other platforms too. Elisa comes up with numerous plugins and features and competes with commercial quality software.Installation of Elisasudo apt-get -y install elisa elisaFeatures Watch pictures, movies and video clipsPlay music with visualizations and automatically fetch album art from Internet.Tune into Internet radio stations.Supports vast number of audio and video codec's.Access Media servers located on LAN.Flickr & Youtube integration.

Remote Control Firefox

Using both JSSH and FireWatir you can remote control Firefox browser and do complex web tasks which can't normally do. Here is the guide on how to get started. Install JSSH for Firefox 3Visit OpenQA JSSH installation page to install JSSH. Install Ruby FireWatirsudo gem install firewatirTest FireWatirCopy following code into some ruby file and execute the file to test the setup.require 'rubygems' require 'firewatir' include FireWatir ff = ff.goto("") ff.close

I Win

I did not wish to reinstall Windows XP. I tried fixing it with virus scanners and registry cleaners, recovery tools and so on, but it remained infected, slow, buggy, and increasingly weird. So I saved what I could, wiped out the hard drive, and started over... Read Rest of I Win

Ubuntu Tweak

Ubuntu Tweak allows you to tweak various ubuntu settings in one place, clean your system and many other useful tasks. Installing Ubuntu TweakAdd following lines to your /etc/apt/sources.list. deb intrepid main deb-src intrepid main And execute following commands to install ubuntu tweak. sudo apt-get update sudo apt-get -y --force-yes install ubuntu-tweak

Dust Theme


Find a Linux Distro that Works for You

Linux Distribution Chooser is a little wizard that recommends a linux distro based on your responses. Find A Linux Distro that Works for You.

playdeb - Ubuntu Gaming Repository

auto-apt - On-demand Package Installer

auto-apt is useful to people who install things from source. Have your ever had frustration with ./configure ? because of gazillion number of dependencies which weren't already installed. Well auto-apt solves this problem by installing packages on the spot when your are doing ./configure to check perquisites. InstallationAs usual you have to install this if you want to use it. Use following command to install auto-apt package.sudo apt-get -y install auto-aptAnd execute following commands to populate its database and make it usable.sudo auto-apt update && sudo auto-apt updatedb && sudo auto-apt update-localUsageForm now on instead of executing the command ./configureuse the commandauto-apt run ./configureThats it auto-apt will look for missing perquisites and installs them on demand.

Get Ubuntu Upgrades Over BitTorrent

Today published an article on how to setup bittorrent based system ugprades. Now you can get intrepid ibex upgrades over bittorrent. apt-p2p ubuntu thread.

chkrootkit - Scan for Rootkits

This guide explains how to find rootkits, worms, Loadable Kernel Modules(LKMs) using chkrootkit. But first we need to install chkroot package before we start using it. sudo apt-get -y install chkrootkitNow run the following command to check for presence of infected binaries.sudo chkrootchkroot command checks for following worms, rootkits and LKMslrk3, lrk4, lrk5, lrk6 (and variants)Solaris rootkitFreeBSD rootkitt0rn (and variants)Ambient's Rootkit (ARK)Ramen Wormrh[67]-shaperRSHARomanian rootkitRK17Lion WormAdore WormLPD Wormkenny-rkAdore LKMShitC WormOmega WormWormkit WormManiac-RKdsc-rootkitDucoci rootkitx.c WormRST.b trojanduarawkzknark LKMMonkitHidrootkitBobkitPizdakitt0rn v8.0ShowteeOptickitT.R.KMithRa's RootkitGeorgeSucKITScalperSlapper A, B, C and DOpenBSD rk v1Illogic rootkitSK rootkitsebek LKMRomanian rootkitLOC rootkitshv4 rootkitAquatica rootkitZK rootkit55808.A WormTC2 WormVolc rootkitGold2 rootkitAnonoying rootkitShkit rootkitAjaKit rootkitzaRwT rootkitMadalin roo…

pyroom - Distraction Free Writing

InstallationAdd following lines to /etc/apt/sources.listdeb hardy main deb-src hardy main Now install pyroom.sudo apt-get update && sudo apt-get install pyroom Live Game DVD

This live DVD contains native Linux games which can be run directly without installation. Game state can be saved to a USB stick.Supported GamesAstromenace - Astromenace is a brilliant 3d scroll-shooter allowing you to feel the adrenalin rush of a fierce space battle against relentless swarms of alien invaders.Blobby2 - Blobby2 is the gpl-ed sequel of Blobby Volley, a very famous freeware game.Boswars - Boswars is a futuristic real time strategy game (RTS).Btanks - Btanks is a funny battle on your desk, where you can choose one of three vehicles and eliminate your enemy using the whole arsenal of weapons.BzFLag - BzFlag is a free online multi player cross-platform open source 3D tank battle game.Foobillard - Foobillard FooBillard is a free billiard game for Linux using OpenGL and comes with realistic physics for a great billiard - gl-117 is an action flight simulator for Linux/Unix and MS-Windows.Glest - Glest is a real time strategy game which is freely available.Ma…

Preview Gtk Themes Without Installing Them

The widget factory is a small application that allows previewing gtk themes without applying them system wide. InstallationInstall the package thewidgetfactory.sudo apt-get -y install thewidgetfactoryUse following command to launch the widget factory.twf - Develop Mono Apps

MonoDevelop is an IDE for developing .Net compatible applications for *nix & windows platforms. It support .Net, C++, C#, Java and several other languages. Offers code completion, project management, build management, Database management, Version control, and Add-In support for implementing other features. InstallationYou need to install the package MonoDevelop. sudo apt-get -y install monodevelopFetauresWorkbench - Offers different types of pads for project management to deployment.Customization - Offers different layouts just like eclipse so that you can have different views when doing different things.(debugging, editing, GUI building)Database management.Version control.Visual Studio integration.Inbuilt .Net C#, Gtk# documentation.Language translation support.Package and deployment for different operating systems.Gui builder "GTK# Designer".

Turn on Font Autohinting

Execute following command and restart your gui session to enable autohinting.sudo ln -sf /etc/fonts/conf.avail/10-autohint.conf /etc/fonts/conf.d/

Shiki Colors Gtk Theme


Extra Visualizations for Rhythmbox

Default Ubuntu media players ship with boring and very minimal visualizations. Here is the guide to get bucket load of visualizations on Ubuntu.libvisual pluginsThis package adds around 8 more visualizations to Rhythmbox. BTW visualizations shipped with this package doesn't work in totem at least for me. To install this package execute following command. sudo apt-get -y install libvisual-0.4-plugins

Disable System Beep/Sound in Ubuntu

To temporarly disable system beep for current session use following command. sudo rmmod pcspkr To perminently disable system beep add following line to /etc/modprobe.d/blacklist file. blacklist pcspkr

PPA for 3.0

For Intrepid deb intrepid main deb-src intrepid main For hardy deb hardy main deb-src hardy main Download OpenOffice 3.0Another way is to directly download relevant OpenOffice 3.0 binary deb archive from this download page and install it. Make sure you uninstall previous version of OpenOffice before installing newer one.

Rhythmbox as Media Server (UPnP/DLNA)

You can configure Rhythmbox to act as central media server using its built in plugin support. Using this ability you can access your media(music or videos) from remote location. InstallationFirst you need to install python-coherence package.sudo apt-get -y install python-coherenceNow open Rhythmbox >> Edit >> Plugins and check DLNA/UPnP sharing and control support. From now onwards when ever you start rhythmbox all of your UPnP compatiable devices and software applications will show the Rhythmbox served media server.

GIMP 2.6 Released

Gimp 2.6 just released and you can install it right away. For hardy deb hardy main deb-src hardy main has latest gimp 32bit deb packages for ubuntu hardy.32bit GIMP 2.6 packages for ubuntu hardy.For intrepid deb intrepid main deb-src intrepid main Paste above repo section that corresponds to your Ubuntu version inside file /etc/apt/sources.list. Make sure you add these lines at the top of sources.list. Then do an apt-get update and reinstall gimp.

Block Bot Attacks

If you have a machine that is exposed to external network then there is a chance that some bot is poking your machine and you need to harden all entry points of your machine. fail2ban is a small program that monitors all your authentication logs for failed login attempts and blocks the bots depending on the thresholds that you specified in configuration file. Installationsudo apt-get -y install fail2banfail2ban blocks bots for only 600 seconds. To change this setting you have to open /etc/fail2ban/jail.conf and change the configuration option bantime. And restart fail2ban using following command. sudo /etc/init.d/fail2ban restart

Install Bleeding Edge Wine

Fortunately winehq maintains an ubuntu repo that contains deb packages of latest wine development releases. Presently the latest version is 1.1.4. This latest version contains cutting edge DirectX support and other improvements. Make a note that these deb packages may not be properly tested and you may face occasional breakage in functionality of wine. InstallationExecute following command to add apt trust keys. wget -q -O- | sudo apt-key add -Execute following command to add new wine repository. sudo wget -O /etc/apt/sources.list.d/winehq.list Update apt sources.sudo apt-get updateNow if wine is already installed then do an upgrade sudo apt-get -y upgradeOther wise install winesudo apt-get -y install wine Check wine version by issuing following --version

Ubuntu JeOS VM Builder

This ubuntu wiki page describes steps for setting up JeOS virtual machines with out using iso images. Please test these steps and give your feedback to ubuntu developers. Ubuntu JeOS VM Builder

subdownloader - Download Subtitles

Subdownloader 2.0 is one fine automatic subtitle downloader. Its written in QT4 using python and has very friendly user interface. InstallationSubdownloader deb packages are not yet included in repo but you can download them from Subdownload 2.0 launchpad page. Download & save two deb packages subdownloader-cli-xxx_all.deb and subdownloader_xxx_all.deb packages to desktop. Now open terminal and change to Desktop directory and issue following command. sudo dpkg -i sub*.debApt will complain telling that you have some unmet dependencies and will exit. Execute following command to install those dependencies along with subdownloader.sudo apt-get -f install UsageNow launch subdownloader by issuing following command in terminal.subdownloaderNow select directory that contains movies and subdownloader will automatically search for subtitles on net. Select the subtitles that you want and click Download button to start downloading subtitles. Enjoy.

apt-get install wife


Sharing Files Using Apache

Apache is pretty useful for sharing files on network particularly on LAN. Here is how to map an external folder to an url on your apache server. Lets assume your user name as bob and the path of the folder that you want to share is /home/bob/downloads. And you want to access contents of this folder at url /downloads. Change directory to /etc/apache2/sites-enabled. And create file named downloads with the following contents. Alias "/downloads" "/home/bob/downloads" <Directory "/home/bob/downloads"> AllowOverride None Options Indexes Order allow,deny Allow from all </Directory> Save the file and close it. Now restart the apache by issuing following command. sudo apache2ctl restart Now test everything is working as expected by going to following url in your browser. http://localhost/downloads

Gimp 2.6 Promises

Gimp has so many usability issues and GIMP team is going to address some of them in 2.6 version. Gimp 2.6 will have only one menu barOne of the primary usability issue that confuses newbies is two global menu bars (One in tools palette & second one in image window). Now Gimp is going to get rid of tools palette menu bar and display only one menu bar in image window. So image window is always open and its background defaults to gray if there is no image in use. GEGL supportCurrent implementation of GEGL is going to pave a way for future CYMK support. CYMK is important for professionals to accurately print images with exact colors. This is not much important for web developers & home users and they can live without CYMK. Dockable dialogsAnother much awaited GUI improvement. This is really useful to people who switch between different tool dialogs. There are many more improvements to Gimp 2.6 and lets see whether its going to be interesting to use.

Useless Use of Kill -9

Are you using "kill -9" to kill process ?kill -9 won't allow processes to execute cleanup code before terminating them. And remember this when writing shell scripts. Complete article on Useless use of kill -9

xmonad - Tile Window Manager

xmonad is one of the tiling window manager available for screen space conscious people. Moving mouse on a large screen or multi head setup is pretty time consuming and tiling window managers offer you a choice between keyboard or mouse. Here is the guide on how to install xmonad and how to use it. We will also get to know little bit about other tiling window managers too. Installing xmonadLatest version of xmonad is available right out of Ubuntu universe repository. Execute following command to install xmonad and other little application launching utility called dmenu.sudo apt-get -y install xmonad dwm-toolsRestart your current session or logout of current session and re-login with xmonad selected. You will see an empty desktop & stop banging that keyboard thinking something went wrong. Read remaining post before continuing.TermsMost of the tiling window managers have concepts like Master Pane, Tile Pane, Layout, Workspace, Frames.FrameFrame contains nothing but an individual win…

Run Compiz on Blacklisted Hardware

Are you using unstable video driver ?, Do you have older hardware which is not properly supported ?. If this is the case then the chances are that your hardware is blacklisted by compiz. But compiz provides a nifty way to skip these checks. Execute following command to start compiz without black list checks. SKIP_CHECKS=yes compiz Another way is adding following option to ~/.config/compiz/compiz-manager file. SKIP_CHECKS=yes

Running "rm -fr /"

Kamel Icons - Icon Theme

Download "Kamel Icons" icon theme from Gnome Look.

Red Icons - Icon Theme

Download "Red Icons" icon theme from Gnome Look.

Evolvotron - Evolutionary Art on Ubuntu

Evolvotron is a random image generator using algorithmetic mutations. It sometimes generates stunning pattens, textures and inspirational art. Above image generated using evolvotron in just couple of mutations. And its available as a wallpaper for download at Gnome-look. A tip for beginners is to start with a tile that has lot of variations. InstallationEvolvotron is available in Ubuntu universal repository and use following command to install it. sudo apt-get -y install evolvotronUsage Check out help menu to get info on keyboard shortcuts and command line options.

Wine Doors - Install Windows Applications

InstallationGarb Wine Doors deb package from site download section. And save the deb file wine-doors_all.deb to into your download folder. Download should complete pretty quickly because package is very small. Execute following command from the download folder to install wine-doors deb package. sudo dpkg -i wine-doors*_all.deb Now start Wine Doors by clicking on Applications > System Tools > Wine Doors .FeaturesWine Doors provides a feature called bottles. Bottle concept is borrowed from crossover office a popular commercial alternative of wine. Where a bottle is an isolated environment in which you can run one or multiple windows applications without interfering with other bottles on the systems. Wine Doors has community that constantly tests existing windows applications for compatibility of wine and adds them to the Wine Doors repository. So these applications are available for you to be installed with a single click using synaptic package manager kind of inte…

Start Menu for Ubuntu

This guide explains how to get Linux mint like start menu on Ubuntu.Ubuntu System Panel This application is just a gnome panel applet pretending like improved version of windows start menu. So lets get started. InstallationUbuntu System Panel is not included in repositories but fortunately its simple to install. First checkout source code.svn checkout ubuntu-system-panelExecute following command to install it. For that first go into the directory ubuntu-system-panel and execute following command. ./usp_update install fresh Execute following command to reload gnome-panel. killall -9 gnome-panelNow right click on any ubuntu panel and add "Ubuntu System Panel" applet.

Remove Residual Packages

When you remove some packages using apt-get remove they are not completely removed and some configuration files are left. You can confirm this by executing following command. dpkg -l | grep -i ^rc Execute following command to remove all traces left by alredy removed packages. dpkg -l | grep -i ^rc | awk '{print $1}' | xargs -n 10 sudo aptitude -y purge Above command cleans up 10 removed package traces at a time.

Compile Firefox from Scratch

This guide explains how to compile firefox on ubuntu with optional jssh support.Install dependenciesExecute following command to install necessary headers required to build Firefox. sudo apt-get build-dep firefox-3.0Fetch sourcesExecute following commands to checkout latest sources from Mozilla cvs. cvs -d co mozilla/ cd mozilla make -f checkout MOZ_CO_PROJECT=browser Specify build optionsCreate a new file named .mozconfig in current directory and copy paste the following build options into it.mk_add_options MOZ_CO_PROJECT=browser mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-jssh ac_add_options --enable-extensions=default,jssh,webservices ac_add_options --enable-application=browser Build the Browser make -f build Run the browser ./mozilla/firefox-jssh/dist/bin/firefox -jssh Check whether jssh is working or not by telnet into it. telnet localhost 9997 Now you should see the message "Welcome to the Moz…

Ubuntu Live CD distributions

Ubuntu live CD's offer tasting full Linux experience without disturbing existing software setup. And there are couple of official & unoffical derivatives based on ubuntu and we are going to examine each and every one of them. Please note that what ever the work you do with the Live CD's only persists in that session. If you want to use live CD's with persistence then following this official Ubuntu guide on Live CD persistence. Ubuntu This is official Ubuntu distribution developed in coordination with open source contributors. This version if shipped with various tools that are helpful for both office & personal productivity. Again Ubuntu is available in two variants desktop & server editions. Both the variants of ubuntu are free and you will get free software & security upgrades. Official Ubuntu WebsiteKubuntu This is official Ubuntu distribution with KDE window manager. KDE 4 which is redesigned from scratch gives you pleasant kubuntu experience. Offic…

Upgrade to Newer Release

There are many ways to upgrade from one version of Ubuntu to another. And one of them is by using ubuntu update manager in your system manager. There is alternative way to upgrade your system to newer stable release of Ubuntu.But for this method to work you need to install a package and execute following command to do that.sudo apt-get -y install update-manager-coreNow execute following command to start your system upgrade.sudo do-release-upgradeFrom now on just follow the instructions on the screen. If you want to have additional control over upgrade process then execute above command with --help flag.

Easy network traffic shaping on your ubuntu system

Traffic shaping on Linux system used to require knowledge of lot of things like iptables, qdiscs & networking protocols. Things have changed and now there are couple of tools which handle all of this complexity without requiring much knowledge. And one of them is wondershaper.
First install wondershaper by issuing following command.
sudo apt-get -y install wondershaper Use following command template to make it work right away.
sudo wondershaper <interface name> <down speed> <up speed> Where interface name is your network interface name like eth0 or eth1 or wifi0 and down speed , up speed are self explanatory and specified in kilo bits per second.
So sample command will look like
sudo wondershaper eth0 512 512 To disable wondershaper from controlling particular interface use following command.
sudo wondershaper clear <interface name> To make these changes permanent add following lines to /etc/network/interfaces under relevant interface section.
up /usr/sbin/won…

specto - Website Monitor for Ubuntu

Specto is a little Linux application that allows you to monitor various things like websites and emails. To install specto execute following command.sudo apt-get -y install spectowebsite monitoringYou can use specto to watch website changes on items like individual pages, feeds, images. You can tell specto to ignore something that changes on every visit by using "Error Margin" feature. You can tell sepcto to look for changes on fixed intervals by configuring "Refresh Interval". Don't specify too little value for this setting as it will cause heavy load on server.

Theme Applications Launched with sudo

By default applications launched with sudo will not have any theme and they look ugly. To fix this problem open your terminal and execute following commands.sudo ln -s ~/.themes /root/.themes sudo ln -s ~/.fonts /root/.fonts sudo ln -s ~/.icons /root/.icons After executing above commands any gui application launched with sudo privileges is properly displayed with current users theme.

Jerky Firefox Scroll ?, Try Disabling Pango

Is your Firefox scroll is jerky ? Are you seeing CPU spikes during scrolling ?Try disabling pango !Pango is part of Cairo graphics responsible for drawing internationalized text. Unfortunately in some cases pango consumes significant amount of CPU time when rendering text on web pages and this leads to jerky Firefox scrolling. To test whether pango is the cause open your terminal and issue following command. export MOZ_DISABLE_PANGO=1 Now execute firefox command to start Firefox. After this step if you see significant improvement in experience then execute following command otherwise look somewhere else to fix your problem. echo "export MOZ_DISABLE_PANGO=1" >> ~/.bashrc

Automatic installation of nvidia & ati proprietary graphics drivers

Installing proprietary graphics drivers on Ubuntu is not an easy task because if you miss even a single step that single mistake could render all your effort worthless. But there is tool to automate this and its called "Envy". There are two version of envy available.Envy Legacy - Envy legacy can be used to install ati & nvidia proprietary drivers on Ubuntu versions gutsy or lower. EnvyNG - Allows you to install both ati and nvidia dirvers only on Ubuntu hardy.With envy legacy you have to take care of little things when upgrading to newer distributions. But with EnvyNG this maintenance is no longer needed. Every thing is automatically taken care when you upgrade your distributionInstallation guide for Envy legacyInsallation guide for EnvyNG

Enable Spell Check for Text Fields in Firefox

Firefox by default enables spell check for textarea controls only and this is little annoying. Here are the steps that you can use to enable spell check in both multi line and single controls.Enter about:config in Firefox address bar. And search for following key.layout.spellcheckDefaultChange the value of the key to 2.Following are the possible values above key takes.0 - Disable spellcheck all to gather1 - Only enable spell checking for multi line controls.2 - Enable spell checking for both multi line and single line controls i.e both text fields & text areas.

Debugging PHP in Quanta Using xdebug

Quanta is a full featured KDE programming editor. Quanta now has support for DBGp debugging protocol. Install quanta by by issuing following command.sudo apt-get -y install quantaConfiguring xdebugInstall xdebug using previous blog post on Debugging PHP using xdebug. After installing xdebug add following configuration options to your /etc/php5/apache2/php.ini.xdebug.remote_enable = 1 xdebug.remote_handler = dbgp xdebug.remote_mode = req xdebug.remote_port = 9000 xdebug.remote_host = localhostNow restart your apache using following command.sudo /etc/init.d/apache2 restartConfiguring quantaYou can debug php scripts only in projects. Create a new project in quanta and add /var/www to it. Open project properties, select DBGp from Debugger combo box and accept remaining default settings. If you followed previous steps and debugging on local machine then you don't have to do anything else. If you have to change debug port and server url then click on Options button and change those set…

Generate "lorem ipsum" in unlimited quantity

Lorem Ipsum generator is a an application hosted on Google code. It generates lots of dummy text that can be used to fill your GUI designs and web page mockups. This text is particularly useful in designing gui with out any distraction.InstallationGet lorem ipsum generator deb package from following link click on downloaded to deb package to install it in GUI way.UsageJust launch the application using the command lorem-ipsum-generator. After launching your application you will be presented with options to generate either Paragraphs or Sentences with specified quantity. Later you can copy generated text to clipboard and use it in your application design.

How to setup lighter, faster & minimal Ubuntu

There are many variants of Ubuntu. One of them is Ubuntu JeOS where JeOS stands for Just enough Operating System. JeOS is a lean version of Ubuntu server and optimized for running in virtual machines like VMWare. But it can also be used to setup your own Ubuntu that matches your taste without extra luggage. I will get you started by showing you how to setup minimal GUI. Later you can make customizations by installing applications that you like. So lets get started.Download Ubuntu JeOSDownload Ubuntu JeOS iso image from following url and install it either in VMWare or VirtualBox.Download Ubuntu JeOSInstalling GUIThis part of guide can be used to install GUI on ubuntu server. First update your apt cache by issuing following command.sudo apt-get updateYou may install either xdm/gdm/kdm for login manager. Since xdm is lighter than others I prefer installing it.sudo apt-get -y install xdmInstall core of gnome with out any extra baggage.sudo apt-get -y install gnome-coreInstall xorg since …

phonetooth: Chat with mobile users

phonetooth can be used to chat with mobile users and transfer files from ubuntu desktop system. Its written in python. phonetooth uses gammu as its backend and because of this reason it supports most of the phones from Samsung, SonyErricson, Nokia & Motorola.InstallationDownload sources from Google Code and unpack. Now execute following command to prepare build environment./configure --prefix=/usrNow execute following command to install it.sudo make install

Circular Menu for Gnome

There is a new circular menu project that is being hosted on Google code. This program runs in composite environment like compiz. Currently there is no package for this application you have to compile and run it from command line. You can navigate this application by using keyboard keys PageUp, PageDown,Home & End keys.Visit Circular application menu project.

Guide to Faster Ubuntu

Optimize ubuntu boot sequence by profiling itWhile you are in grub menu highlight your preferred kernel version and press "e". Highlight the line beginning with kernel and press "e" again. Press End key in order to goto end of that line. Add a word "profile" without quotes to that line and press Enter. Now press "b" to continue booting. This one time special boot may take more time than ordinary boot. But during this boot ubuntu monitors file usage and preloads those files during subsequent boots.prelinkAny executable that makes heavy use of shared libraries can benefit from prelinking. Prelinking resolves addresses of shared libraries in advance this reduces number of relocations.Prelink is also useful in the context of security since we can tell prelink to make libraries load at random addresses until next run of prelink. This is useful since libraries won't load at fixed addresses on every system.You can install prelink by issuing followi…

Use Flickr Images as Ubuntu Wallpapers

webilder is a convenient little application that downloads and sets flickr photos as your desktop wallpapers. webilder no longer provides repository sources for either gutsy or hardy. But getdeb provides Debian packages for both gutsy and hardy including 32 & 64 bit architectures.InstallationGoto and download debian packages that correspond to your processor architecture & ubuntu version. Now install both webilder & webilder-gnome packages using following command.sudo dpkg -i webilder*.debUsage Click on your gnome panel add choose +Add to Panel menu item. You will see list of gnome panel applets. Select Webilder Desktop Applet and drag and drop it on to gnome panel. Right click on webilder icon on gnome-panel and select Download Photos. webilder by default downloads interestingness photos from flickr. These interestingness photos are usually high quality photos tagged by flickr community. Beware that these photos some times contain mate…

fusion-icon - Tray Icon to Manage to Manage Compiz

fusion-icon is a nice little applicaion that sits in system tray and provides GUI means of doing compiz common operations. With fusion-icon you can easily do following things without touching terminal.You can launch compiz settings manager & emerald theme manager.Reload or select a new window manager.Allows you to choose either gtk window decorator(metacity) or emerald.Execute following command to install fusion-icon.sudo apt-get -y install fusion-iconAnd add fusion-icon command to your sessions.

Profiling PHP Using xdebug & kcachegrind

See the blogpost on xdebug installation before continuing.Enable ProilingYou need to add following line to /etc/php5/apache2/php.ini to enable profiling of php scripts.xdebug.profiler_enable=1Now restart the apache server by issuing following command.sudo apache2ctl restartWhen ever you access a php page through apache, xdebug will create a file something like cachegrind.out.15093. xdebug by default uses /tmp directory to dump files which contain profiling information. You can change this target directory by using xdebug option xdebug.profiler_output_dir and you can change result file name by using the option xdebug.profiler_output_name.See more xdebug profiling options.Some times you don't want to profile all requests. xdebug provides a selective mechanism to trigger profiling of specific requests. In order to enable this option you have to add following configuration option to php.ini.xdebug.profiler_enable_trigger=OnNow you can trigger profiling of specific requests by adding X…

Debugging PHP Using xdebug

xdebug is an open source debugger available for PHP. xdebug can be used to display more information in error traces. It can also be used to collect detailed code coverage & profiling information.InstallationYou need to install following packages to prepare environment for installation of pecl module xdebug.sudo apt-get -y install php-pear php5-dev build-essentialNow we install xdebug using pecl.sudo pecl install xdebugAbove command will download, compile & install xdebug on your system.ConfigurationOpen /etc/php5/apache2/php.ini and append following line.zend_extension=/usr/lib/php5/20060613/xdebug.soBe careful about that number part in the path as it could be different for you. Now restart apache by issuing following command.sudo apache2ctl restartNow try to view the output of your phpinfo() function. If you find xdebug word in that then it means you have successfully installed xdebug.Stacktracexdebug.collect_params accepts values from 1 to 4. Where 1 refers to less verbosity…

Installing LAMP Server Stack.

ApacheApache is a free & widely used web server. To install it on your local system execute following command.sudo apt-get -y install apache2You might get following warning when starting apache web server.apache2: Could not reliably determine the server's fully qualified domain name, using for ServerNameAdd following line to /etc/apache2/apache2.conf to slience the warning.ServerName localhostTo test the installation enter http://localhost in addressbar of your browser and you should see the message It works!.Visit Apache HTTP Server site.PHPPHP is one of the most easiest scripting language available for quickly writing backend code. Install php by executing following command.sudo apt-get -y install php5 libapache2-mod-php5By default you will not be able to save anything to /var/www. To make /var/www writable execute following command. sudo chmod -R 755 /var/www/ To test php installation enter following snippet into /var/www/hello.php file and save it.<?php phpin…

How to enable kerning in Firefox 3 ?

If you don't know about kerning please visit wikipedia article on kerning. Kerning deals with space adjustments between letters to make words more readable. Now a days most of the fonts are shipped with kern hinting but very few applications make use of this extra information. Firefox 3 now officially supports kerning for text elements.Please make sure you only apply kerning to the elements which use larger font sizes because you won't observe much difference with smaller ones. And use kerning carefully as it could slowdown page rendering because of extra math calculations.With Firefox 3 you can use the css property text-rendering to enable or disable kerning. text-rendering takes following 4 possible - If the font size is less than 20px then Firefox uses fast text rendering method provided by operating system otherwise it enables both ligatures and kerning.optimizeSpeed - will disable font kerning.optimizeLegibility - this option enables both kerning & ligatur…

List of Popular PPA Repositories

Mozilladeb intrepid main deb-src intrepid mainGoogle Gadgetsdeb hardy main deb-src hardy mainUbuntu Netbook Remixdeb hardy main deb-src hardy mainBanshee Teamdeb hardy main deb-src hardy mainUbuntu Backportersdeb hardy main deb-src hardy mainMythbuntudeb hardy main deb-src hardy mainKDE4deb hardy main deb-src hardy mainCompizdeb http…

TimeVault - Backup your files

TimeVault is a little python application that runs on Linux. timevault is mainly used to create snapshots of the files on your system, here a snapshot is close to restore point on windows xp. And only super user can delete these incremental snapshots to conserve space on disk.The beauty of this system is timevault uses links to take backup of these files and linux filesystem won't delete these files until link count reaches to zero. SQLite is used to store meta information of snapshot.This application nicely integrates with nautilus so that you can see snapshot properties from within nautilus. Color coding is used to easily understand snapshot status. TimeVault uses filesystem watches for changes so when ever you change or delete files they will be automatically backed up. You can download timevault deb binaries from launchpad.Download timevault binaries.