Dear subscribers,

I am writing this post to let you know that I have moved this blog to new domain ahotech.com

I have moved all the previous posts there and from now on I will post regularly at ahotech.com

I hope to see you there.

This blog has been moved and new updated post can be found here

Few days back I bought Reliance Netconnect Broadband+ Data-card( Huawei EC1262) and as usual it had support only for Windows and Mac. I asked the tech support and they clearly mentioned me that they dont support Linux. So now I was on my own. I looked over the Internet and found many tutorials to get it to work on Ubuntu. None of them worked for me perfectly. So I changed few things mentioned in those tutorials and got my datacard to work perfectly on Ubuntu 10.04 . Now I am going to list the steps that I followed to get my datacard to work on Ubuntu. So here I go:

1. First of all open up the terminal and run the following command

sudo apt-get update

2. Now we need to install wvdial so run the following command

sudo apt-get install wvdial

3. Now we need to install libusb-dev so run the following command

sudo apt-get install libusb-dev

4. Now we need to download usb-modeswitch and usb-modeswitch-data so go to the following links

usb-modeswitch usb-modeswitch-data . Download both the files and save them on your computer .

5. Now extract both the files and and go to extracted directories on by one (first go to usb-modeswitch). and run the following command as root

sudo make install

6. Now run the following command

sudo gedit /etc/usb_modeswitch.conf

and it will open gedit and paste the following text in it and save the file

# Configuration for the usb-modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
# This file is evaluated by the wrapper script "usb_modeswitch" in /lib/udev
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"
# Disable automatic mode switching globally (e.g. to access the original
# install storage)
DisableSwitching=0
# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_"
EnableLogging=1
# Huawei, newer modems
DefaultVendor= 0x12d1
DefaultProduct=0x1446
TargetVendor= 0x12d1
TargetProduct=140b
CheckSuccess=5

Now run the following command and it will again open gedit and paste the above text in it again and save it

sudo gedit /etc/usb-modeswitch.conf

7. Now run the following commands

sudo gedit /etc/wvdial.conf

it will again open gedit and you need to paste the following text in it.

[Dialer netconnect]
New PPPD = yes
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
Username = 93********
Password = 93*********
Phone = #777
Stupid Mode = 1
Auto DNS = 1
Check Def Route = 1

change the username and password with your 10 digit MDN number given on the box of datacard.
8. Now Save the file and reboot the computer. After reboot plugin your datacard and wait for 5 to 6 seconds . Now run the following command

sudo wvdial netconnect

you should see something like below after running the above command

--> Using interface ppp0
--> local  IP address 115.242.127.250
--> remote IP address 220.224.141.129
--> primary   DNS address 202.138.97.193
--> secondary DNS address 202.138.117.60

If you see this, that means you are connected to the internet. Now open the firefox and go to File menu and remove the offiline mode and enjoy. But if you dont see this then there is something wrong you are doing.
Original tutorial can be found here but it did not worked for me. So I suggest you that first you follow my tutorial and if it dont work for you only then follow the other tutorial.

P.S: If you dont understand instructions above then ask me for help in the comments. Remember there are no dumb questions. Good Luck.

This blog has been moved and new updated post can be found here

Introduction (From Wikipedia) :

Alpine is a free software e-mail client developed at the University of Washington.Alpine 1.0 was publicly released on December 20, 2007.Alpine is a rewrite of the Pine Message System that adds support for Unicode and other features. Alpine is meant to be suitable for both inexperienced email users and the most demanding of power users. Alpine is developed at the University of Washington, as was Pine before it. Alpine can be learned by exploration and the use of context-sensitive help. The user interface can be customized.
Alpine shares a lot of common feature of console applications, like a rich set of shortcut keys, using keyboard instead of mouse to do all navigation and operation. In fact all operations in Alpine have corresponding shortcut keys.
Unlike other console applications targeting developers and experienced users, which often require users to edit a configuration file, Alpine allows the user to change most configuration options within the software. This makes alpine one of the most easy to learn console-based email clients.
Alpine supports IMAP, POP, SMTP and LDAP protocol natively. Although it does not support composing HTML email, it can display emails that only have HTML content as text.
Linus Torvalds, the primary force behind the development of Linux, has stated in an interview published by the Lifehacker  weblog on 31 January 2008 that he uses Alpine as his email client.E-mail headers confirm this.

Configuration :

First of you have to download and install Alpine from here . If you are using debian or ubuntu simple type

 sudo apt-get install alpine

and it will be automatically install for you .
Now open your terminal and type

alpine

and you will see a screen like the one below .

Now move your cursor up and down to the option S SETUP or simply press S from your keyboard and you will see a next screen like the one below

Now press L from your keyboard and go to the configuration screen like as shown in the next screen

Now press A and you will be presented with a screen like below

In the Nickname field put anything you want and in Server field put this

imap.gmail.com/ssl/user=username@gmail.com

Replace “username” with your gmail username.

Now press Ctrl+X and you will be asked for your password (dont worry if not), just give your password and hit enter . In the next screen you will see the new list just created by you .

Now press left arrow and you will be back to the main screen . From here again press S and then press C and you will see a screen almost similar to one below

From the start of the screen go slowly down and you will see SMTP server field and Inbox Path field. Now put the following details in both the fields respectively ( press enter to add detail)

smtp.gmail.com/tls/user=username@gmail.com 
{pop.gmail.com/pop3/ssl/user=username@gmail.com}Inbox

and then hit enter and give your password if you are asked for . Thats it now you must be able to read your emails and send emails from your Gmail account .
Remember Password
Now if you want that your password should be saved on your computer (dont worry its totally safe) , then open the terminal and if you are in your home directory then give the following command

touch .pine-passfile

How to read email
To read your email just type alpine in the terminal and from the menu select FOLDER LIST and there you will see the list created by you so select it and now you can read your emails .

If you have any problem , you can ask me for help through comments .

This blog has been moved and new updated post can be found here

In this post I am going to explain about how to enable Grayscale Printing in Canon Pixma MP250 series printer . You can refer to my tutorial here in case you want to install the printer and scanner on Ubuntu and any other Linux distro .

To enable the Grayscale printing just follow the following steps .

1. Click System –> Administration –> Printing .

2. Now right click on your printer and select properties .

3. Now select Job Options

4 . Now scroll down to the bottom .

5. At the bottom you will see a text box . In that text box add “CNGrayscale” (without qoutes) and click on Add button .

6. Once you click add there will appear another text box right above the first text box . So in the second text box add “TRUE” and click on apply .

Thats all , now your printer will print in Grayscale mode . In case you want to print in color mode just change the TRUE to FALSE .

If there is something that you did not understand , you can ask me in the comments .

This blog has been moved and new updated post can be found here

 

This is the list of some of the best Lightweight applications available in Linux . I hope you like it . Please give your feedback in comments .


Browsers :

  • Abaco A multi-page graphical web browser
  • Arora A cross platform web browser built using Qt and WebKit
  • Chromium The open-source project behind Google Chrome
  • Conkeror A highly programmable web browser based on Mozilla XULRunner
  • Dillo A small, fast graphical web browser built on FLTK
  • Elinks An advanced and well-established feature-rich text mode web browser
  • Hv3 A minimalist web browser based on tkhtml3
  • Kazehakase GTK+ web browser that uses the Gecko rendering engine
  • Links A text WWW browser, similar to Lynx
  • Midori is a lightweight web browser based on Gtk and WebKit. It passes the ACID3 test
  • Netsurf has its own rendering engine, is written in C and is extremely lightweight.
  • rekonq rekonq is a KDE browser based on Webkit. Its code is based on Nokia QtDemoBrowser, just like Arora.
  • Surf is another lightweight WebKit-based browser, which follows the “Suck less philosophy” . Which means, the software is even more lightweight (basically, the browser itself is a single C source file).
  • Uzbl “web interface tools which adhere to the unix philosophy.”
  • vimprobable Vimprobable is a WWW browser that behaves like the Vimperator plugin available for Mozilla Firefox. It is based on the WebKit engine (using GTK bindings)
  • Xombrero xombrero is a minimalist web browser with sophisticated security features designed-in.


Email Clients :

  • Alpine is another powerful, and user-friendly text-based mail and news client.
  • Mutt is a small but very powerful text-based mail client.
  • Sylpheed is a simple, lightweight but featureful, and easy-to-use GTK based e-mail client
  • Claws is a user-friendly, lightweight, and fast GTK based email client.
  • Sup is yet another powerful, text-based mail client; it is still under development.


Instant Messengers :

  • Bitlbee is a way to use other IM to your IRC client .
  • Centerim is a curses based fork of Centericq which supports several protocols.
  • Emesene is a Python/GTK+ instant messenger for the Windows Live Messenger network.
  • Finch is a curses based version of Pidgin.(as pointed by Laurence Becker, Finch is not very lightweight application)
  • Pidgin is a multiprotocol instant messenger.  (as pointed by Laurence Becker, Pidgin is not very lightweight application)


IRC :

  • Conspire Lightweight, simple, and powerfull.
  • Irssi is a modular text mode IRC client with Perl scripting.
  • II Ultimate lightweight, literally `tail -f` the convo and `echo` back your replies.
  • ircfs is a file system interface to irc written in Limbo
  • LostIRC is a simple IRC client.
  • ScrollZ is an advanced IRC client based on ircII.
  • WeeChat is a fast, light & extensible curses-based IRC client.
  • Xchat is a GTK+ X client with Perl and Python scripting support.
  • pcw is a frontend for ii that opens a new terminal for each channel (depends on srw by default)


Torrent Clients :

  • Deluge User-friendly BitTorrent client written in Python and wrapped with PyGTK
  • qBittorrent The closest open source (GNU GPL v2 license) equivalent to µtorrent
  • rTorrent Simple and lightweight ncurses BitTorrent client
  • Transmission Simple and easy-to-use BitTorrent client with (GTK+) GUI and CLI front-ends
  • Aria2 An advanced, lightweight CLI download manager that supports many protocols including bittorrent and metalink


Audio Players :

  • Ario is very feature-rich GTK2 client for mpd, inspired by Rhythmbox
  • C* Music Player is a very feature-rich ncurses-based music player.
  • cplay is a curses front-end for various audio players.
  • Goggles Music Manager is a music collection manager and player that automatically categorizes your music, supports gapless playback, features easy tag editing, and internet radio support.
  • MOC(Music On Console) is an ncurses console audio player with support for the MP3, Ogg, and WAV formats.
  • ncmpc is a curses client for mpd.
  • Pragha is a GTK+ music manager that was a fork of Consonance Music Manager.
  • QmpdClient is Qt4 based mpd client.
  • Sonata is an elegant GTK+ music client for mpd.
  • mpg123 A fast free MP3 console audio player for Linux, FreeBSD, Solaris, Hpux and near all other UNIX systems. Also decodes mp1 and mp2 files.


Video Players :


Image Editors :

  • mtPaint is a graphic editing program geared towards creating indexed palette images and pixel art.


Image Viewers :

  • Feh is a fast, lightweight image viewer that uses imlib2 .
  • GPicView is a simple and fast image viewer for X. Made by the developers of LXDE
  • GQview is an image browser that features single click access to view images and move around the directory tree.
  • Geeqie is a lightweight image browser and viewer (fork of GQview), with additional functionality like RAW files view.
  • Mirage is a fast and simple GTK+ image viewer.
  • Ristretto is a fast and lightweight picture-viewer for the Xfce desktop environment.
  • QIV (Quick Image Viewer) is a very small and fast gdk/Imlib image viewer.
  • Viewnior Viewnior is a simple, fast image viewer with a minimalistic GTK2 interface.
  • Xv is a shareware program written by John Bradley to display and modify digital images under the X Window System.


Calendars :

  • Calcurse is a curses calendar and scheduling system.
  • Remind is a highly sophisticated text-based calendaring and notification system.
  • Wyrd is an curses front-end to Remind.
  • wxRemind is a Python text and graphical frontend to Remind.


PDF Tools:

  • apvlv is a lightweight PDF viewer with VIM key bindings.
  • ePDFView is a free lightweight PDF document viewer using Poppler and GTK+ libraries.
  • MuPDF is a lightweight PDF viewer and toolkit written in portable C. It is one of the lightest available.
  • Xpdf is a viewer for Portable Document Format (PDF) files.
  • zathura is another lightweight PDF viewer similar to apvlv, only lighter


Text Editors:

  • Acme a minimalist and flexible programming environment by Rob Pike.
  • Beaver is an Early AdVanced EditoR.
  • Geany is a text editor using the GTK+ 2 toolkit with basic features of an integrated development environment.
  • Leafpad is a notepad clone for GTK+ 2.x that emphasizes simplicity.
  • medit is intended to be a useful programming and around-programming text editor.
  • Mousepad is a simple text editor for Xfce based on Leafpad.
  • nano is an easy-to-use text editor, with on-screen key binding information, based on pine’s pico editor.
  • PyRoom is a great distractionless PyGTK text editor, a clone of the infamous WriteRoom
  • Sam a graphical text editor by Rob Pike (still used by Ken Thompson and others).
  • Vi, Vim, gVim, the classic vi text editor.


Word Processors:

  • Abiword is a full-featured word processor, there is also an even lighter version in the AUR, Abiword-light.
  • txt2tags is a dead-simple, KISS-compliant lightweight, human-readable markup language to produce rich format content out of plain text files
  • WordGrinder a word processor for processing words .


Todo List Managers:

  • Todo.txt manages your Todo list from the command line.


File Managers:

  • emelFM2 is file manager that implements the popular two-pane design.
  • Midnight Commander is a console-based, dual-paned, file manager.
  • PCManFM is a lightweight file manager which features tabbed browsing and can optionally manage the desktop background.
  • Ranger is a console based file manager with vi bindings, customizability, and lots of features.
  • ROX is a small and fast file manager which can optionally manage the desktop background and panels.
  • Thunar is fast and responsive with a good start up time and directory load time.
  • Vifm is a ncurses based two-pane file manager with vi like keybindings.
  • Xfe X File Explorer (Xfe) is an MS-Explorer or Commander like file manager for X.


GUI Compression Tools:

  • Squeeze is a modern and advanced archive manager.
  • Xarchive is a GTK+ 2 front-end for various command line archiving tools.
  • Xarchiver is a lightweight desktop independent archive manager built with GTK+ 2.


CD/DVD Burning Tools:

  • recorder is a graphical frontend of cdrkit/cdrtools, cdrdao, mkisofs and growisofs.


Login managers:

  • CDM provides an ultra-minimalistic, yet full-featured login manager written in bash.
  • SLiM provides a lightweight and elegant graphical login solution.
  • Qingy is ultralight and very configurable graphical login independent on X Windows.


Monitors:

  • Conky is a lightweight, scriptable system monitor.
  • htop is a simple, ncurses interactive process viewer.


Panels:

  • BMPanel (BitMap Panel) is a lightweight, NETWM compliant panel for the X11 system.
  • fbpanel is a lightweight, NETWM compliant desktop panel.
  • LXPanel is a lightweight X11 desktop panel (part of LXDE).
  • PyPanel is a lightweight panel/taskbar written in Python and C (HOWTO).
  • Tint is a simple panel/taskbar intentionally made for openbox3, but should also work with other window managers (HOWTO).
  • pancake is a highly configurable, modular panel for X.


Terminals:

  • Lilyterm is a light and easy to use libvte based X Terminal Emulator.
  • ROXTerm is a tabbed, VTE-based terminal emulator with a small footprint.
  • urxvt is a highly extendable unicode enabled rxvt-clone terminal emulator featuring tabbing, url launching, quake-style dropdown, pseudo-transparency, and is extensible with perl.
  • Sakura is a terminal emulator based on GTK+ and VTE.
  • xterm is a terminal emulator for the X Window System.
  • xvt xvt is an X terminal-emulator that is designed to be more or less compatible with xterm while using much less swap space.
  • st st is a simple terminal implementation for X.


Trays:

  • Docker is a docking application which acts as a system tray.
  • Stalonetray is a stand-alone system tray.
  • Trayer swallows GTK+ 1.2/2.x application docklets, and KDE docklets.


Window managers:

  • Awesome is a floating and tiling window manager initially based on a dwm code rewriting.
  • Dwm is an extra light dynamic window manager which is configured by directly editing the source(which itself is less than 2000 SLOC).
  • Enlightenment a very lightweight and extremely beautiful WM .
  • Evilwm is a minimalist floating window manager with an installed size of only 0.07 MB.
  • Fluxbox is a lightweight and highly configurable window manager.
  • FVWM is a lightweight, flexible and highly-configurable Window Manager.
  • i3 i3 is a manual tiling window manager which places client into containers.Containers can be stacked (like wmii) or tabbed (like ion3). i3 also supports floating windows.
  • Musca is a very lightweight window manager which has features from dwm and ratpoison. Uses about 350-400KB of memory.
  • Openbox is another lightweight and highly configurable window manager.
  • PekWM is small and easily configurable window manager.
  • Ratpoison is a keyboard-oriented, customizable lightweight window manager, modelled after GNU Screen.
  • Scrotwm is a small dynamic tiling window manager for X11. It is written in C and configured with a text configuration file.
  • Subtle is a semi-automatic tiling window manager with a strong focus on easy but customizable handling and look and feel.
  • TinyWM is a tiny window manager that was created as an exercise in minimalism, and it is also helpful in learning some of the very basics of creating a window manager. It is around 50 lines of C, and there is a Python version using python-xlib.
  • Twm is a classic, customizable and very lightweight window manager; possibly the first designed for X11.
  • Window Maker is an elegant, fast and usable OpenStep implementation.
  • Xfce is a desktop environment much lighter but similar to GNOME. It includes the xfwm4 window manager.
  • Xmonad is a tiling window manager for X, written and configured in Haskell.
  • Wmfs (Window Manager From Scratch) is a lightweight and highly configurable tiling window manager for X.

Help me to improve this list by specifying if I missed something . Please give your feedback in comments . This list was orginally posted at Arch Linux . I have fixed the few links and I am sharing it here with you guys .

Contributors :

  1. MercurialAlchemist
  2. damn_right
  3. TheAntiRudin
  4. KimTjik
  5. Jaqui
  6. drad