Tuesday, 30 December 2008

5 Ways To View CHM Files in Ubuntu Linux

1. Gnochm

Gnochm is a gnome based chm viewer that has the following features :
  • Support for external ms-its links
  • Full text search support
  • Bookmarks
  • Configurable support for HTTP links
  • Integrated with GNOME2
  • Support for multiple languages


  • Support to open multiple files at once
To install gnochm issue the following command in the terminal window

sudo apt-get install gnochm

After installation gnochm should be installed properly, which you can even launch by typing in "gnochm" in the terminal window.

2. kchmviewer
If you are one of those who likes using KDE desktop environment you might like using a tool that uses KDE library instead of gnome one , and integrates better with KDE desktop. A nice chm viewer for KDE desktop is kchm viewer.

to install kchmviewer type in the following command in the terminal window :

sudo apt-get install kchmviewer

and after above step is completed you can launch kchmviewer by typing in kchmviewer in the terminal window
3. xCHM
xCHM is a chm file viewer , that is not bound to any desktop environment and could be used even in window manager like fvwm or xfce .

to install xchm issue the following command in the terminal window :

sudo apt-get install xchm

and then you can launch xchm by typing in xchm in the terminal window .4. Mozilla Firefox add-on to display chm files
Mozilla Firefox is a powerful platform and it can be extended to do a number of cool things by installing different plug ins and one really useful addon is a CHM viewer .

To install CHM reader addon go HERE and, download the *.xpi file, then put it somewhere in Mozilla folder, sorry i forgot where exactly the folder is, you can try to find it yourself. Procedure after that is quite self explanatory owing to extremely easy interface of Mozilla Firefox

After installing you can easily open chm files from Mozilla Firefox , In the File submenu you will find a option of opening chm files .5. Okular

If you happen to install kde4 on your desktop , Okular is the new addition to the KDE desktop environment . Okular besides having ability to render pdf , djvu files can also display chm files flawlessly . Besides being based on solid KDE 4 libraries Okular allows one to add notes , highlight text etc . It is one of the most advanced document reader available on linux .


Read More......

Sunday, 21 December 2008

How to Rip & Encode DVDs into AVI/OGM files in Ubuntu

OGMRip is an application and a set of libraries for ripping and encoding DVDs into AVI/OGM files using a wide variety of codecs. It relies on mplayer, mencoder, ogmtools, oggenc, and lame to perform its tasks. The GUI features a clean HIG-compliant GNOME 2 interface and tries to minimize (as much as possible) esoteric settings.




Download DEB package via getdeb.net

After download, double click on the file to install..


Read More......

List of Twitter Clients in Ubuntu

1. gTwitter - Hompage

It's a simple GTK+ based application for Linux, designed to interact with Twitter web service. It's written using Mono/C# and some of GNOME dependant libraries. GUI is inspired by Mac client Twitterrific.


Download TAR Package via googlecode

2. Twidge - Homepage

Twidge is a command-line, full-functional Twitter client. It supports posting updates, retrieving information, and excellent integration with the Unix shell scripting environment via piping and well-formatted output.

Download TAR/BIN/ZIP Packages

3. Gwibber - Homepage

Gwibber is an open source microblogging client for GNOME developed with Python and GTK. It supports Twitter, Jaiku, Identi.ca, Facebook, and Digg. Please note that this is pre-alpha software.
Intallation Guide For Ubuntu
Installation Guide For OpenSUSE

4. Mitter - Homepage

Another Twitter Client.Download DEB Package via getdeb.net

5. Twhirl (Need Adobe AIR) - Homepage
A social software desktop client based on the Adobe AIR platform.

Download Twhirl(.AIR)

6. Spaz (Need Adobe AIR) - Hompage
Spaz is a Twitter client for users who value free, open-source software, attractive design, and customizability.
Download Spaz(.AIR)

Read More......

How to fix upside down webcam image in ubuntu

I've found a Ubuntu user via ubuntuforums.org that have problem with the webcam, the user have integrated webcam - Syntek USB Video Camera. He/she claimed that the webcam image turned upside down. This happen because of the vflip option..




To fix it(Syntek USB Video Camera as a example) you need to know the camera driver, in terminal type :

lsusb

udevinfo --query=all --name=/dev/video0 --attribute-walk

Example udevinfo command result :The driver for the webcam is stk11xx & has the vflip option(To check all the options the driver offers, use the command "modinfo stk11xx")

Now unload the driver and then re-load it with the vflip option, code :

sudo modprobe -r stk11xx
sudo modprobe stk11xx vflip=1

Now try with webcam app to see that the problem has solved. You can add the option to the system settings so the driver always uses it when it loads..

Code:

echo "options stk11xx vflip=1" | sudo tee -a /etc/modprobe.d/options

Read More......

Saturday, 13 December 2008

Circular Application Menu for Ubuntu



This is a circular-application-menu (C-A-M) prototype mirroring the same structure as the exisiting application menu for the GNOME desktop. I heard this feature will be available in Windows 7.It’s a menu in a circular form displayed in desktop. The icon of each sub menu is laid around the circle, if we click on the icon another circular of the menus that laid under the icon of the sub menu will be displayed so that we will show two circle on our desktop.

Download via getdeb.net

After download finished, just double click it to install it & you can find at Apllication>>Accesories>>Circular-Application-Menu


Read More......

Safely Remove USB Device in Ubuntu with Ejecter



Ejecter is a small but very useful utility to safely, easily remove external media. A simple menu that sits in the system notification area, providing you a quick way to unmount external peripherals such as usb pendrives, cd/dvd, external hard disks and so..

Download DEB Package :

Ejecter via getdeb.net

After download, double click on the file to install..


Read More......

Saturday, 6 December 2008

Repackage i386 deb for in lpia (for Dell Mini9)

1. Download the Ubuntu version of Skype
2. Use the Archive manager to uncompress it. Alternatively, right click on the deb package and select "extract here"

3. Rename the uncompressed folder, by changing the ending from i386 to lpia. (the folder should be now named: skype-debian_2.0.0.72-1_lpia)
4. Open the folder
5. There are 3 files. remove the "debian-binary" file
6. Decompress "control.tar.gz". There are tree files in it.
7. Make a folder "DEBIAN" in the main folder, and placed the 3 files you just decompressed inside it.
8. Open one of the files inside DEBIAN, "control". Change the line "Architecture: i386" into "Architecture: lpia"
9. Open the other archive "data.tar.gz". There is a folder "." inside. Open it (double click). Select both the folders (usr and etc) and select uncompress.
10. Remove the files "control.tar.gz" and "data.tar.gz"
11. You should now have your main folder with the following inside:
DEBIAN folder with tree text files in it (conffiles, control, md5sums); a "usr" folder and a "etc" folder.
12. You are now ready to prepare your lpia deb folder.
13. From the command line, go to the folder that contains your main skype folder you just prepared (most likely named: skype-debian_2.0.0.72-1_lpia).
14. type: dpkg --build skype-debian_2.0.0.72-1_lpia
15. Your deb package is ready. Double click on it and follow instruction. After installation it should appear in Synaptic, and from there you can remove it at any time.
16. Enjoy!!!

Read More......

Simple Wireless Network Manager in Ubuntu



Wicd is an open source wired and wireless network manager for Linux which aims to provide a simple interface to connect to networks with a wide variety of settings.

Wicd’s features :

  • No Gnome dependencies (although it does require GTK), so it is easy to use in XFCE, Fluxbox, Openbox, Enlightenment, etc.
  • Ability to connect to wired and wireless networks
  • Profiles for each wireless network and wired network
  • Many encryption schemes, some of which include WEP/WPA/WPA2
  • Remains compatible with wireless-tools
  • Tray icon showing network activity and signal strength

Installing Wicd in Ubuntu :

First you need to edit the /etc/apt/sources.list file

sudo gedit /etc/apt/sources.list

Add the following line for gutsy user

deb http://apt.wicd.net gutsy extras

Add the following line for hardy user

deb http://apt.wicd.net hardy extras

Save and exit the file

where gutsy is your version of Ubuntu in lowercase (dapper, edgy, feisty, gutsy, hardy).

Now you need to update the source list using the following command

sudo aptitude update

Install wicd using the following command (in Terminal, type) :

sudo aptitude install wicd

Please note that this will remove network-manager, which is the default GNOME network manager and may cause loss of network connection temporarily.

In GNOME, to get the tray icon to automatically appear at boot, go to System>>Preferences>> Sessions. In the “Startup Programs” tab, click the “New” button. Give it a name (”Wicd” works fine). For the command, enter “/opt/wicd/tray.py”.

Running Wicd

To use wicd, launch it go to Applications>>Internet>>wicd in GNOME.

In the wicd program window you’ll see a list of the wireless networks that the software has detected. Wicd doesn’t always pick up all of the networks that are in range when it starts; click the Refresh icon on tool bar to get a full list.

From there, click the Connect link beneath the name of the network that you want to use. After a few seconds, you should be connected the network.If the network is encrypted, you need to do a little more work. Wicd supports the following encryption schemes: WPA, WEP, LEAP, TTLS, EAP, and PEAP.

Click the arrow beside the name of the encrypted network to which you want to connect, then click Advanced Settings. From there, click the Use Encryption checkbox, select an encryption method from the dropdown list, and enter the required password in the Key field.


Read More......

Friday, 5 December 2008

Getting Clock to Display Temp, Weather & Multiple Timezone in Ubuntu




You can make the clock on Ubuntu panel to show local temperature/weather by adding the time zone. You can also make the clock to show different/multiple time zone..

To do this, click the clock on the panel, select 'Edit', select 'Location' tab..
Click 'Add', to add your local or other time zone, you can use the 'Find' button to find for specific country or city.

Tip : If you can't find your location(Location Name:), you can choose nearest location at(Timezone:)
Hover your mouse on the weather icon to see detailed info (ie sunrise,sunset,wind direction). See screenshot on top..

Click on the 'Set' to change your default local time..



Read More......

How to Change/Reset Ubuntu Password




1. Reset Your Ubuntu Password(in the GRUB)

Reboot your computer, and then as soon as you see the GRUB Loading screen, make sure to hit the ESC key so that you can get to the menu.Root Shell - Easy Method

If you have the option, you can choose the "recovery mode" item on the menu, usually found right below your default kernel option.Then choose "Drop to root shell prompt" from this menu.

This should give you a root shell prompt.

Alternate Root Shell Method

If you don't have the recovery mode option, this is the alternate way to manually edit the grub options to allow for a root shell.

First you'll want to make sure to choose the regular boot kernel that you use (typically just the default one), and then use the "e" key to choose to edit that boot option.

Now just hit the down arrow key over to the "kernel" option, and then use the "e" key to switch to edit mode for the kernel option.

You'll first be presented with a screen that looks very similar to this one:

You'll want to remove the "ro quiet splash" part with the backspace key, and then add this onto the end:

rw init=/bin/bash

Once you hit enter after adjusting the kernel line, you'll need to use the B key to choose to boot with that option.

At this point the system should boot up very quickly to a command prompt.

Changing the Actual Password

You can use the following command to reset your password:

passwd

For example my username being geek I used this command:

passwd geek

After changing your password, use the following commands to reboot your system. (The sync command makes sure to write out data to the disk before rebooting)

sync
reboot -f

I found that the -f parameter was necessary to get the reboot command to work for some reason. You could always hardware reset instead, but make sure to use the sync command first.

And now you should be able to login without any issues.

2. Resetting Ubuntu Password with LiveCD

You'll want to boot from your Ubuntu Live CD, choosing "Try Ubuntu without any change to your computer" from the boot menu.

Once the system boots, open up a new Terminal window from Applications>>Accessories and then type in the following command:

sudo fdisk -l

This command is used to tell what device name the hard drive is using, which in most cases should be /dev/sda1, but could be different on your system.

Now you'll need to create a directory to mount the hard drive on. Since we're actually booting off the live cd, the directory doesn't really get created anywhere.

sudo mkdir /media/sda1

The next command will mount the hard drive in the /media/sda1 folder.

sudo mount /dev/sda1 /media/sda1

Now it's time for the command that actually does the magic: chroot. This command is used to open up a shell with a different root directory than the current shell is using, and we'll pass in the folder where we mounted the hard drive.

sudo chroot /media/sda1

Now you should be able to use the passwd command to change your user account's password, and it will be applied to the hard drive since we are using chroot.

passwd geek

Note that you'll have to type your username after the passwd command in order to change the right password.

Now you should be able to reboot your system and log yourself in with your new password.




Read More......

Easy Way to Create Bootable Ubuntu USB Pendrive

The easy way to create Ubuntu in USB pendrive/flashdrive/thumbdrive, you''ll need :


  • The USB Startup Disk creator tool. It comes as a part of the default Ubuntu 8.10 desktop. I haven’t seen any packages for older versions of Ubuntu yet, but I have have been able to install the 8.10 package in Ubuntu 8.04.
  • A USB drive or memory card with a minimum of 700 MB of free space.
  • An Ubuntu CD or Ubuntu CD ISO file.


Launch the USB Startup Disk creator tool from System->Administration->Create a USB startup disk.
Either insert your Ubuntu CD, or click Other and browse to your ISO file. (If the application doesn’t recognize your CD, try clicking Other and then Cancel. This caused the CD to show up.)

Plug in your USB drive or card. The application should recognize the drive immediately and check that there is enough free space. If you have multiple USB drives, select the one you want to use from the list.

Finally, you can choose whether you want your USB system to be persistent between boots, or static like a live CD. Adjust the slider to choose how much space Ubuntu will have on the disk to expand to, or select the Discarded on shutdown option.

Click Make Startup Disk, and wait while the USB system is created. Now you can boot from this drive on any system which supports USB boots.

Booting from the USB drive is just like a CD; you’ll have to select Try Ubuntu from the boot menu to load the desktop. If you allocated space for a persistent system, anything you install or change on the system will persist the next time you boot.

You can also try with SD card or other type of memory card.

Read More......

Virtual Desktop/OS Emulator Tools for Ubuntu

VirtualBox
VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL).



VBoxGTK

A simple GTK frontend for VirtualBox. It's still in beta (the site notes that "most of VirtualBox features are not supported,and those that are will probably fail"), but it's a good beginning and progressing rapidly.

Qemu Launcher

Qemu Launcher is a Gtk front-end for the Qemu x86 PC emulator. Qemu is a command line application so I wrote this so that Qemu is more accessible from the desktop.
QEMU

QEMU is a generic and open source machine emulator and virtualizer. When used as a machine emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, it achieves very good performances.

QtEmu

QtEmu is a graphical user interface for QEMU written in Qt4. It has the ability to run virtual operating systems on native systems. This way you can easily test a new operating system or try a Live CD on your system without any troubles and dangers. QtEmu has been tested on Linux, FreeBSD and Windows (2k, XP).

Read More......