SilverWav's Journal

The best is yet to come…

Archive for May 2010

Note: Dashboard for mozilla and chromium daily builds

leave a comment »








Written by SilverWav

May 30, 2010 at 12:25 am

Note: Proper font smoothing in Firefox

leave a comment »

This setting is key, by default (20) its almost never used.

As I wanted text to be optimized for display quality I set

browser.display.auto_quality_min_font_size = 0

Possible values and their effects

A non-negative integer, specifying device pixels. Text rendered at this size or larger is optimized for display quality rather than display speed. Default is 20.

* Text in chrome (the UI) is always rendered with the high-quality path.
* Web pages can override the effects of this preference by specifying the text-rendering CSS property.

Recommended settings

To use the highest quality display and legibility settings for all rendered text, set this preference to 0. Conversely, setting this preference to a very high number will cause Mozilla to use the fastest rendering methods for all text.

Written by SilverWav

May 17, 2010 at 11:45 am

Posted in Notes

Tagged with , , , ,

One Daily A Month – The latest firefox without the update hassle.

leave a comment »

One downside of using ubuntu-mozilla-daily is the number of updates offered.
Another is that packages other than Firefox are present in the PPA.

This is my solution.

One daily a month from ubuntu-mozilla-daily.
The latest firefox without the update hassle

  • One ppa for each Firefox.
  • Updated at the start of each month.
  • Tested in a virtual machine.

Firefox-3.6.5 or Firefox-3.7a5(aka Firefox-4) via One Daily A Month.

Firefox-3.6 – one-daily-a-month-0 – Lucid
Firefox-3.7 – one-daily-a-month-1 – Lucid
Firefox-3.6 – one-daily-a-month-2 – Karmic
Firefox-3.7 – one-daily-a-month-3 – Karmic

Add a PPA:

Firefox-3.6 – One Daily A Month #0 – Lucid

sudo add-apt-repository ppa:silverwave/one-daily-a-month-0
sudo apt-get update
sudo apt-get install firefox

Firefox-3.7 – One Daily A Month #1 – Lucid

sudo add-apt-repository ppa:silverwave/one-daily-a-month-1
sudo apt-get update
sudo apt-get install firefox-3.7

Firefox-3.6 – One Daily A Month #2 – Karmic

sudo add-apt-repository ppa:silverwave/one-daily-a-month-2
sudo apt-get update
sudo apt-get install firefox

Firefox-3.7 – One Daily A Month #3 – Karmic

sudo add-apt-repository ppa:silverwave/one-daily-a-month-3
sudo apt-get update
sudo apt-get install firefox-3.7

Firefox 3.6 will be found under the name “Namoroka” in Applications > Internet.
Firefox 3.7 will be found under the name “Minefield 3.7 Web Browser”.

Disclaimer: Use at your own risk, no guarantees.

Written by SilverWav

May 13, 2010 at 7:07 pm

Firefox 3.6.5 3x Faster with html5.enable=True

with 3 comments

Interesting update to the Firefox Speed Test feature I did a while back.

In Firefox 3.6.5 if you set html5.enable to true via about:config then you get some inpressive gains on the test case load times.

Down to 13 seconds from 37 seconds!

Wow way to go guys :-)

Note: Filter time obviously haven’t moved as this is a parser replacement nothing to do with js,

Firefox 4: the HTML5 parser – inline SVG, speed and more


Test Results – Linux



Browser OS Times Slower
Firefox 3.6.4 Lucid 0:37 0:37 0:37 7.4 x
Firefox 3.7.a4 Lucid 0:38 0:38 0:35 7.4 x
FF.3.6.5 html5.enable    Lucid    0.13 0:13 0:13    2.6 x   
Chromium 5.0. Lucid 0.05 0:05 0:05



Browser OS Times Slower
Firefox 3.6.4 Lucid 2:07 2:05 42.0 x
Firefox 3.7.a4 Lucid 0:28 0:28 9.3 x
FF.3.6.5 html5.enable    Lucid    2:08 2:03   
Chromium 5.0. Lucid 0:03 0:03


Filter word: Platypus


Henri Sivonen wrote on May 11th, 2010 at 10:50 am:

@jpvincent, It’s highly unlikely that this would get backported to 3.6.x.

@jng, Flipping the pref in Firefox 3.6.x exposes you to known bugs inlcuding crashers. The snapshot of the parser in 3.6 is from June 2009 before the parser had had any testing by our community of users of nightly builds. I recommend getting a trunk nightly if you want to run the HTML5 parser and not enabling it on 3.6.x.

Written by SilverWav

May 11, 2010 at 10:47 pm

Posted in News

Tagged with , , , , ,

Handbreak – Just use the PPA and save yourself some pain

leave a comment »

Ubuntu Nightly Builds

sudo add-apt-repository ppa:stebbins/handbrake-snapshots
sudo apt-get update
sudo apt-get install handbrake-gtk


If you find broken things in these builds–which you will– please wait a few days (and try a newer build) then post a thorough bug report in the bugs forum.

Builds for Ubuntu can be found at LaunchPad other disto builds here.


HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder, available for MacOS X, Linux and Windows.

Supported Sources:

Any DVD-like source: VIDEO_TS folder, DVD image or real DVD (unencrypted–protection methods including CSS are not supported internally and must be handled externally with third-party software and libraries), and some .VOB and .TS files
Most any multimedia file it can get libavformat to read and libavcodec to decode.

File format: MP4 and MKV
Video: MPEG-4, H.264, or Theora
Audio: AAC, CoreAudio AAC (OS X Only), MP3, or Vorbis. AC-3 pass-through, DTS pass-thorugh (MKV only)
Misc features:

Chapter selection
Integrated bitrate calculator
Picture deinterlacing, cropping and scaling
Live Video Preivew

Written by SilverWav

May 10, 2010 at 6:25 pm

Note: Adding Blank Lines in WordPress

leave a comment »

<div style="height:20px;"></div>

Written by SilverWav

May 8, 2010 at 8:35 pm

Posted in Notes

Tagged with ,

Notify-osd – Now with 70% Less Annoy :-)

with 5 comments

Reduce the notify-osd time-out to 3 seconds, rather than the default 10.

Its amazing how much this changed my appreciation of the notifications…
I have found the annoyance is mainly based on them being on screen too long.

Tested on Lucid 10.04 64bit – experimental.

Quick Fix: Add the PPA and update:

sudo add-apt-repository ppa:silverwave/apps-0
sudo apt-get update
sudo apt-get install notify-osd


If you:
Want to create your own package…
Would like to see a worked example…
Want to see how to alter an existing package…
Or would like an explanation of how to Publish a package to your PPA.
…carry on reading.



Install Packaging Tools

sudo apt-get install devscripts build-essential fakeroot debhelper gnupg pbuilder dh-make ubuntu-dev-tools diff patch cdbs quilt lintian

Create a folder to work in

sil:~$ mkdir pak
sil:~$ cd pak
sil:~/pak$ ls

Test the display time of notify-osd

sudo apt-get install libnotify-bin
notify-send "test" "Write some notify-osd  text on screen... for How Long?!"

Download the source for notify-osd

sil@hyd:~/pak$ apt-get source notify-osd
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'notify-osd' packaging is maintained in the 'Bzr' version control system at:
Please use:
bzr get
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 623kB of source archives.
Get: 1 lucid/main notify-osd 0.9.29-0ubuntu2 (dsc) [1,305B]
Get: 2 lucid/main notify-osd 0.9.29-0ubuntu2 (tar) [608kB]
Get: 3 lucid/main notify-osd 0.9.29-0ubuntu2 (diff) [14.4kB]
Fetched 623kB in 2s (227kB/s)
gpgv: Signature made Wed 14 Apr 2010 11:59:03 BST using DSA key ID A2D7D292
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./notify-osd_0.9.29-0ubuntu2.dsc
dpkg-source: info: extracting notify-osd in notify-osd-0.9.29
dpkg-source: info: unpacking notify-osd_0.9.29.orig.tar.gz
dpkg-source: info: applying notify-osd_0.9.29-0ubuntu2.diff.gz
dpkg-source: info: upstream files that have been modified:

List the files and folders

sil@hyd:~/pak$ ls

Setup .bashrc example

sil@hyd:~$ gedit .bashrc

Add these lines:

export DEBFULLNAME="silverwave (Launchpad OpenPGP Key)"
export DEBEMAIL=""

Setup .pbuilderrc example

sil@hyd:~$ gedit .pbuilderrc

Add these lines:

COMPONENTS="main restricted universe multiverse"


Update Package

Change notify-osd time-out value

sil@hyd:~/pak$ cd notify-osd-0.9.29
sil@hyd:~/pak/notify-osd-0.9.29$ gedit src/defaults.c



Change to:


Save and close gedit.

Update the debian changelog with debchange (dch -i)

sil@hyd:~/pak/notify-osd-0.9.29$ dch -i

Update Version Number:


Add Change Details:

  * src/defaults.c:
    - Changed DEFAULT_ON_SCREEN_TIMEOUT from 10000 to 3000

Note: Your email needs to be perfect…

This is correct for me:

 -- silverwave (Launchpad OpenPGP Key) <>  Sat, 08 May 2010 18:50:00 +0100

This would cause gpg to fail later when attempting to sign the files.

 -- silverwave <>  Sat, 08 May 2010 18:50:00 +0100

Save and close nano (ctrl+x).

Update the source package (debuild -S -sa)

sil@hyd:~/pak/notify-osd-0.9.29$ debuild -S -sa

You will be asked for your gpg passphrase twice.
Then you should see a success message.

Successfully signed dsc and change files

Updated Files

sil@hyd:~/pak/notify-osd-0.9.29$ cd ..
sil@hyd:~/pak$ ls

Pbuilder initial environment setup

sil@hyd:~/pak$ sudo pbuilder create

Build package with pbuilder

sil@hyd:~/pak$ sudo pbuilder build notify-osd_0.9.29-0ubuntu2ppa1.dsc

Once pbuilder has completed the build you can see the .deb here:



Uploading a package to a PPA

sil@hyd:~/pak$ dput ppa:silverwave/apps-0 notify-osd_0.9.29-0ubuntu2ppa1_source.changes
Checking signature on .changes
gpg: Signature made Sat 08 May 2010 18:54:45 BST using RSA key ID 03187548
gpg: Good signature from "silverwave (Launchpad OpenPGP Key) <>"
Good signature on /home/sil/pak/notify-osd_0.9.29-0ubuntu2ppa1_source.changes.
Checking signature on .dsc
gpg: Signature made Sat 08 May 2010 18:53:20 BST using RSA key ID 03187548
gpg: Good signature from "silverwave (Launchpad OpenPGP Key) <>"
Good signature on /home/sil/pak/notify-osd_0.9.29-0ubuntu2ppa1.dsc.
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ppa (via ftp to
  Uploading notify-osd_0.9.29-0ubuntu2ppa1.dsc: done.
  Uploading notify-osd_0.9.29.orig.tar.gz: done.    
  Uploading notify-osd_0.9.29-0ubuntu2ppa1.diff.gz: done.  
  Uploading notify-osd_0.9.29-0ubuntu2ppa1_source.changes: done.
Successfully uploaded packages.

Email confirmation

[PPA silverwave-apps-0] [ubuntu/lucid] notify-osd 0.9.29-0ubuntu2ppa1 (Accepted)
Launchpad PPA
 to me
show details 11:30 PM (9 minutes ago)
 OK: notify-osd_0.9.29.orig.tar.gz
 OK: notify-osd_0.9.29-0ubuntu2ppa1.diff.gz
 OK: notify-osd_0.9.29-0ubuntu2ppa1.dsc
    -> Component: main Section: x11

Format: 1.8
Date: Sat, 08 May 2010 18:50:00 +0100
Source: notify-osd
Binary: notify-osd
Architecture: source
Version: 0.9.29-0ubuntu2ppa1
Distribution: lucid
Urgency: low
Maintainer: DX Team <>
Changed-By: silverwave (Launchpad OpenPGP Key) <>
notify-osd - daemon that displays passive pop-up notifications
notify-osd (0.9.29-0ubuntu2ppa1) lucid; urgency=low

 * src/defaults.c:
   - Changed DEFAULT_ON_SCREEN_TIMEOUT from 10000 to 3000
e51a110171de8622c325ab56c598ba15322e3e9b 1613 notify-osd_0.9.29-0ubuntu2ppa1.dsc
795ecc42602b46390437c3787f3eb94f6fd562fc 607576 notify-osd_0.9.29.orig.tar.gz
650adb6b4695a50da86fe46f7c877ada1defe0a1 14612 notify-osd_0.9.29-0ubuntu2ppa1.diff.gz
17e7c4c6e4d41a2d321ad6a23a2671f854c299b656bb22e6894edeeda65ee83c 1613 notify-osd_0.9.29-0ubuntu2ppa1.dsc
7b8d79fc6dce7002fb3639ae7e9ad85e5f5063fbcc62fe27b80700142a0d7fd7 607576 notify-osd_0.9.29.orig.tar.gz
02903f5080d5a58bf89f6220294e62a30e342a202f8e67fd7f80fa7c5e609f25 14612 notify-osd_0.9.29-0ubuntu2ppa1.diff.gz
79e54b412cf3029013b4cdbef8ae01ce 1613 x11 optional notify-osd_0.9.29-0ubuntu2ppa1.dsc
13df20eb3c6d06c17eef07400e1650d8 607576 x11 optional notify-osd_0.9.29.orig.tar.gz
9c8f64588ed44e0c93142bd4cf5c52f2 14612 x11 optional notify-osd_0.9.29-0ubuntu2ppa1.diff.gz

You are receiving this email because you are the uploader of the above
PPA package.

Check the PPA

1  → 2  of 2 results
[FULLYBUILT] 	i386 build of notify-osd 0.9.29-0ubuntu2ppa1 in ubuntu lucid RELEASE
Build started 18 minutes ago on samarium (virtual) and finished 13 minutes ago taking five minutes — see the log
[FULLYBUILT] 	amd64 build of notify-osd 0.9.29-0ubuntu2ppa1 in ubuntu lucid RELEASE
Build started 20 minutes ago on americium (virtual) and finished 15 minutes ago taking five minutes — see the log
Expanding the package you may see this message:

Note: Some binary packages for this source are not yet published in the repository.

You will need to wait until the binary packages are build before testing.


sil@hyd:~/pak$ sudo add-apt-repository ppa:silverwave/apps-0
[sudo] password for sil: 
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver --recv 4E0614F88874AF754D66E9C1EBD6062C6DE6117C
gpg: requesting key 6DE6117C from hkp server
gpg: key 6DE6117C: "Launchpad PPA for SilverWav" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Check policy

sil@hyd:~/pak$ sudo apt-get update
sil@hyd:~/pak$ apt-cache policy notify-osd
  Installed: 0.9.29-0ubuntu2
  Candidate: 0.9.29-0ubuntu2ppa1
  Version table:
     0.9.29-0ubuntu2ppa1 0
        500 lucid/main Packages
 *** 0.9.29-0ubuntu2 0
        500 lucid/main Packages
        100 /var/lib/dpkg/status

Install notify-osd – Now with 70% Less Annoy :-)

sil@hyd:~/pak$ sudo apt-get install notify-osd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 177kB of archives.
After this operation, 0B of additional disk space will be used.
Get: 1 lucid/main notify-osd 0.9.29-0ubuntu2ppa1 [177kB]
Fetched 177kB in 0s (416kB/s)    
(Reading database ... 185774 files and directories currently installed.)
Preparing to replace notify-osd 0.9.29-0ubuntu2 (using .../notify-osd_0.9.29-0ubuntu2ppa1_amd64.deb) ...
Unpacking replacement notify-osd ...
Setting up notify-osd (0.9.29-0ubuntu2ppa1) ...


Note: Here is a link to a video that’s a great help, Learning MOTU – Upgrading Packages

Written by SilverWav

May 8, 2010 at 2:39 pm