Ubuntu 12.04 - HP 2510p laptop (wifi, fingerprint, performance and power management)

HP 2510p

The HP 2510p is a 12.1” screen notebook designed for heavy duty and security.

Ubuntu Installation is very simple on this laptop, as it integrates some very standard components.

But, if you want to be able to fully exploit this laptop possibilities, you still need to do some specific configurations for :

  • Core 2 Duo CPU power management capabilities
  • Mobile Intel GM965 Express chipset
  • Intel Pro 4965 wifi adapter
  • AES2501 fingerprint sensor

This article will explain how to configure Ubuntu Precise 12.04 to fully use the HP 2510p laptop hardware.

It will also help you to tweak your HP 2510p for better overall performances and battery power management.

Read more: Ubuntu 12.04 - HP 2510p laptop (wifi, fingerprint, performance and power management)

Gnome Shell - Customise your SSH terminal per Host basis

dropcap-gnomeshell-ssh

If you are a sysadmin, your desktop must be filled with SSH consoles, allowing you to supervise and administrate a lot of different servers. And there is nothing more similar to a console than another console.

As all these console are the same, there is a real risk of error, typing some commands on the wrong server ...

Nowadays, the standard Gnome Shell terminal is providing a begining of solutions with the support of profiles. So, with the help of these profiles, you can easily change the title bar, background color, background image or text color of your consoles. Your consoles can be customised for every host, but you have to select the profile once the console is opened.

Why not to automatised the process ?

This article explains a solution to select automatically a profile according to the SSH host. The main principle of the proposed solution is to :

  • create one SSH configuration for each host
  • create one Gnome Terminal profile per host
  • use a helper script to detect the host and to launch the terminal with the right profile

To make it simple, when you will type custom-ssh -e "ssh server1"  you will launch gnome-terminal SSH console to server1 host using server1 profile.

The strengh of this solution is that it will be integrated with SSH Search Shell Extension, which is a fantastic productivity tool available under Gnome Shell. It allows you to launch your SSH console by just typing the first letters of the host to administrate.

It has been tested under Ubuntu Precise 12.04, but it should work with any Linux distribution using Gnome Shell 3.x.

Read more: Gnome Shell - Customise your SSH terminal per Host basis

Ubuntu - Resume your computer from any USB device (keyboard, mouse, remote, ...)

Ubuntu

With the arrival of Gnome Shell, one major step has been taken : by default you can't switch-off your computer !

In fact, the only menu available is Suspend. You have to press ALT at the same time to see the Switch-off menu. You will find lots of topics about this strange evolution on the net, with lots of furious people who still want to keep the power of switching off their computer.

But, if you think twice about it, suspend / resume is one of the revolution of modern appliances : who is still switching-off a TV set, a video player or an ADSL box ?
Almost nobody ! Now, you suspend it from your remote. So why not to handle your favorite computer the same way ?

usb-symbol Even if it is consuming a little bit of power, suspend state is having a very strong advantage : it takes almost no time to resume to working condition.

Who is ready to wait for 1 minute or more to check his mails, when 5 seconds are enough to resume a computer with thunderbird already open ?

Under Ubuntu, the only trouble is that your USB input devices (keyboard, mouse, MCE remote, …) are not fully configured by default to be used to resume from a suspend mode.

This guide will explain how to configure your USB input devices to be able to wake-up your suspended computer. As a result, you will be able to wake-up your Ubuntu computer with :

  • a simple key press on your keyboard
  • a click on your mouse center button
  • the power button of your MCE remote

It has been written on a Ubuntu Precise 12.04, but should be applicable with any Linux flavor using a kernel version prior to 3.10.
As USB power management has changed drastically in kernel 3.10 +, this article is not applicable for kernel 3.10+.

Read more: Ubuntu - Resume your computer from any USB device (keyboard, mouse, remote,...)

Ubuntu 12.04 - Revo 3610 as a XBMC Media Center with TV and Remote

 dropcap-xbmcNowadays, Linux can be a fantastic welcoming OS for a very complete Media Center. In term of functionnalities, here is what you can expect :

  • silent & low consumption system
  • possibility to use a MCE Remote
  • suspend/resume from the remote only
  • ability to play HD movies (720 & 1080)
  • DVB-T functionnality, including HD channels
  • recording possibility for DVB-T
  • access to all video, photo & music from a network share
  • access to any type of media on USB key or APN

After reading this list, you can say : Ok, very well, but why not to use a distribution like Openelec ?

Answer is simple : geekitude ... is an attitude ! Why let others handle things that you can handle directly by yourself.

So, here are the installation steps to convert a very small & silent nettop into a full featured digital Media Center using a standard Ubuntu Precise 12.04 platform.

Read more: Ubuntu 12.04 - Revo 3610 as a XBMC Media Center with TV and Remote

Thunderbird - Fully sync with Gmail services (Email, Calendar and Contacts)

Thunderbird for Gmail

Nowadays, more and more smartphones and tablets are running Android OS, which is tightly linked to google Gmail services.

These devices are designed to be fully synchronised with main Gmail services :

  • email
  • calendar
  • address book

On the other end, you are having a computer at home were you are also handling emails, calendar and personal address & phone book.

This guide will explain how to fully setup your Thunderbird client to get it fully synchronised with your Gmail account for all associated services.

With this setup, you will be able to handle your emails, calendar events and personal address book entries from any of your Android device (smartphone and/or tablet) and your personal computer.

And ... all of them will always be fully synchronised. Whatever you do on one side will be forwarded to all others.

All this guide has been tested on a Ubuntu desktop, but it should work on any Linux or Windows Thunderbird client.

Read more: Thunderbird - Fully sync with Gmail services (Email, Calendar and Contacts)

Ubuntu 10.04 - TrendNet N150 (TEW-648UB) wifi adapter on Lucid

dropcap-ubuntu-wifi

TrendNet N150, also referenced as TEW-648UB, is one of the smallest and cheapest USB Wifi adapter available.

But this Wifi adapter is not working Out Of the Box under Ubuntu Lucid 10.04 LTS.

NetTrend N150 adapter is powered by a Realtek RTL8192SU chipset, which is recognised by the latest 2.6 kernel, but needs a firmware which is not provided by the standard Ubuntu Lucid packages.

trendnet-n150-tew648ubThis article will explain the easy steps to make it work under Ubuntu Lucid.

It has been tested on Lucid x86 (32bits), but there is no reason that it should not work with Lucid AMD64 (64bits).

 

 

Read more: Ubuntu 10.04 - TrendNet N150 (TEW-648UB) wifi adapter on Lucid

Ubuntu 12.04 - Stabilize your camcorder video with MELT and Vid.stab

dropcap-ubuntu-stabilize

Since availability of Ubuntu Xenial 16.04, this procedure is obsolete and is not updated.
Please use Ubuntu 16.04 - Rotate & Stabilize your video with MLT and Vid.stab instead.

Nowadays, street video shooting is becoming a reality.
Who is not having a smartphone, a point-and-shoot camera with video capabilities or even a HD camcorder ?

These devices are affordable, light-weight, very compact and easy to use. Whatever happens around you, you are able to record it on the spot. But, on the other end, as these devices are compact and light, they are not very steady. Your recordings tend to be shaky !

Till date, there was no simple solutions under Linux to stabilize (unshake) videos. One of the first one I used was transcode with vid.stab plugin. This stabilization plugin is very efficient. But the transcode tool is giving lots of trouble as soon as you want to encode your resulting video to h264. In fact, the interface between transcode and ffmpeg is type of 'broken'.

Short time back, the MLT framework has integrated a port of vid.stab stabilization plugin. That is a very good news as MLT framework provides a command-line tool melt which interfaces very well with FFmpeg libraries for h264 encoding.

This article will explain how to easily post-process any video file to stabilize (unshake) it. It will use :

  • latest version of MELT, a command-line tool from MLT framework, which comes now with vid.stab stabilization filter
  • latest version of FFmpeg to re-encode the resulting video with h264 codec and aac audio

It will explain 2 different approaches :

  • stabilization thru command-line
  • stabilization directly from Nautilus, thru a Nautilus script
Read more: Ubuntu 12.04 - Stabilize your camcorder video with MELT and Vid.stab

Joomla - Cross-browser mp3 playback with audio.js library

Joomla

If you need to publish some music on your site, you know how difficult it is to provide a cross-browser solution. Either your audio files will be embedded in a Flash stream and it won't be compatible with all IOS devices (iPhone, iPad, ...) or it will be compatible with HTML5 format and it won't be compatible with older browsers (IE8, Firefox 3, ...).

Hopefully, audio.js is there to fulfill all these needs. It is a fork of video.js, targeted on audio content in mp3 format. In fact, it's a drop-in javascript library that allows HTML5's tag to be used anywhere, with a Flash fallback for browsers not understanding HTML5. It is focused on mp3 format, due to its universality.

As a result, it is compatible with about 99% of the world browsers ! This seems to be the ultimate solution to publish audio content.

This article will explain how to allow you to easily publish some mp3 audio files on your Joomla site thru the audio.js library. It is using the standard <audio> tag and it has been tested on iPhone, iPad, Firefox, Android, ...

It has been designed on a Debian server with a Joomla 1.5 site, but it should be compatible with any Joomla 2.5 site as well.

Read more: Joomla - Cross-browser mp3 playback with audio.js library

Ubuntu - Tweak Firefox for speed and SSD disk

Ubuntu

Firefox is a very powerfull and versatile browser, but it has the tendancy of doing a huge amount of disk write accesses.

If you hold a modern computer with very fast hard disk, it's no problem.

But if your hard disk is slow or if it is a SSD drive, you then need to minimize to a maximum all the disk write access, in term of responsivness and durability.

This article will explain how to optimize firefox following two main directions :

  • minimize the write accesses (very interesting for SSD drives)
  • tweak generic parameters for performance boost

Its first effect will be a huge disk write access reduction and ... a real boost in terms of performance !

So lets start to tweak your firefox parameters to rediscover your surf experience.

Read more: Ubuntu - Tweak Firefox for speed and SSD disk

Debian - Very fast backup server for your Windows PC

Debian

Till today, a lot of personal computers are still running Windows OS (XP, Visat, Seven, ...) and many people are still keeping a lot of valuable datas directly on their workstation or laptop hard disk. Most people do so because of ignorance of the risks  or because they are always on the move and they need their files available anytime, even not connected to any server.

The side effect of this behaviour is that everything can be lost in case of a hard disk crash, as all the datas are stored locally on the PC.

So, to avoid that type of loss, it is very important to save all your personal valuable files on a secure server.

RSync may be the clue to this problem. In fact, RSync is widely used to do data backup in the Unix/Linux world and it is having a lot of advantages :

  • it is multi-os (unix, linux, windows, ...)
  • it is using differential backup mecanism (only modifications are sent across the network)
  • it is command line base
  • some GUI are available, even on Windows (DeltaCopy)

This article will explain how to provide a very simple and very efficient way to backup your Windows PC local files on a Debian server with the help of RSync and DeltaCopy.

It has been succesfully tested on Windows XP and Windows Seven clients and on Debian Squeeze server.

By following these steps, you will be able to save all your local datas from your Windows PC to your Debian server in a very optimised and lightning fast way. Whatever happens to your PC, your personnal data will be safe !

Read more: Debian - Very fast backup server for your Windows PC

Debian - Share same port for HTTPS, SSH and OpenVPN

Debian

If you need to administrate your home network while on the move, you will soon realize that you need different type of accesses.

The standard accesses you may need are :

  • Https to access your secured pages or webdav shares
  • SSH to administrate your main server
  • OpenVPN to get a full unrestricted access to your LAN

The only problem is that many Internet providers are blocking most of the ports used by these protocols. With some very restrictive providers (or with some corporate proxy) the only available ports may be 80 & 443.

So the solution to that problem is to allow Https, SSH & OpenVPN to share the same 443 port. With such setting, all your connexions needs can be handled from any type of network.

To help us to reach that goal, a fantastic little tool is available under Linux : sslh.

This tool listens on one specific port, analyse the stream & forward it to a specific local port according to thits type. To be able to handle any type of SSH client and OpenVPN connection, we need to install and configure the latest version of SSLH (1.9 minimum).

This guide will explain how to install the latest version of sslh, which is not available in the distribution repository, on a Debian Squeeze. It should also work on Debian Lenny and on some flavours of Ubuntu also.

Read more: Debian - Share same port for HTTPS, SSH and OpenVPN

Page 7 of 9