okular - Universal Document Reader

Okular - Can read PDF, PS, TIFF, CHM, DjVu, Images, DVI, XPS, ODT, Fiction Book, Comic Book, Plucker, EPub file formats.

Orkular is a KDE application with the goal of universal reader. It supports following formats.

  • PDF
  • PS
  • TIFF
  • CHM
  • DjVu
  • Images
  • DVI
  • XPS
  • ODT
  • Fiction Book
  • Comic Book
  • Plucker
  • EPub

Detailed format support matrix here. Home page of Okular.

IDJC: DJ on Linux

IDJC - Internet DJ Console for linux.

IDJC (Internet DJ Console) is one of the DJ application available for Linux. This DJ application is equipped with cross fading, volume controls, audio level meters.

The application provides two separate audio paths one for the listeners and other one for the DJ. So DJ can examine the effects without eating ears of listeners. :)

Goto Internet DJ Console site.

Related software

Mix music live with Mixxx

conduit - Sync Your World

Conduit - Application to synchronize information between different services and devices.

Conduit is a simple synchronization tool for gnome. You can synchronize videos, photos, mails, notes, calendar data, etc to another computer or to an online service or to your personal device.

You can access following services through Conduit.

  • Youtube
  • Flickr
  • Box.net
  • facebook
  • f-spot
  • tomboy
  • And many more

You can use following devices as targets

  • Another gnome system
  • A Mobile phone
  • A Nokia 770/880
  • A plam or windows mobile pc.
  • Or an iPod.

Similar projects

  • OpenSync

Conduit screencast. Goto Conduit Project site.

Getdeb Repository

getdeb site screenshot

Getdeb provides compiled binaries of popular games and applications in the form of deb packages. These applications are not available in official ubuntu repository. Until now you have to download individual deb packages and install them. And things just got better and we have a getdeb repository. Cut the following line and paste it at the end of your /etc/apt/sources.list file.

deb http://ubuntu.org.ua/ getdeb/

Now update your apt cache.

sudo apt-get update

This is noway official repository and you should be aware of risks.

Repository for ubuntu games

getdeb announced a newer gamers ubuntu repostory. Will update this post as soon as its available. Mean while download compiled versions of game debs.

Enjoy Ubuntu ;)

Flash 10 for Ubuntu

flashplugin-nonfree_10.0.1 packages are available in ubuntu multiverse. If you can't install them using apt-get then go to the link specified at the bottom of this article. Download the deb package and install it.

Browse Flash 10 multiverse repository.

ionice - Prioritize IO of Processes

ionice is io bandwidth priority manipulation command. It supports three scheduling classes.

  • idle: In this class given process won't get disk access until no other process is accessing disk for certain period of time.
  • best-effort: This is default class.
  • realtime: Process with non-realtime classes have to wait until processes with realtime class to complete.

If you want to move some heavy stuff around when io sensitive applications like movie, audio players are active then its best to make a new bash process with idle class.

This is how you apply idle class to a bash process. Open up your terminal and give following command.

sudo ionice -c3 -p`echo $$`

Now what ever you execute in this terminal will inherit idle class and won't disturb your movie/audio players.

You can use ionice to make disk intensive corn jobs to behave well with io sensitive applications that you are using in the foreground.

Some useful ubuntuforums.org threads on ionice. Using ionice with updatedb.

bootchart - Generate Graph of Boot Process

monitor ubuntu bootprocess with bootchart.If you are one of that person who enjoy tuning boot process of ubuntu linux then this is for you. Bootchart is a small application used to generate detailed graphs of linux boot process. This timelined graph allows you to accurately see the CPU and IO loads on the system during kernel booting.

Using this utility you can identify boot services that are blocking other services or the services that are unnecessary.

bootchart usage

Install bootchart by executing following command.

sudo apt-get -y install bootchart

Now reboot your system and check for a svg file in the folder /var/log/bootchart.

Visit Bootchart home.

Die Hard 4.0 comes to Ubuntu

Die hard 4.0 ubuntu theme screenshot

Trust me your system won't explode.

You can follow gTangish icon theme development .

Download matching Die Hard 4.0 wallpaper .

Download Die Hard 4.0 emerald theme. As the DARKguy says use Clearlooks blackblue gtk theme for window controls.

or

You can Download Die Hard 4.0 theme pack in one click.

Experience Evil Side of Ubuntu

Ubuntu Satanic Edition 666.4 code named Headless Horseman has been released to balance good side of Ubuntu christian Edition.This is what their about section says.

“Woe to you, Oh Earth and Sea, for the Devil sends the beast with wrath because he knows the time is short…

Let him who hath understanding reckon the distro of the beast, for it is a Linux distro, its distro is Ubuntu Satanic Edition.”

Some of the highlights of headless horseman

  • Skull based wallpaper art.
  • Matching gtk & gdm themes.
  • Animated magma skydome for beryl.
  • And a screensaver.

Want to experience darker side of little penguine ?, Then add their repos. Goto Ubuntu Satanic Edition site.

RealPlayer 11 for Ubuntu

First of all I want to hats off real networks for releasing new RealPlayer 11 for Linux. Their new player supports extensive list of video and audio codecs and they are really free to use on linux.

Supported Codecs

  • Theora (Alpha 3 encoded content)
  • Vorbis
  • Ogg
  • Basic SMIL 2.0
  • H263
  • RealPix
  • RAM and RPM playlist formats
  • RTSP streaming with RTP
  • HTTP streaming
  • RealText
  • RealEvents
  • RealAudio, RealVideo
  • mp3
  • mp4 audio (AAC unprotected only)
  • Flash 4

Installation

Download RealPlayer bin file from below link and execute following command in terminal. And make sure you are in the directory where you have downloaded the .bin file.

chmod +x RealPlayer11GOLD.bin

Run the bin by issuing following command.

./RealPlayer11GOLD.bin

Rest of the installation process is self explanatory.

Helix Player

Helix player is open source media player. RealPlayer for linux uses HelixDNA as a base with some proprietory codecs. Helix DNA is being developed for use on Computers, Mobiles and Living room devices. Helix DNA development contributors include Nokia, Motorola, Trolltech, Samsung, SonyEricsson, TI, Intel, ST Microelectronics and RealNetworks, opensource contributors.

Get RealPlayer For Linux

Get Helix Player

Control your Laptop Brightness Using Keyboard Shortcuts

I have prepared a python script which you can use to control brightness of your laptop. Download brightness.py and save the file some where on your system.

Install xbindkeys to map keyboard shortcuts.

sudo apt-get -y install xbindkeys

Execute following command to initialize your xbindkeys configuration file.

xbindkeys --defaults > ~/.xbindkeysrc

Now copy and paste following snippet at the end of your .xbindkeysrc file.

"python [script path]/brightness.py down"
m:0x5 + c:100
Control+Shift + Left

"python [script path]/brightness.py up"
m:0x5 + c:102
Control+Shift + Right

Make sure you replace [script path] with the path of the folder that contains downloaded python script. Open up your terminal and execute following command to start xbindkeys.

xbindkeys &

Now test your shortcut keys Control+Shift+Left Arrow and Control+Shift+Right Arrow. Make sure you add xbindkeys command to ubuntu sessions so that xbindkeys is automatically started every time you login.

Enjoy ubuntu :)

winetricks - install wine application perquisites with ease

As most of us know wine is used to run windows applications on linux. But setting it up always has been pain. For example if your windows program requires some prerequisites that aren't shipped or not implemented in wine then you have to go for hunting on net. Examples include mscore fonts, Internet Explorer, DCOM, etc. And this guide explains how to install winetricks on ubuntu.

Crossover office has a little wizard that will download install all the prerequisites of a particular software but It costs money to use. But there is one little known tool called winetricks which you can use to automate that stuff for free. Finally you can concentrate on something productive rather than hunting for some obscure stuff.

Download winetricks

Use following commands to get winetricks and set it up.

wget http://www.kegel.com/wine/winetricks
chmod +x winetricks

Using winetricks

For example if you want to install Microsoft Core fonts use following command.

./winetricks corefonts

Following are wine application perquisites it can install.

Packages

  • art2kmin - MS Access 2000 runtime. License required!.
  • colorprofile - Standard RGB color profile.
  • comctl32 - MS common controls 5.80.
  • comctl32.ocx - MS comctl32.ocx and mscomctl.ocx, comctl32 wrappers for VB6.
  • corefonts - MS Arial, Courier, Times fonts.
  • dcom98 - MS DCOM, override the Wine implementation.
  • dirac0.8 - the obsolete Dirac 0.8 directshow filter.
  • directx9 - MS DirectX 9 user redistributable.
  • divx - divx video codec.
  • dotnet11 - MS .NET 1.1 (requires Windows license).
  • dotnet20 - MS .NET 2.0 (requires Windows license).
  • ffdshow - ffdshow video codecs.
  • flash - Adobe Flash Player ActiveX and firefox plugins.
  • fontfix - Fix bad fonts which cause crash in some apps (e.g. .net)..
  • gdiplus - MS gdiplus.dll (from powerpoint viewer).
  • gecko - The HTML rendering Engine (Mozilla).
  • icodecs - Intel Codecs (Indeo).
  • jet40 - MS Jet 4.0 Service Pack 8.
  • liberation - Red Hat Liberation fonts (Sans, Serif, Mono).
  • mdac25 - MS MDAC 2.5: Microsoft ODBC drivers, etc..
  • mdac27 - MS MDAC 2.7.
  • mdac28 - MS MDAC 2.8.
  • mfc40 - MS mfc40 (Microsoft Foundation Classes from Visual C++ 4).
  • mfc42 - MS mfc42 (see vcrun6 below).
  • mono19 - mono-1.9.1-gtksharp-2.10.4-win32-2.
  • msi2 - MS Installer 2.0.
  • msls31 - MS Line Services 3.1 (needed by native riched?).
  • msxml3 - MS XML version 3.
  • msxml4 - MS XML version 4.
  • msxml6 - MS XML version 6.
  • ogg - ogg filters/codecs: flac, theora, speex, vorbis, schroedinger.
  • pdh - MS pdh.dll (Performance Data Helper).
  • quicktime72 - Apple Quicktime 7.2.
  • riched20 - MS riched20 and riched32.
  • riched30 - MS riched30.
  • tahoma - MS Tahoma font (not part of corefonts).
  • vb3run - MS Visual Basic 3 runtime.
  • vb4run - MS Visual Basic 4 runtime.
  • vb5run - MS Visual Basic 5 runtime.
  • vb6run - MS Visual Basic 6 runtime.
  • vcrun6 - MS Visual C++ 6 sp4 libraries (mfc42, msvcp60, msvcrt).
  • vcrun2003 - MS Visual C++ 2003 libraries (mfc71,msvcp71,msvcr71).
  • vcrun2005 - MS Visual C++ 2005 libraries (mfc80,msvcp80,msvcr80).
  • vcrun2005sp1 - MS Visual C++ 2005 sp1 libraries.
  • vcrun2008 - MS Visual C++ 2008 libraries (mfc90,msvcp90,msvcr90).
  • vjrun20 - MS Visual J# 2.0 libraries (requires dotnet20).
  • wmp9 - MS Windows Media Player 9 (requires Windows license).
  • wmp10 - MS Windows Media Player 10 (requires Windows license).
  • wsh51 - MS Windows Scripting Host 5.1.
  • wsh56 - MS Windows Scripting Host 5.6.
  • wsh56js - MS Windows scripting 5.6, jscript only, no cscript.
  • wsh56vb - MS Windows scripting 5.6, vbscript only, no cscript.
  • xvid - xvid video codec.

Apps

  • autohotkey - Autohotkey (open source gui scripting language).
  • firefox3 - Firefox Version 3.
  • kde - KDE for Windows installer.
  • mpc - Media Player Classic.
  • vlc - VLC media player.

Pseudopackages

  • allfonts - All listed fonts (corefonts, tahoma, liberation).
  • allcodecs - All listed codecs (xvid, ffdshow, icodecs).
  • fakeie6 - Set registry to claim IE6sp1 is installed.
  • native_mdac - Override odbc32 and odbccp32.
  • nt40 - Set windows version to nt40.
  • win98 - Set windows version to Windows 98.
  • win2k - Set windows version to Windows 2000.
  • winxp - Set windows version to Windows XP.
  • vista - Set windows version to Windows Vista.
  • winver= - Set windows version to default (winxp).
  • volnum - Rename drive_c to harddiskvolume0 (needed by some installers).

Scribes - Textmate for Ubuntu

scribes editor running on ubuntu gnome

Many people came to know about textmate through popular ruby on rails screencasts. Editing magic that you can do with textmate amazed minions of linux and windows users. Although you can do the same thing using emacs and vim plugins, lack of simple & powerful editor like textmate for non Mac platforms disappointed many people.

Now ubuntu users can enjoy scribes editor. It works as simple & effective as textmate. Here is brief feature overview.

  • Python based plugin system to extend the capabilites of the editor.
  • Edit files on remote systems through ftp, sftp, ssh, samba ...
  • Auto indenting and syntax coloring for over 30 languages.
  • Advanced text manipulation.
  • Bookmarking lines inside a file.
  • Auto complete/suggest.
  • File templates.
  • Simple to use and minimal user interface.

Flash demo of this editor. If you like this editor please donate.

Install scribes

sudo apt-get -y install scribes

PHP Editors for Ubuntu

gphpedit

Some of the highlights.

  • Syntax highlight PHP, CSS, HTML.
  • Auto complete function names, parameters and variables.
  • Syntax checking (lint).
  • Integrated help inside the editor.

Install gphpedit by executing following command.

sudo apt-get -y install gphpedit

screem

Screem has each and every functionality a web developer ever need. Some of the highlights of screem.

  • Link validation.
  • Auto completion, high level tree view of functions and variables.
  • DTD checking and suggesting html that is compatible with current DTD.
  • Plugin support or helper applicaitons. eg: HTMLTidy to clean up code.
  • Automatically close tags.
  • Preview page.
  • Page template support.
  • Auto sync with remote site.
  • Spell checker.
  • Task management to track status of your project using TODO comments.
  • Wizards to simplify code generation.
  • PHP function reference.

Install screem by issuing following command.

sudo apt-get -y install screem

quanta plus

Qutanta+ is one of the state of the art all purpose editor around.Some of the highlights here.

  • Syntax coloring.
  • Auto complete.
  • Integrated source-control support system.
  • Remote site sync.

Install quanta by running following command.

sudo apt-get -y install quanta

kate & gedit

These are notepad's of linux except that notepad has to shame on itself. Both of them are lightweight and look simple in their first look. Here are some of the highlights of kate & gedit.

  • Syntax coloring.
  • Map your custom actions to keyboard shortcuts(gedit).
  • Plugin support makes these editors worth $50.

Install kate , gedit

gvim / vim

vim is one the fastest editor available on Ubuntu. Once you get comfortable with vim your will unlearn a mental decease "Arrow key syndrome".

  • Has support for plugins and has many plugins available to support php.
  • Integrated debugging via a plugin.
  • Or any other thing you are dreaming of.

Install gvim by issuing following command

sudo apt-get -y install vim-full

Get vim plugins.

Ubuntu Docks

Ubuntu has pretty impressive collection of docks available. The following docking applications are available out of Ubuntu hardy repositories which you can install right away. Following section covers each and every beautiful dock for ubuntu.

AWN - Avant Window Navigator

Awant Window Navigator

Awant window manager engine has two modes of operation one is Glass engine and the other one is pattern engine. Using glass engine you can apply arbitrary color gradients for background of dock. Where pattern engine allows you to apply images as dock background. Avant window manager works sort of like taskbar or opened window list. You can drag and drop things on to dock. Can also do pretty good transformations like bouncing & fading icons.

Install Avant Window Navigator, Extras & applets by issuing following command.

sudo apt-get -y --force-yes install avant-window-navigator-trunk awn-manager-trunk awn-extras-applets-trunk

Now run following command to start Avant Window Navigator.

avant-window-navigator

You can change theme and other settings by right clicking on any empty area of Avant Window Navigator dock and selecting Preferences. To get 3D perspective look goto General > Bar Appearance and change the settings Bar angle, bar height & Icon offset.

Download Awant Window Navigator Themes.

Cairo Dock

Cairo Dock

Cairo dock packs up when its not in use. So it won't distract you while you are working on some thing else. It also works as opened window list as well as quick launch for frequently used applications.

Install cairo-dock by issuing following command.

sudo apt-get -y install cairo-dock

Gnome DO

gnome do, docky

Gnome DO is a popular application launcher for linux and its latest version has a docking feature called docky. To install latest version of gnome do add following repos to your sources.list file.

deb http://ppa.launchpad.net/do-core/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/do-core/ppa/ubuntu intrepid main

Now execute following command to update your repos.

sudo apt-get -y update

Execute following command to install gnome-do

sudo apt-get -y install gnome-do

Tune ubuntu for web browsing

In order to tune web browsing on ubuntu we need to make tiny configuration changes ranging from disabling ipv6 to tuning Firefox browser.

Disable IPv6

Open the file "/etc/modprobe.d/aliases" as super user and change the line from

alias net-pf-10 ipv6
to
alias net-pf-10 off
save the file and close it.

Cache DNS requests

We are going to install a local DNS server to cache first time requests. Subsequent lookups will be resolved locally with out contacting remote DNS server. dnsmasq is a tiny DNS server and it is useful for this purpose. To install dnsmasq execute following command.
sudo apt-get -y install dnsmasq
Open the file /etc/dnsmasq.conf as super user and change the line from
#listen-address=
to
listen-address=127.0.0.1
save the file and close it. Open another file /etc/dhcp3/dhclient.conf as super user. Find the following line and uncomment it.
#prepend domain-name-servers 127.0.0.1;
save the file and close it. Restart the system for changes to take effect.

Firefox Tweaks

  • Install Adblock plus addon to remove unnecessery ads from webpages.
  • Install Fasterfox addon to tweak max simultanious connections, http pipelining, dns caching, web page rendering, etc...

Tips

  • Use opendns DNS servers to block malicious urls, and speedup initial lookups. Use opendns "Get Started" guide to congiure your machine or router.

Resources for mastering Ubuntu

Although ubuntu is the most polished Linux distribution, you will occasionally need to do stuff that may be out of scope of your knowledge. Here are some commercial and free resource which you can use to make ubuntu usage a breeze.

Ubuntu Linux Bible

Covers fundamental desktop and network operations. How to to use ubuntu for emailing, editing, printing, playing music & movies and games. It also offers step by step guide on how to setup wireless, how to manage your PDA and how to setup networks.

A CD-ROM comes bundled with this book. CD-ROM contains some cross platform applications like Abiword, Firefox, GIMP, etc... They work even on Windows.

Get Ubuntu Linux Bible from amazon.

Advanced Bash scripting guide

Contains A to Z coverage of how to write bash scripts, bash scripting language constructs and very useful examples.

Get Advanced Bash scripting guide as a free PDF file. Or install it using following command.

sudo apt-get -y install abs-guide

Rute Users tutorial & exposition

This book is available out of ubuntu repository and you can freely install it. It covers how to manage both Redhat & Debian based systems, shell scripting, file system, hardware, services, c programming, networking, boot loaders, servers, etc... It's a one stop shop for learning about what Linux can do and how to do it.

Install rutebook

sudo apt-get -y install rutebook

The Linux System Administrators guide

Covers all the aspects of Linux. Install sysadmin-guide.

sudo apt-get -y install sysadmin-guide

Ubuntu Forums

Need any help on understanding how a particular thing works in ubuntu ?, or have a problem with your hardware ?.

Feel free to jump in Ubuntu Forums and shoot questions or IRC channel #ubuntu to get live community support.

Online radio for ubuntu

streamtuner running on ubuntuStreamtuner is one of the best programs around for listening to online radio on Ubuntu. Following are some of the online radio streams you can tune into.

  • SHOUTcast
  • WS Radio
  • Sky.FM
  • KPIG Radio Online
  • Basic.ch
  • InsideRadio.com
  • Radioqualia
  • CybroRadio
  • Kill Radio

Install streamtuner by executing following command.

sudo apt-get -y install streamtuner

Font Viewer for Ubuntu

font viewer fontmatrix running on ubuntuFont matrix is a really good font viewer and manager for Linux. You can install or uninstall fonts using fontmatrix. Its written in QT. Unfortunately its not in Ubuntu repository. You can get a Debian package from following site and install it.

Download fontmatrix from getdeb.net

Download a website in ubuntu

We will use wget to save entire webiste. Syntax is

wget <options> http://yoursitename.com

Following are the useful options you can use with wget.

-c / --continue Resume interrupted download.
-nd / --no-directories Don't create directory hierarchy.
-P / --directory-prefix=Save downloaded files to specified directory.
-U / --user-agent=Spoof user agent string.
-r / --recursiveGo crazy :)
-l / --level=use 0 for infinite depth level or use number greater than 0 for limited depth.
-k / --convert-linksModify links inside downloaded files to point to local files.
-p / --page-requisitesGet all images, css, js files which make up the web page.
-np / --no-parentDon't download parent directory contents.

I normally use following command to download a website.

wget -r --level=0 -convert-links --page-requisites --no-parent  <url>

How To Install ttf (true type font) Files

Create a new folder inside "/usr/share/fonts/truetype" and call it "myfonts". So target folder will be "/usr/share/fonts/truetype/myfonts".

Now copy your ttf font files to "/usr/share/fonts/truetype/myfonts". Execute following command to rebuild your font list.

sudo fc-cache -f -v

Restart the application that needs newly installed font.