06 April, 2010
Punjabi input on Nokia N900...
Please suggest if you have any comments about it.
Add Punjabi Layout to N900:
Download ukeyboard
install it on your device.
Download attached file n900keyboardlayout.zip [1], unzip it
and scp "pa-jhelum.vkb" file to N900 in following directory:
/usr/share/ukeyboard
Enable Punjabi Layout:
Goto
Settings-> Text input -> 1st language --Change this to ਜੇਹਲਮ (ਪੰਜਾਬੀ)
Now you can start type Punjabi. Meanwhile I am trying to add
this layout to ukeyboard so that Punjabi support available
by default.
Note: you need to install fonts for Punjabi, please read
Enable Punjabi on N900
[1] Source file for that is also attached, if you want to change, you can
easily do that. Following ukeyboard instructions to edit and compile it.
09 January, 2010
Recovering a lost Windows Serial Key...
Cover, which I got as Upgrade from Vista (so no
sticker on laptop). It includes Windows Serial No.
It lost this morning, and I installed Windows
without this key, but as need to activate within
30 days, I have to find some solution.
Two Software I found for this work (as I had already
installed Windows 7 on my old bad sector hard disk)
Belarc Advisor
It has Free, Personal Use, working perfect
Recover-Keys
Free for Demo, not perfect and PAID:-)
Finally, I attach old harddisk, boot windows 7 (old installation),
install both software, Recover-keys find few things
Office, Call for Duty and 1 more, but now Windows key,
Then install Belarc Advisor and it create report and
show me in Web browser, yes it contains Windows keys
with IE serial key. So I got the key to Windows Activation.
It save money and something that Punjabi don't like to do...;-)
More information about OEM Windows Version here.
04 January, 2010
Intel i7-720QM and Core 2 Duo Difference...
I just stuck for Intel's Latest Intel i7-720QM.
Surely it seems quite good, but how much from
currently with me? (Intel Core to Duo P8600 and
Intel Core to Duo P9600)
Few Differnce you can get with i7 vs C2D are
following:
Processor Number | P9600 | P8600 | i7-720QM |
No. of Cores | 2 | 2 | 4 |
No. of Threads | 2 | 2 | 8 |
Processor Base Frequency | 2.66 GHz | 2.4 GHz | 1.6 GHz |
Max Turbo Frequency | 2.8 GHz | ||
Cache | 6 MB L2 Cache | 3 MB L2 Cache | 6 MB Intel® Smart Cache |
Bus/Core Ratio | 9.0 | ||
Bus Type | FSB | FSB | DMI |
System Bus | 1066 MHz | 1066 MHz | 2.5 GT/s |
FSB Parity | No | No | |
Max TDP | 25 W | 25 W | 45 W |
Processing Die Size | 107 mm2 | 107 mm2 | 296 mm2 |
No of Processing Die Transistors | 410 million | 410 million | 774 million |
Intel® Turbo Boost Technology | No | No | Yes |
Intel® Hyper-Threading Technology | No | No | Yes |
Intel® Virtualization Technology (VT-x) | Yes | Yes | Yes |
Intel® Trusted Execution Technology | Yes | Yes | Yes |
AES New Instructions | No |
i7 based laptop has hal battery life than P8600.
Dell is start selling Laptop with i7 processor, while Intel is going to release
i5 and i3 Mobile Q1 2010.
13 December, 2009
Maemo 5 on Desktop
finally I got easy method to install it on
desktop machine with help of instruction
over here.

Indic) language to device. Few steps I completed:
Locale-Extras - Updated all Indic locale files
Indic - Project to include all i18n stuff for Indic languages
Keyboard Layout - Virtual/On-Screen Keyboard (which has no Indic support yet)
still I am not able to add my language in it, but find few things
different from my desktop machine:
/usr/share/i18n-locale-resolver/
more time required to work on this, but I have next Internet
connection in coming weeks.
This system setup on Ubuntu AMD64. Often forgot to
put variable vdso32=0 for kernel at boot time.
21 September, 2009
HP Touch Tx2z and Fedora ...
Touch Screen Display, which is quite good
for Windows Vista (Pre-installed), but Windows
Vista was too slow to use (most of Junk
Softwares, thanks to HP).
Finally I installed Windows 7 RC and Speed is quite good,
but not equal to Dell Studio XPS 13 with Intel
Core 2 Duo P8600 (2.4Ghz) (HP has DDR2
and Dell has DDR3) even difference is
not big enough to feel in first look.
My Final Target to get install Fedora or Linux
on HP tx2z, first I tried Fedora 11 (x86_64), which
install quite easy and during installation pointer
moved by touching the screen, but Click
was not working.
Fedora 11 installed, pointer moved, but
Click was not working. Finally Upgrade
that to rawhide (Fedora 12 pre-release),
but that is NOT Working at all. Even wonder
was that there was no /etc/X11/xorg.conf file
at all. But GUI was working. with
system-config-display, xorg.conf file generated
To Fix the issue, I used Ubuntu Website,
where they fixed Xorg.conf file to fix issue
Following Steps I used for it
1) /usr/share/hal/fdi/policy/20thirdparty/10-wacom.fdi
Changed to
wacom
stylus
2) N-trig Symlink
edit (create New file)
/etc/udev/rules.d/90-n-trig.rulesand add following line
KERNEL=="event*", ATTRS{idVendor}=="1b96", ATTRS{idProduct}=="0001", SYMLINK="input/n-trig"
3) Finally my 'xorg.conf' (/etc/X11/xorg.conf) is here
------
[ahawk@ahawk ~]$ cat /etc/X11/xorg.conf
Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/n-trig"
Option "Type" "stylus"
Option "USB" "on"
Option "Button2" "3" # make stylus button R mouse click
EndSection
# Remove the comments below if you have an eraser. Dell XT & XT2?
#Section "InputDevice"
# Identifier "eraser"
# Driver "wacom"
# Option "Device" "/dev/input/n-trig"
# Option "Type" "eraser"
# Option "USB" "on"
#EndSection
Section "InputDevice"
Identifier "touch"
Driver "wacom"
Option "Device" "/dev/input/n-trig"
Option "Type" "touch"
Option "USB" "on"
Option "Touch" "on"
Option "TopX" "0"
Option "TopY" "0"
Option "BottomX" "9600"
Option "BottomY" "7200"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
# Identifier "X.org Configured" # New for Jaunty?
InputDevice "stylus" "SendCoreEvents"
# Remove the comment below if you have an eraser.
# InputDevice "eraser" "SendCoreEvents"
InputDevice "touch" "SendCoreEvents"
EndSection
# Developed with Ayuthia (using Rafi Rubin's Wacom sections as a starting point).
----------
(ya, I have not developed, but all step are from Ubuntu site, for Detail
instruction you can visit here)
Just for Information: I have Windows 7 Firmware Updated.
Next testing I would like to go for OpenSUSE, which has
ability to configure Touch Screen Dispaly within YaST, while
Fedora Has Nothing for try.
Fingerprint reader I failed to Configure in Windows 7 as well
as in Fedora Rawhide. Work continue if get some fix.
22 July, 2009
17 July, 2009
Using automatic login with Fedora
I am using Gnome as desktop f rom some time, while not
big fan of gnome. GDM (gnome display manager) is
default manager. When it is changed to new source code,
there is not Graphical option to configure automatic
login with this. I was trying various time to search
automatic login feature (but I am not command line
user or expert, so not like to change configuration).
finally I got a solution for this. to do this you have
to do following steps:
1) Change GDM->KDE
2) change KDE configuration for Automatic login
3) by KDM, change desktop to Gnome (if you want to
use gnome)
1) easy method is to remove gdm with all dependency
$yum remove gdm
while make sure kdm installed on your machine
2) run systemsettings->Advanced->Login Manager
after application opened, go to Convenience (7),
select “Enable Auto-Login”
User “”
“Lock session”
3) reboot your machine and you will be auto login
with selected user. it will default go to KDE, but
you can use gnome by Logout, select “Session” and
select “Gnome” and afterward you will be automatic
login to gnome session.
there can be various way to do this, but as I like use only
Graphical Interface for most configuration, so I tried this.
ya, kdm package need to install to work this, which will
pull some kde application.
02 May, 2009
Nvidia Driver for Fedora on Dell xps
kmod-nvidia was making small problem
to hibernate and other issue,
searching for solution. Need to
download latest Nvidia Driver
I installed "NVIDIA-Linux-x86_64-180.51-pkg2.run"
packages and it helped to fix me the problem.
it need to install without running X server.
Alt +F1 (or F2/F3) is not only working.
'init 3' also not working. need to remove
/tmp/.Xorg* files and then only driver started.
It required kernel libraries and then
complete automatically for it.
'init 5' command started new interface
and it looks good than 'kmod-nvidia'
driver somehow. Following problem fixed
1) Hibernate working fine
2) Sensor for GPU is working fine

3) Display seems Good to eye then pervious
4) System->Preference-> 'Nvidia X Server Setting'
(it has various setting for X Server)
03 March, 2009
find and merge heads in hg...
committed strings and try to push, it showed eror:
----------------
hg push
/usr/lib/python2.6/site-packages/mercurial/sshrepo.py:64: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
self.pipeo, self.pipei, self.pipee = os.popen3(cmd, 'b')
pushing to ssh://hg.mozilla.org/releases/l10n-mozilla-1.9.1/pa-IN/
searching for changes
abort: push creates new remote heads!
(did you forget to merge? use push -f to force)
----------
then try with 'hg push -f' but not get working
-----------
hg/pa-IN> hg push -f
/usr/lib/python2.6/site-packages/mercurial/sshrepo.py:64: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
self.pipeo, self.pipei, self.pipee = os.popen3(cmd, 'b')
pushing to ssh://hg.mozilla.org/releases/l10n-mozilla-1.9.1/pa-IN/
[searching for changes
adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 13 changes to 13 files (+1 heads)
remote: Two heads detected on branch 'default'
remote: Only one head per branch is allowed!
remote: transaction abort!
remote: rollback completed
remote: abort: pretxnchangegroup.a_singlehead hook failed
abort: unexpected response: empty string
----
finally try 'hg pull', then some hints were there:
------
hg pull
pulling from http://hg.mozilla.org/releases/l10n-mozilla-1.9.1/pa-IN/
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files (+1 heads)
(run 'hg heads' to see heads, 'hg merge' to merge)
------
so, get 'hg heads', it has 3 heads, the
hg merge with 'hg merge 73a86cfb7a92'
and it is fixed and committed to last changes (local 2 central repo)
some other command, I tried:
hg tip, hg heads
More help from Here
12 January, 2009
First Gnome GIT Commit IN...
it was confusion how to commit as a Translator as Damned lies are changed and
everybody can make account on it and submit translation there. But how
to commit.
I have did small search and send first updated file via GIT-svn.
---------
alam@linux-1f05:~/ git clone git://git-mirror.gnome.org/git/gnome-desktop
alam@linux-1f05:~/ git svn init -s svn+ssh://
alam@linux-1f05:~/git svn rebase
alam@linux-1f05:~/l10n/gnome/GIT/gnome-desktop/po> git commit -a -m "2nd attempt to commit translation for pa.po"
Created commit 8ba8cb7: 2nd attempt to commit translation for pa.po
1 files changed, 189 insertions(+), 153 deletions(-)
alam@linux-1f05:~/l10n/gnome/GIT/gnome-desktop> git svn dcommit
Committing to svn+ssh://
M po/pa.po
Committed r5344
M po/pa.po
r5344 = 99872f975ea4227625f8ba2d1df58e5e78e8534f (origin/svn/trunk)
No changes between current HEAD and refs/remotes/origin/svn/trunk
Resetting to the latest refs/remotes/origin/svn/trunk
------
it is reflected and Damned lies. It was 2nd try and commit...
few things:
1) Download size is quite big (gnome-panel-~40MB) (-)
2) number of commands increase (5 instead of 2) (-)
Link used as Reference to make this happen.
12 November, 2008
Firefox Rendering for Indic Language
almost impossible to work in localize environment with
firefox.
When Firefox downloaded and used in Punjabi language (pa_IN)
locale (environment), English web pages are showing characters
in Punjabi (Non-English) font. (Juck characters as in screenshot)

And yes, it is problem on Linux, but not confirmed on Windows.
it is almost impossible to read the Text on most website. Wonder
is that Punjabi Websites works fine.

First bug was filed for Fedora Bugz #460865, which is later
upstreamed to Mozilla
Mozilla Bz #455647 is handle very quickly and fixed
bug for trunk (firefox 3.1/1.9.1), but Firefox 3.0.3/4/5/6/x
is still without patch. If patch is not
available, then Fedora 10, Opensuse 11.0/11.1 will suffer
and native user will actually suffer from it.
Can someone from Mozilla or Indic community will ask
Mozilla l10n to make commet in Bug (or make blocker
for 1.9.0.5/6)?
It is really difficult for regular Indic user to work
with firefox (3.0.x) without patch?
30 September, 2008
how to check changset with HG (mozilla)
After commit some files, I need to find what is changeset, which
I forgot to get with following command before 'hg push':
$ hg outgoing
this command give you output as changeset.
After small search I found new command as below:
$ hg log
This command give you complete log, from start date and first
few line will be latest log as below:
------
singh-brars-macbook:pa-IN Preet$ hg log
changeset: 9:c712d30e06bb
tag: tip
user: A S Alam
date: Tue Sep 30 20:20:34 2008 +0530
summary: Update for Beta Release with add/remove lines, files for Punjabi (pa): A S Alam
changeset: 8:ad8705b0d648
user: A S Alam
date: Tue Sep 30 20:18:16 2008 +0530
summary: Update for Beta Release with add/remove lines, files for Punjabi (pa): A S Alam
------
this was useful to get latest changes commit to directory
12 August, 2008
my first 'hg' commit to mozilla
Finally today I cheched out en-US and pa-IN (for checkout, please check Docs),
started with few translation for one file and used step as mention in Mozilla Docs
following is output of my terminal
------
amanpreet:pa-IN Preet$ hg commit -m "updating translation first time with hg for Punjabi (pa) by Amanpreet Singh Alam"
amanpreet:pa-IN Preet$ hg outgoing
comparing with ssh://hg.mozilla.org/l10n-central/pa-IN/
searching for changes
changeset: 2:0c8a3c71fe9d
tag: tip
user: A S Alam
date: Tue Aug 12 11:47:59 2008 +0530
summary: updating translation first time with hg for Punjabi (pa) by Amanpreet Singh Alam
amanpreet:pa-IN Preet$ hg push
pushing to ssh://hg.mozilla.org/l10n-central/pa-IN/
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
amanpreet:pa-IN Preet$ hg push
pushing to ssh://hg.mozilla.org/l10n-central/pa-IN/
searching for changes
no changes found
---------
first 'hg push' is so slient that I can't understand that anything commited or not, so I run once again
and tried to fresh checkout and Yes, changes are there. So Please don't except any version for new files
as in CVS.
So, finally log can be check Mozilla-l10n-central
First Punjabi hg commit "Push" can be found at
First Punjabi Commit Log.
09 August, 2008
Mac and Python Error for hg
version control ) for my Firefox translation Project. Python was installed previously on macBook
(Mac OS X 10.5.4), but while running hg command, it showed error like following:
-----------
amanpreet-singh-brars-macbook:~ Preet$ hg ****
Traceback (most recent call last):
File "/usr/local/bin/hg", line 18, in
mercurial.util.set_binary(fp)
File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 74, in __getattribute__
self._load()
File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 46, in _load
mod = _origimport(head, globals, locals)
File "/Library/Python/2.5/site-packages/mercurial/util.py", line 33, in
_encoding = locale.getlocale()[1]
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py", line 460, in getlocale
return _parse_localename(localename)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py", line 373, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
---------
last line was making some know hint, something wrong with locale setting.
Tried to set various setting from terminal, finally it is fixed and here are commands I used
-----
$ printenv LANG
$ export LC_ALL=en_US.UTF-8
$ export LANG=en_US.UTF-8
-----
if you want those changes each time you log-in then make ~/.bashrc file and add
those lines there.
Note: I have not reboot my machine after making those changes, please don't know
whether work or not;-)
03 June, 2008
AMD CodeAnalyst - Open Source -> Intel
This is tool used to complete their mission "Code Faster, Faster Code".
yes, if you first time read this line, you may not understand fully, but
read twice and you will get it.

It is GUI, where it is using Linux oprofiler as Base and in Windows
has other (really I don't know and get when that Guy told).
Detailed documentation is available at Above Website,
I just like to highlight what I noted from this.
->Priority Changed from Windows Based CodeAnalyst to
Platform independent, while Manager Changed about
3 year back.
-> Project started around 1996-97.
->Windows Version is advance than Linux
(new feature introduce in Windows GUI, backport to
Linux GUI)
-> Qt Toolkit is used as it is more platform independent.
-> Linux GUI - QT -3
-> WIndows GUI - QT -4
-> AMD developers are more Open and want
participate in OSS and also want contribution for their projects.
BAD:
-> all RHEL5.1 and Fedora's Binary and Source Package (RPM as
well as .tar.gz) for CodeAanalyst Failed to run (although installed
but not able to Run properly
--Error was like---
program was searching something in /dev/virt/2 and /dev/virt/3,
while RHEL5 kernel only has 0 and 1, so failed during 'Run' binary
files. (while working on his machine)
------
-> Not a Single machine having AMD processor in whole workshop
-> AMD Indian Developer's idea to make joke of people, who
asked him about Hardware, while he was Software guy. This
point made me unhappy with some "Great Developers" as they
thought people are mad, but those always failed to understand
that "Someone really knows you: AMD is processor!!!" Is this not big thing?
This is attitude, which is common between in Asian people, while
surely you will not found in other.
-> Main Developer was not very sure about Other processors other than
AMD. It is ok if you think from one angle, but I always felt
bad if you only know and test your product only. How can
you improve if you don't know competitor's product, specially
when you are trying to make new product for "ALL Platforms"??
(same view about Operating system, how can I know that
something works "better" on Linux, until I knows about some
other OS).
At last, I was not very statisified with Workshop as
Product was not working on RHEL platform and I was
able to use it properly.
I got something, not AMD pen drive and T-Shirt, but
Desire to work with AMD CodeAnalyst and yes, to
use AMD processor in my future buy-list computers.
(now my car has on AMD Turian processor (hanging
in mirror and AMD Pen Drive to Listen music in Car)
22 April, 2008
MacBook, Mac OS 10.5 and OpenSUSE 10.3
I tried to install Linux (opensuse 10.3) on
my newest MacBook. Each Time I put
DVD or CD. It showed Blank Screens with
single cursor. What is this?
even tried with opensuse 11 Alpha2, but
same problem. I couldn't think that it was
Software Issue as Suse is best yet for me
to Hardware, but I used fedora 8 CD. Oh,
yes, it is also failed. so it was some new issue, which was not yet discussed in
any fourm or Mailing list (I searched 2 days on google, but not able to find).
while Windows Vista boot normal as Mac
support itself. This make me quite dispointted.
Finally I put my USB keyboard and mouse to start MacBook and by chance, rEFlt
boot from DVD and it started installation.
Cool, it worked, I verified 2 times later that during Boot rEFlt failed to boot from CD/DVD ROM if you have not Keyboard attached. Don't know if it is bug or not,
but now I have installed openSUSE 10.3
on my system as per instruction given
on THIS Page.
only problem I found after installation is
Sound, which is still not working, I tried
various solution.
16 April, 2008
Mac OS and Import Keyboard Layout
but need Unicode Punjabi (Gurmukhi) Input, which is available
partially in Mac with Help of small variant of Incript and
Phonetic for Gurmukhi, but I was not use to any of those.
So, first issue to
How to Make New Layout (surely Import) in Mac OS?
Text input or any Editor available in Mac?
Where to Use that File and whether any Text or Binary File required?
and last issue how to Configure newly made Keymap?
from with google, I found very good Unicode Mac Keyboard
Layout Editor "Free"
Ukelele
it is Easy to copy present Keyboard layout and modified
as per required. Documentation is also good,
which help to fix me 3rd issue (where to)
good thing about Mac is to use XML file directly.
(2nd issue FIXED)
Just copy newly created layout in your Home folder 's directory
and it will start use immediately
~/Library/Keyboard Layouts/
so Path on my machine is following:
/Users/aalam/Library/Keyboard Layouts
Click on your Top-Right Side (Keyboard Indicator)
and Click to add new layout,
select Gurmukhi Jhelum and start using that.
My system working fine for me now. Biggest issue for
type Gurmukhi (Punjabi) FIXED, but few question still
in my mind
How to Import this layout in Upstream (in Mac OS by default)
and how to contact with Those people to improve Punjabi
support in OS. (surely Font Shape is Best among other
Oerating system including Windows XP, Vista, Linux
and other Free Fonts (Saab, Lohit or any other),
but I am missing 25cc (Unicode), dotted Circle in fonts.
Also want to improvement in Keyboard layout.