Your Ad Here
Loading

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 ]
example:
wkhtmltopdf http://www.ubuntu.com ~/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:
https://addons.mozilla.org/en-US/firefox/addon/14979
But then you need to download the pdf file from web2pdfconverter.com as you want to convert a web page. [ see image ]
Download PDF created


Read More...

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
Done
  • Logout session to see changes.
Watch video for better understanding:
Read More...

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.

Read More...

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.
LXDE?
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

Done
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

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

Read More...

Banshee with ClutterFlow plug-in ( CoverFlow clone )

January 28, 2010

How to install ClutterFlow 0.3.0 plug-in in Banshee 1.5.2 ( 1.6 Beta )
ClutterFlow is a CoverFlow clone for the Banshee media player. ClutterFlow uses the Clutter toolkit to harness the OpenGL powers.
Last weekend I tried to install this awesome banshee extension on my Karmic Koala.
And because I wanted to try the new OpenShot video editor, I made this short demo video:
This CoverFlow style plug-in is still in development, Banshee might crash at certain point while using this plug-in. Here's the installation steps:

Install Banshee
Banshee 1.5.2:
  • Add ppa & install Banshee by running these command in Terminal:
sudo add-apt-repository ppa:banshee-team/ppa
sudo apt-get update
sudo apt-get install banshee

Dependencies
This plug-in require these dependencies :

Mono, Monodevelop, Clutter toolkit ; Clutter, Clutter-gtk & Clutter-sharp
  • Install using this command in Terminal:
sudo apt-get install monodevelop mono-gmcs mono-utils mono-xsp monodoc-http libclutter-gtk-0.10-0 libclutter-gtk-0.10-dev gtk-doc-tools git-core
For Clutter & Clutter-sharp you need to download compile manually. Run these command in Terminal.
  • Clutter:
git clone git://git.clutter-project.org/clutter
cd clutter
./autogen.sh
make
sudo make install
  • Clutter-sharp:
git clone git://git.clutter-project.org/bindings/clutter-sharp
cd clutter-sharp
./autogen.sh
make
sudo make install
If all compiling process goes well then proceed to this steps:

  • Download ClutterFlow 0.3.0 from SourceForge.net .
  • Right click downloaded the tar.gz & select extract here
  • Open Banshee extension folder using Nautilus by Alt+F2 and type
gksu nautilus /usr/lib/banshee-1/Extensions
  • Move the extracted Banshee.ClutterFlow-0.3.0-binaries folder into /usr/lib/banshee-1/Extensions folder that opened by command above.

Done. Start Banshee. The plug-in is enable by default. The video above explains how to use it.
[ source : http://sourceforge.net/apps/wordpress/clutterflow/ | http://www.omgubuntu.co.uk/2010/01/coverflow-banshee-linux-ubuntu.html ]
Read More...

Find & Set Fastest DNS Server for Internet Connection - Namebench

January 07, 2010


Determine best DNS for your computer connection using Open-source DNS Benchmark Utility - Namebench
It hunts down the fastest DNS servers available for your computer to use. namebench runs a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized recommendation.

How to use Namebench to determine fastest DNS server for your Internet connection in Ubuntu?
  • Download namebench-1.1.tgz
  • Extract to any folder (eg. /home or ~/Desktop folder)
  • Open Terminal 
  • Browse using Terminal or cd to extracted folder. Example code:
cd ~/Desktop/namebench-1.1
  • Run this command:
./namebench.py
  • Wait till the end of test process [ image: test done : Terminal]

  • As stated at the end of the test, Namebench generates .cvs & .html files in your /tmp folder. Here is the example of generated .html Nameserver test result looks:  

  • Use this command if you decide to install permanently
sudo python setup.py install
In my case, Namebench claims Google Public DNS-2 is 118% faster than Open DNS -2. So it's time for me to switch.

How to change / set DNS server IP in Ubuntu
  • Go to System>Preference>Network Connections 
  • Select your active connection
  • Click Edit button
  • Select IPv4 Settings
  • Select Automatic (DHCP) adresses only in Method drop button
  • Enter IP address inside DNS Servers box with recommended DNS [ use comma "," for multiple value ].

Namebench also runs on Mac OS X & Windows, and is available with a graphical user interface as well as a command-line interface.
Read More...

Mac OS X for Gnome Ubuntu : How To

January 03, 2010

Mac OS X for Gnome Ubuntu : How To
This article show you some detail steps on how to convert your Gnome Linux - Ubuntu 9.10 Karmic Koala desktop to looks like Mac OS X using some alternative & equivalent software [ see list ] available for Linux.

Install Applications
  • Open Terminal & use these commands to:
Add Gloobus Preview & Gnome Global Menu by adding PPA [ Karmic Koala ]:
sudo add-apt-repository ppa:gloobus-dev/gloobus-preview
sudo add-apt-repository ppa:abhidg/ppa
If this fail. Add PPA manually [ Click URL if not sure how to add ]:
Gnome Globalmenu:
deb http://ppa.launchpad.net/globalmenu-team/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/globalmenu-team/ppa/ubuntu karmic main
Gloobus-Preview:
deb http://ppa.launchpad.net/gloobus-dev/gloobus-preview/ubuntu karmic main
deb-src http://ppa.launchpad.net/gloobus-dev/gloobus-preview/ubuntu karmic main

Then install both using this command in Terminal:
sudo apt-get update
sudo apt-get install gloobus-preview gnome-globalmenu

Install other apps & applet:
sudo apt-get install compizconfig-settings-manager deskbar-applet gnome-do screenlets
Install dock ( install best dock applications that suite your system ) :
  • Cairo-dock :
sudo apt-get install cairo-dock
  • Avant Window Navigator [AWN]
sudo apt-get install avant-window-navigator



Customise Panel
  • Delete desktop bottom panel ( right click panel > Delete this panel )
  • Add gnome main menu, deskbar-applet & gnome global-menu applet by right click >Add to panel & select [image:below]
  • Delete any applet or launcher on Top Panel so it look like this [image:above] ( Remove from panel )
  • We use this settings for gnome global-menu


Install Theme
We use the same old Mac4Lin script which provide pidgin, desktop, awn icons & themes download here.
  • Extract the downloaded .zip.
  • Open the folder, right click on Mac4Lin_Install_v1.0.sh Properties>Permission>Allow executing file as program

  • Open & run the script in Terminal.
  • 2 Wallpaper included in this package, located @ ~/Mac4Lin_v1.0/Wallpapers ( set wallpaper manually if the script fail to change it ).
Install Cairo-Dock Theme, Dashboard Script & Icons
We've made a micro script containing dashboard script, cairo-dock & apple icons folder that will be used in this customising process.
Download Mac4Koala.zip from here [ mirror1 ] [ mirror2 ]
This script will
  • Copy Mac4Koala cairo-dock theme to ~/.config/cairo-dock/theme
  • Place Desklet.sh script for dashboad launcher at ~/Mac4Lin_KK/script
  • Copy some apple icons to ~/Mac4Lin_KK/Icons 
Use the same method as Mac4Lin.zip to run the script.

Dock

Cairo-dock
  • Run Cairo-dock
  • Right click on dock area & select Cairo-dock>Manage themes
  • Select Mac4Koala theme ( installed earlier using Mac4Koala script ) 
  • Tick for both option  & click Apply.
Avant Window Navigator
If you using AWN theme is given in Mac4Lin script.
  • Run AWN, click on AWN manager 
  • Add & select Mac OS X theme from ~/Mac4Lin_v1.0/AWN folder [image]
  • Refresh & Close to see changes


Setting up Dashboard Launcher
Compiz Config Setting Manager
  • Open CCSM [ System>Preference>Compiz Config Setting Manager ]
  • Find & enable Widget Layer

Screenlets
  • Run Screenlets [ Main Menu>Accessories>Screenlets ] 
  • Go to option and tick on Widget option [image]

  • Choose any widget you want ( tick start/stop & auto start on login )
  • Press F9 to see the widget 
Cairo dock 
If you notice, there is Dashboard launcher included in Mac4Koala theme that we made. the launcher already linked to ~/Mac4Lin_KK/script/desklet.sh script . This script has same function as compiz widget layer F9 key that we already set earlier.
To make sure the script running properly;
  • Go to /home/user/mac4lin_kk/script
  • Right click the desklet.sh script and give the file permission to execute as program [ Properties>Permission>Allow executing file as program. ]
AWN
You need to prepare the launcher manually
  • Right click on desktop
  • Create New Launcher 
  • Name the launcher Dashboard
  • in Command box, click browse & select desklet.sh file located at /home/user/Mac4Lin_KK/Script folder
  • Change the icon, dashboard icon located at ~/Mac4Lin_KK/Icons folder
  • Drag drop the launcher to your AWN dock.


Expose - Compiz Scale
  • Open CCSM [ System>Preference>Compiz Config Setting Manager ]
  • Find & enable Scale, assign key/button as desired.
Apple Menu Panel

to change Gnome Main Menu Icon;
  • Alt-F2 & run Config editor by typing gconf-editor
  • Go to apps/panel/objects/object_0
  • tick on use_custom_icon key
  • Enter custom_icon key with folder link location ( in this case Apple icon located at ~/Mac4Lin_KK/Icons/apple_logo_128.png  ) [image]
custom_icon /home/user/Mac4Lin_KK/Icons/apple_logo_128.png
  • the user is your Ubuntu account user name. 

    Fonts
    Go to System>Preference>Appearance>Fonts
    Manually change the desktop fonts following this setting
    Terminal 
    Change Terminal colour profile [see image]
    Run Terminal
    Go to Edit>Profile Preferences
    Go to Colors tab.
    Extra Compiz effect
    If you like to add some window effect settings are available in CompizConfig Setting Manager by enabling Animation Add-on & Animations [image]. Detail options of every window actions are inside Animations menu.

    Firefox 
    For final touch you might want to use Mac OS X theme for your Firefox theme. Download here



    Done!
    Uninstall
    You can uninstall the theme by running the uninstall script located at Mac4Lin installation folder [ Mac4Lin_Uninstall_v1.0.sh ].

    After all these steps, you should get the same desktop appearance & functionality as shown on our video
    Feel free to suggest any other stuff that we missed.
    Good artist create, Greate artist steal.
    Read More...