Your Ad Here

3 Ways to Save Web Page as PDF

February 21, 2010

How to convert Html (web page) to Pdf? Here are 3 ways to convert or save as any website in .pdf format in Ubuntu.
1 - wkhtmltopdf ( no GUI )
Use this line in Terminal to install:
sudo apt-get install wkhtmltopdf
To use:
  • Use wkhtmltopdf [ without the "<>" sign ]
wkhtmltopdf ~/Desktop/Ubuntu.pdf

  • For more option, use help command.
wkhtmltopdf --help
2 - Print to File

This function is available in common web browser ( Firefox, Chromium, Midori ) in Ubuntu.
To use:
  • Use Print function [ Ctrl+P ]
In Firefox: File > Print
In Chromium: Current Page Control Button > Print
in Midori: File > Print
  • Select Print to File
  • Select Output format ( PDF )
  • Enter the PDF file name 
  • Print
To include image/background of the web page that you want to save as PDF ( and other options )
  • Go to Option tab [ see image ].
  • Check on Print Background Images & Print Background Colors check box. [Firefox]
  • or Features tabs > Print background images [Midori]
File > Print
Print images & background colours

3 - Firefox Add-on - Web2PDF Converter
There is also a Mozilla Firefox add-on that able to do this.
Download from here:
But then you need to download the pdf file from as you want to convert a web page. [ see image ]
Download PDF created


Quickly Type Special Characters Ubuntu

February 19, 2010

Here are 3 simple ways to search, insert & quickly key in special characters in Ubuntu.

1 - Use KCharSelect / Character Map
Character Map is pre-installed in Gnome Desktop & located at Application  > Accesories > Character Map.
  • Press Ctrl+F key to search special character
  • Simply double click, copy & paste any special character you want to use.
Gnome Character Map
KCharSelect is pre-installed in KDE.
  • For Gnome users, use this line in Terminal to install:
sudo apt-get install kcharselect
  • After installation, go to Application  > Accesories > KCharSelect to run this tool.
  • Same as Character Map; double click, copy & paste any special character you want to use. 
2 - Compose Key Mode.
Ubuntu also has a composition table, a mapping from sequences of keys called key chords to individual special characters. The composition table for Ubuntu can be found here For frequent use of special characters, composition shortcuts is a faster alternative. This mode can be applied on most text boxes in Ubuntu ( OpenOffice, GIMP, Gedit, Firefox, etc )

Set Composition Key
  • Go to System > Preferences > Keyboard
  • Select Layout tab
  • Click on Layout Option
  • Click Compose Key position
  • Tick any key you want to assign as Compose Key ( in my case : Right Alt key - image )
Assign Compose Key
How to use?
  • Press 2 combination key after Compose Key
example : © ( Copyright sign )
  • Press & release Compose Key ( in my case : Right Alt key )
  • Press o key
  • Then press c key
[ compose key + o + c = © ]
Special character © should appear
3 - Unicode entry mode
This mode same as Compose Key mode but with different activation key combinations. This mode also can be applied on most application text boxes.
You can find Unicode number or key combinations from Character Map or KCharSelect(see image)
Unicode mode - Sticky Notes
How to use?
  • Press Ctrl+Shift+U key followed by Unicode number or key combination of special characters.
To type Sigma sign ( Σ )
  • Press Ctrl+Shift+U to enable Unicode mode
  • Type Unicode number of sign for Sigma sign - 03A3
  • Then press Enter key

Change Xsplash Login Screen Background Image - Manually

February 17, 2010

Here is another way ( manually ) change your login screen / x-splash background image besides using Xsplash Background Settings tools.
How to manually change login screen background / xsplash image ?
Prepare background image
  • Resize the new image that you're going to use as login screen background to fit your screen resolution using any image manipulation program ( GIMP / gThumb Image Viewer )
  • Convert or Save image in .jpg format
Resize image using gThumb Image Viewer

Open Xsplash image folder as root
  • Press Alt-F2 to open Run Application dialog & type / paste this line:
gksudo nautilus /usr/share/images/xsplash
  • Backup original login image by renaming the file.  [ eg. bg_backup.jpg ]
  • Copy & paste the new image into xsplash folder opened earlier using line above.
  • Rename the new image with the same name as original image. [ eg. bg.jpg ] [see image below ]
Copy & Paste new image into xsplash folder
Backup old image & rename new image
  • Logout session to see changes.
Watch video for better understanding:

Change Login Screen Background - Xsplash Background Settings

If you already bored with default background of your Ubuntu ( Karmic ) login screen, Xsplash Background Settings tool help you change your login screen or Xsplash image easily.
Xsplash Background Settings?
Background settings dialog for XSplash and the login screen (GDM), providing easy changing of the background image and an optional daemon, that keeps xsplash and gdm background consistent with the desktop wallpaper.

How to Install?
  • Simply download & install using .deb intaller from Launchpad or
  • Add stable Xsplash Backgrpund Settings Launchpad PPA & install using these lines in Terminal
sudo add-apt-repository ppa:meerkat/stable
sudo apt-get update
sudo apt-get install xsplash-background-settings
How to use?
  • Go to System > Preferences > XSplash Background Settings.

  • Select either current backround image or other custom image as your login background
  • Logout to see changes.


Install LXDE in Ubuntu

February 13, 2010

Last week I decided to try LXDE (Lightweight X11 Desktop Environment) on my Karmic Koala. Here is the overview & how to install LXDE on Ubuntu.
The "Lightweight X11 Desktop Environment" is an extremely fast-performing and energy-saving desktop environment.
Why use LXDE?
LXDE uses less CPU and less RAM than other environments. It is especially designed for cloud computers with low hardware specifications, such as, netbooks, mobile devices (e.g. MIDs) or older computers. Here is System Monitor comparison during my test:

LXDE Session
Gnome Session

How to install?
Add LXDE launchpad ppa
  • Open Terminal & paste these lines [karmic]:
sudo add-apt-repository ppa:lxde/ppa
sudo apt-get update
sudo apt-get install lxde

How to use LXDE session?
  • After successful installation logout your gnome session.
  • Click on your user account
  • Select LXDE from Session at bottom panel before you enter your password. [see image]

Session: LXDE
LXDE Screenshots

For complete unistall
  • Open Terminal & use this command:
sudo apt-get autoremove lxde


Add Website Shortcuts on Desktop

February 05, 2010

How to create webpage launcher on Ubuntu desktop

Here are 3 ways to create desktop shortcut for webpage URL :
  1. Launcher...
  2. Prism
  3. DeskCut ( Firefox Add-on ) 

The Launcher
Simply create launcher for wabpage URL. Set web-browser of your choice for the launcher to open the URL.
  • Right click on your desktop
  • Click Create Launcher...
  • Enter name for the launcher
If you want Firefox to open the URL, fill in the the Command box with:
For Chromium
For Opera
( see image )

Prism is an application that lets users split web applications  out of their browser and run them directly on their desktop.
Install Prism
Prism can be installed using Ubuntu Software Center or Terminal command:
sudo apt-get install prism
How to use:
  • Run Prism from Applications > Internet > Prism
  • enter URL and Name for the website 
  • Tick on Create Shortcuts > Desktop

The shortcut icon will use favicon of website or any image that you select as icon once you double click the shortcut & Click Mark as Trusted
DeskCut ( Firefox Add-on )
Download from here
  • In Firefox, right click on website that you want to create desktop shortcut
  • click on Create DeskCut
Unlike Prism, you'll need to manually select an image for the shortcut's icon
Right click > Properties to do so.