Sunday, July 4, 2010
Colombo Ride 3D
Following is the trailer of Colombo Ride 3D, a Sri Lankan 3D mobile game developed by Gamos Technology Solutions (GTS). This will bring a new world of experience to Sri Lankan mobile game lovers. Further details can be found at http://games.lk/
Keywords:
colombo-ride,
games,
mobile,
sri lanka
Friday, July 2, 2010
Install/Update Mozilla Firefox 3.6.6
Mozilla launched a new update for Mozilla Firefox. This new release is a update for crash protection feature, which was first introduced in Mozilla Firefox 3.6.4. Mozilla blog says the crash protection feature,
"protects Windows and Linux users from crashes and freezes caused by third party plugins such as Flash and Silverlight. When a plugin crashes, users can reload the Web page to restart the plugin and continue browsing. When a plugin freezes, making the whole browser unresponsive, Firefox 3.6.4 terminates the unresponsive plugin after waiting 10 seconds. These changes were tested with a beta audience of close to one million users."I just installed on my machine, which runs Ubuntu 10.04 Lucid Lynx. I found this nice article which describes how to do a update for it: How to update Firefox to 3.6.6 on Ubuntu 10.04, Lucid Lynx
NOTE: When updating if you don't want to have all updates (for other packages) you should uncheck them. This will reduce the size of the download. The easiest way to uncheck all at once is double clicking the update titles in "Update Manager". For example: "Recommended Updates", "Proposed Updates" etc. Then, just click on check-boxes Firefox packages.
Sunday, June 27, 2010
Wordle word clouds
Here are some word clouds I created using Wordle. Wordle is a service which generates a cloud with a given text. It gives greater prominence for words appearing frequently, making those words to appear bigger. Following clouds were created using the content in this blog.
Try it: http://www.wordle.net/
Try it: http://www.wordle.net/
Thursday, June 24, 2010
Test Post from GoogleCommandLine: GoogleCL
Hello, I'm posting this from Ubuntu 10.04 terminal using the GoogleCL tool. It's awesomeeee...... :D Should learn the full api and command line arguments. This is just a test post to check how it works.
That would be all. Good Bye!'
Command I'm using is: 'google blogger post --tags tagsInQuotes,GoogleCL,goole --title TitleInQuotes TheBodyContent.
Added p html tag just to check how it would look like! You can download GoogleCL from http://code.google.com/p/googlecl/That would be all. Good Bye!'
Wednesday, May 26, 2010
Remote Debugging Java packages in WSO2 Carbon using IntelliJ IDEA
Here I'm going to tell you an easy way of debugging java packages deployed under any WSO2 product. So, you don't need to go wondering and go through thousands of lines looking what the bug was in your package.
What you need:
- IntelliJ IDEA
- Download the latest version from http://www.jetbrains.com/idea/download/index.html#linux
- Installation instructions can be found here.
- The WSO2 Product you are deploying the package in. All WSO2 Products are listed here.
Then, go to Run -> Edit Configurations
Add a remote debug configuration by clicking on '+' sign (at top left corner) and then remote.
It comes with a default set of settings. Keep them intact. get to know the port number(generally it's 5005)
Now, start the WSO2 Product you are using with the parameter of debug followed by the port number.
sh wso2server.sh debug 5005
It waits and listens on port 5005 until remote debugging client is started. Start the client by, (in IDEA)
Run -> DebugAll done. Now you can do normal debugging by putting break-points in your .java files.
That's how I got it done. Does this help you to succeed in remote debugging?
Tuesday, May 18, 2010
Remote Desktop for Linux Using VNC
Here, I'm telling you a easy way to do remote desktop from Linux. You can access Linux machine through another machine with Linux Distribution or from Microsoft Windows as well.
The method used for this is VNC (Virtual Network Computing).
Before, trying anything, you need to know this. The machine that you use to access a Remote machine is called the client. And the Remote Desktop is the server. In VNC what happens is, we install a VNC server software in server side (Remote machine) and access it though a client software.
Let's get in to business. It's pretty easy. Here I'm telling doing remote desktop for a Linux machine from any environment. I did this Ubuntu 10.04 Lucid Lynx but applicable to other distros as well.
You can create any number instances as you like. They will be numbered as <host>:<id> which will be distinguised by a port number. You can know the port number by looking at the log file from ~/.vnc/<host>:<id>.log. ex. cat ~/.vnc/uom\:1.log . You need port to access the server instance. Port number is generally 5901 or nearby. And server IP address (do ifconfig)
Now go to Client.
A comment about your experience or anything is appreciated. Good luck!
The method used for this is VNC (Virtual Network Computing).
Before, trying anything, you need to know this. The machine that you use to access a Remote machine is called the client. And the Remote Desktop is the server. In VNC what happens is, we install a VNC server software in server side (Remote machine) and access it though a client software.
Let's get in to business. It's pretty easy. Here I'm telling doing remote desktop for a Linux machine from any environment. I did this Ubuntu 10.04 Lucid Lynx but applicable to other distros as well.
- In Server (Remote machine), first install vnc4server package from Synaptic Package Manager. (Go to System -> Administration -> Synaptic Package Manager) Search for vnc.
- Install the package named vnc4server. Or, in terminal,
sudo apt-get install vnc4server
- Then, go to client machine and install xvnc4viewer. By terminal or from Synaptic. This is accesses the server and displays the virtual desktop.
apt-get install xvnc4viewerNow the installation is over. How to run?
- First, create a server instance in the Remote machine you want to connect to by, entering command 'vnc4server' in terminal. Your output would look similar to below if everything went smooth.
kasun@uom:~$ vnc4serverNOTE: In the first run it will ask to set a password. Give a strong password to it as anyone with it can access your server if it's turned on.
New 'uom:1 (kasun)' desktop is uom:1
Starting applications specified in /home/kasun/.vnc/xstartup
Log file is /home/kasun/.vnc/uom:1.log
You can create any number instances as you like. They will be numbered as <host>:<id> which will be distinguised by a port number. You can know the port number by looking at the log file from ~/.vnc/<host>:<id>.log. ex. cat ~/.vnc/uom\:1.log . You need port to access the server instance. Port number is generally 5901 or nearby. And server IP address (do ifconfig)
Now go to Client.
- Run xvnc4viewer . It will ask for the server to connect to: give it in the format <ip>:<port> ex. 10.100.1.100:5901
- OR, there are Microsoft Windows alternatives available such as RealVNC. Download it from here. (Filling the form is not compulsory!)
A comment about your experience or anything is appreciated. Good luck!
Saturday, May 15, 2010
Fix for 'Ubuntu Lucid Touchpad not working'
Ubuntu 10.04 is intended as a Long Term Support (LTS) release, but surely it's not less of bugs. Touchpad stopped working when disable button is pressed, is surely one major bug of Lucid by usability wise. My friend Subash and I both faced this problem when we install Lucid. We both have HP Pavillion Series Laptops. In theory, this should work on any laptop/touchpad. Based on user comments, this fix was successful in both Acer and Lenovo, (and of course HP). Does this applies to later versions of Ubuntu as well? Just let me know. I'm using Gentoo Linux now for a change!
There's a fix for Ubuntu 11.04, 11.10 (Unity) as well. Read to the end.
The Synaptic Touchpad driver of touch-pad is installed, and it's Recognized. The problem is sometimes it gets disabled for no reason. Subash's Touchpad didn't work just after the fresh install, forcing him to reinstall again, as the reason was unclear at the moment. Later we found the problem and the fix.
What we have to do is enable the touchpad by setting the touchpad_enabled property to true. Here's the command to do it in one step.
Alternative to above, you may edit the file manually and restart gnome. Change the touchpad_enabled property to true (see screenshot), and enter following command in terminal:
As I've said, this has fixed the issue in my laptop, HP DV-5, Synaptic Touchpad, Ubuntu 10.04. Share the model of your laptop as well if this fix worked for you too.
The above solution is for GNOME, and probably won't work on Unity Desktop Environment (ie. Ubuntu 11.04, 11.10). For that, try the following.
Does this fix work for you? I haven't extensively checked this. So, value your feedback.
UPDATE 1: After the touchpad issue, it's quite difficult to navigate. So, I created a simple script for it. Save it to your home(~/) folder. Then, you can run it by following command from terminal.
(You can get the terminal by pressing ALT+F2. Type "gnome-terminal" without quotes and press Enter. Or just press Ctrl + Alt + T)
UPDATE 2: Sometimes, when touchpad disable button is pressed, Keyboard starts to not work. But, still (fortunately) some key combinations works. The reason for keyboard not functioning is unknown for me, but there's a workaround for this problem. The work around which fixed this keyboard issue is the following.
That is, go to console tty1 and come back! Strange, but it does work.
There's a fix for Ubuntu 11.04, 11.10 (Unity) as well. Read to the end.
The Synaptic Touchpad driver of touch-pad is installed, and it's Recognized. The problem is sometimes it gets disabled for no reason. Subash's Touchpad didn't work just after the fresh install, forcing him to reinstall again, as the reason was unclear at the moment. Later we found the problem and the fix.
What we have to do is enable the touchpad by setting the touchpad_enabled property to true. Here's the command to do it in one step.
gconftool --type Boolean --set /desktop/gnome/peripherals/touchpad/touchpad_enabled trueThis changes the touchpad_enabled property to true in ~/.gconf/desktop/gnome/peripherals/touchpad/%gconf.xml file. This will fix the issue.
Alternative to above, you may edit the file manually and restart gnome. Change the touchpad_enabled property to true (see screenshot), and enter following command in terminal:
killall gnome-session
As I've said, this has fixed the issue in my laptop, HP DV-5, Synaptic Touchpad, Ubuntu 10.04. Share the model of your laptop as well if this fix worked for you too.
The above solution is for GNOME, and probably won't work on Unity Desktop Environment (ie. Ubuntu 11.04, 11.10). For that, try the following.
unity --replace
sudo modprobe -r psmouse && sudo modprobe psmouse
Does this fix work for you? I haven't extensively checked this. So, value your feedback.
UPDATE 1: After the touchpad issue, it's quite difficult to navigate. So, I created a simple script for it. Save it to your home(~/) folder. Then, you can run it by following command from terminal.
sh ~/touchpad-fix.shDownload touchpad-fix.sh
(You can get the terminal by pressing ALT+F2. Type "gnome-terminal" without quotes and press Enter. Or just press Ctrl + Alt + T)
UPDATE 2: Sometimes, when touchpad disable button is pressed, Keyboard starts to not work. But, still (fortunately) some key combinations works. The reason for keyboard not functioning is unknown for me, but there's a workaround for this problem. The work around which fixed this keyboard issue is the following.
That is, go to console tty1 and come back! Strange, but it does work.
- Press CTRL+ALT+F1 (This will bring you out of X Window for a moment)
- Then, CTRL+ALT+F7 (This brings back the X )
Subscribe to:
Posts (Atom)













