Change of address – from to

February 3, 2011 at 12:44 am (1, Linux News) (, , , , )

The site is in the process of moving to in the hope to enable additional services than just wordpress.

All the new posts will be posted to the new blog address above; so it is recommended to visit the above site.

Possibility to redirect to by automatic redirection is under consideration, but it comes at a financial charge. At the mean time, you may need to click the above hyperlink to visit the new site.


Malshan Peiris (lmpeiris)

Permalink Leave a Comment

Fedora 11 – The buggiest fedora ever

July 3, 2009 at 2:58 pm (1, Linux News) (, , , , , , , )

Fedora 11 is the buggiest of the Fedora clan but it doesn’t mean it’s bad. As my opinion it’s the best Linux Distro… Most of these bugs were due to the fact that I have out-dated hardware!

My fedora 11 Gnome desktop ... Nothing new fron FC9

My fedora 11 Gnome desktop ... Nothing new fron FC9

I have mentioned why I decided to upgrade from fedora 9 to 11 in my previous blog article. So here I’m almost after a week ……. wonder what happened? I was fighting the bugs which were found to be ultimate challenge and test of stamina after I started using Linux. For 3 days, I was hopeless as I was unable to see even the desktop! But problems did not end there for me… There are still some unsolved mysteries even with after upgrading bug-fixes. You should understand that I’m kind of addicted to Fedora, so whatever happens I would be using her just hoping that bug-fixes will arrive in time, and the next Fedora 12 would be somthing brilliant like Fedora 9. (Still, i think Fedora is the best as it comes with cutting-edge tech which is why actually these bugs come)

On last Saturday, after writing my previous blog, I first decided to upgrade from version 9 to 11. I saw the warnings on others who tried it, but as I have upgraded 7,8 to 9 it didn’t come new to me. So I upgraded which took 4 hours, and when restarted it shows GRUB all over the screen where GRUB should be loading. Like this:


So I boot Fedora11 with rescue mode and typed

chroot /mnt/sysimage ‘changing root path to FC11 root

and i opened grub.conf file in /etc and it appeared good, it shows that it had identified the windows OS, and had pointed to correct paths. No problem.

The /boot/grub/ file was correct, which says which hard drive is sda and sdb. The file looks like this:

(hd0) /dev/sda

(hd1) /dev/sdb

Hence, (hd0,0) refers to 1st partition on 1st hard drive (ex: sda1) on the grub.conf file, (hd1,1) refers to 2nd partition on the 2nd (ex: sdb2).

So i reinstalled grub with grub-install sdb (as my linux installation was in 2nd hard drive) but didn’t work, but doing

grub-install -–force-lba sdb

did work. Error found to be something to do with the AWARD bios and grub.

So I came to the fedora 11, but upgrade has been buggy. So buggy that it crashes every time. With no choice, I decided to back-up my data and do a fresh install.

So I did the fresh-install using “use entire drive” option, and without changing any details as a beginner would do. When installation was complete, I saw “Error 22” instead of grub upon rebooting. It means that system cannot find the bootloader, which is GRUB. I looked at the files and it seemed like system has detected the drives in wrong #’s. So I did grub-install again, with –recheck and -–force-lba which didn’t work.

So I decide to install again, this time using custom settings for partitions. I used Ext3 for / partition where Ext4 was the default. This did work, finally. Finally I was able to run fedora11. The problem was that the GRUB still cannot identify Ext4 file system, and it gives errors in some systems.

So here I see the desktop, but wrong resolution. So i typed system-config-display on the terminal… but there was no such command! You do have a “Display” applet on System>Prefrences but it couldn’t even get my monitor type. So I installed system-config-display by,

yum install system-config-display

I was soon to find out that i’m becoming a yum addict. This is because programs which used to compile well on FC9, ends up on errors (C syntax errors – you can’t solve those) particularly due to version incompitabilty of GCC and Cmake etc… So a person who haven’t used yum before (me) started doing everything by it!

Upon installing mplayer – my favourite player, I found out that it crashes everytime I open a video! Damn— It did superbly on FC9! Unable to figure out why, I was shocked that even the vlc played buggy and totem too did the same! By this time I knew something was wrong with multimedia drivers — but later found out that it’s a bug of PulseAudio — and again updating didn’t help. Changing to ALSA and OSS didn’t help as they seem “deactivated” although everything I could find on these have been installed.

Anyway, I could get mplayer to run by changing the video output driver from Xvideo to opengl. But it doesn’t give the previous quality. But still up to now, i can’t hear any sound at lmms,hydrogen, audacity and record-sound.

Finally trying to print by IT degree notes I plugged in my HP P1005 laserjet. I saw an improvement than in FC9, it automatically installed driver and software for the printer! But when I sent a document to print… nothing happened.. It says “your printer may not be connected” … what the HELL? I checked the installed drivers and they were 100% correct. I guess this is a bug in new hplip 3 or cups. Still not solved. Printer did well in FC9 where I manually installed hplip 2.8.

Permalink 7 Comments

Moonlight 3D – Linux can do 3D animation

June 24, 2009 at 8:39 pm (1, Graphics) (, , , , )

Some 2 weeks ago, I posted an article about Genious, an excellent Java program. When writing that blog I recalled another brilliant Java program I installed about an year ago. It’s a 3D animation program ! No one will think Java can do that.

It’s a simple program written using Swing, mostly like 3D studio max to design and animate 3D objects. A grid is there as usual with space vectors x,y,z. 3D view and xy,yz,xz plane views are shown simultaneously. A timeline is visible when you hit create animation button. Additionally, python scripts can be used to program the animation.  You can select one of many basic shapes under create object pane, and modify it from the modify menu bar. So my first drawing looked like this. (I’m not good at graphics). Anyway, you can have some fun with this program, whatever you know.

3D graphics I created - version 0.2.0 running on JRE 1.6

3D graphics I created - version 0.2.0 running on JRE 1.6 (@ FC9)

According to their homepage , these are the features of version 0.2.2

  • Modelling – Unique history-based approach ,Support for non-manifold meshes, including polygons with arbitrary vertex counts ,3D manipulators ,Object instancing ,Fully editable object history at any time
  • Materials, Lighting and Rendering-Fully integrated Sunflow, a renderer with support for modern lighting features like ambient occlusions, global illumination and caustics ,Omnidirectional, spherical and spot light sources ,HDR image output ,GLSL support including GLSL shader editor
  • Animation-Multiple animations of scenes ,Virtually all parameters in the construction history are animateable separately,Rendering of animations
  • Other-Flexible user interface that can be adapted to the user’s needs ,Flexible and extensible plugin based architecture ,Full Python scripting capability,Headless batch mode ,Integrated script editor
The operator graph of moonlight 0.2.0

The operator graph of moonlight 0.2.0

You can download the binary files version 0.2.2 for Linux from this link (14MB). Just make sure you have latest Java Runtime installed to run the program. Untar the downloaded file and double-click on or at the terminal type,
Moonlight Application Framework
Is the package for programming moonlight components, specially it’s plugins. My knowledge is limited on this subject, anyway you can download the source code from here.

Permalink 3 Comments

Open dialect – IDE for building flash 9 movies, AIR apps in Linux!

June 16, 2009 at 5:59 pm (1, Other multimedia) (, , , , , , , , , )

After I found out about gnash (blog article here) – the open source Shockwave flash player, I thought why FOSS people are not programming an application to build flash movies so we can have it running on Linux. I was wrong, they’ve already built one… and it’s one of the best! It’s core is based on open source Adobe Flex language. IDE is written using C# (.NET Framework) and ported to Linux by mono and GTK#. Look the below screenshots to see how nice it is..

Open Dialect 0.6 running on mono 1.9 in FC9

Open Dialect 0.6 running on mono 1.9 in FC9

It’s easy to use as the flash, and this gives people the ability to build flash contents very fast which would be put on the internet. It’s flash-like because, it has all those programming components (buttons, sliders,text boxes, labels etc…) with the drawing components (circles,lines,squares,tables etc..); and it has the noticeable time line too. All of these can be dragged and dropped like in flash or VB. There are wizards for beginners like in MS Office, but If you need, you can switch to the flex code right away. This program is like power point because it allows transitions between “slides” like in PP.

The most important 2 features of this program is:

  • It can export Flash 9 SWF’s

  • It can design & compile AIR (Adobe Integrated Runtime) applications

Anyone knows how flash and AIR rocking the internet these days. This makes open-dialect a FOSS community priority, as it may be the only FOSS applications to handle both these types. Some people already say open dialect is the future of flash IDE’s.

Building a AIR application using OD

Building a AIR application using OD

For more information, you can visit their home site at this link.


It’s easy as ABC as pre-compiled binaries are already avialable. Download the version 0.6 from this link. Double click on the compressed .tar.gz file and drag and drop where you want them to be. Run the file opendialect. In the command line use the command ./opendialect (Please notice that your Linux distribution should be new enough for this).

Permalink 6 Comments