l-Satz

Motorola em325 – my experiences/feedback

Posted by: sathyz on: October 13, 2009

I have used Nokia/Samsung/Sony Ericsson and recently I have switched to Motorola EM325. Finally I made up the decision to post my bad experiences with this mobile/model. My intension is not to promote some ABC mobile/model, I’m just sharing my points that I had noted these days with my mobile/model.

  • Contacts, you don’t have the distribution lists as in Nokia. Just to send Good Morning/Night wishes to my friends I had to select a-z contacts every day. There is an attribute called “Category” which is useful only to search the contacts. At least I could have had an option to send sms to a category.
  • Could not add more than one number for the same contact. Say I have a friend X, who has a land line number xxx and a mobile number yyy. It is still two contacts with same name and (same or different, in this case different) number type (Mobile, Home, Office etc..)
  • Contact quick search is limited to 4 characters.
  • The GPRS is always on. (The icon saying GPRS next to network strength). Am still searching for a way to turn it off.
  • The most annoying thing that I have faced is when sending a message, if there is an incoming call, Bang!! we can neither answer nor ignore it. I have to use the sliders to ignore it or wait till the caller cuts. I still doubt in case that message being sent was intended to many contacts, does it deliver to all?? I doubt it.
  • When the message sending fails, it reports by the number being used, if it is more than one it lists (hope) the numbers, Does it mean that I have to remember everyone’s number and go ahead with further processing (resending to those recipients). why can’t it just say by contact rather than using the number.
  • The second most annoying problem that I had experienced is with the music library. When I had the 2GB Memory card. It took very very long time to just open up the music library.(Now with 1GB memory card it takes almost a minute to load the music library).
  • If you do not close music library/player smoothly (if you close by pressing the red button when playing the music or some other means – perhaps I find no other way to close the music player), the next time you load the music library, there will be no listing (The library will show up nothing). I had to do a refresh in the music library to get the songs updated/shown.
  • The Playlists!! I have tried creating playlists and it never worked. I did create playlist by adding some songs and gave it a name and I was notified that the playlist was created, but it was there only until the player remained open. When I closed and opened the player next time, the playlists were lost!!
  • In games, when I got the mobile, there was car game but I lost it somehow when I added the Memory stick and installed games through it.
  • I was expecting a dialer tone. A tone/song for a contact. Its not available. You can set a tone for all and that’s all. This feature was there even in Nokia 1100.
  • We cannot see the tower details. i.e the tower location. Only the network provider information is shown. i.e Aircel.
  • about a few months (5-6) months after purchasing, I am now facing problems with the FM and the battery.FM doesn’t work at all, which I doubt might be coz its not shock resistant. I think I dropped by mobile down sometimes. It could be the problem, but the battery, Its worse now. It lasts just for 10-12 hours with no calls/sms/fm/music, earlier it used to last till 2 days. Every night during my travel, I start with full battery by the time I wake up mobile would run out of battery.

easy switchover between tabs in vim

Posted by: sathyz on: August 17, 2009

I was so lazy to type :tabnext, :tabprev everytime to swtich between tabs in vim. Now it was made easy by,


map <silent><A-Right> :tabnext<CR>
map <silent><A-Left> :tabprevious<CR>

Got this from John Anderson’s page

nm-applet shows – device not managed

Posted by: sathyz on: August 17, 2009

On my debian Squeeze, I was getting “device not managed” and my nm-applet was showing network disconnected all time. The problem was it doesn’t have the following setting in /etc/NetworkManager/nm-system-settings.conf:


[ifupdown]
managed=true

This has been mentioned in README.debian.

Bug#517427

sed commands useful for hibernate

Posted by: sathyz on: May 26, 2009

After generating hibernate files using ant tasks the column names and table names has to be edited.

say generated code

This has to be edited as,

I use the following sed commands to do this.


sed -i 's|table="\([a-zA-Z_]*\)"|table="\"\1\""|g' table.hbm.xml
sed -i 's|column name="\([a-zA-Z_]*\)"|column name="\"\1\""|g' table.hbl.xml
sed -i 's|schema="\([a-zA-Z_]*\)"|column name="\"\1\""|g' table.hbm.xml

gnome-do plugin [part 1]: create an action

Posted by: sathyz on: May 11, 2009

I started trying out gnome-do when I read an article about the upcoming ontology based tools (gnome-do and ubiquity) in Linux for you. There are many plug-ins available for gnome-do (official and community). I am using Debian(lenny) and had a hard time in setting it up. Setting up do from source was easy, but setting up the plug-ins from source was hard. Do plug-ins (0.8.3) depends on banshee (>=1.4.3), but debian lenny had a lesser version. Then I tried to set up banshee from source which again asked for gstreamer-* > 0.10.3 which was not available in Lenny. Moreover the first step for building banshee in Lenny has failed (apt-get build-dep banshee). Finally, I migrated to debian testing and got gnome-do and its plug-ins from debian repository without any problem. Its time to start our own plug-in, before proceeding to this step, I tried to build a plug-in( EOG-Slideshow ) that is available already in launchpad. All you have to do is,

1. run gnome-do from terminal

2. open the project file in monodevelop

3. build it from Monodevelop.

4. Now, open the plug-ins list by clicking on do in system tray and selecting the preferences. The list of plug-ins available are listed here.

5. We have to drag the dll (which we had compiled just now) and drop it in.

6. Terminal should show the status that the plug-in is getting installed. once it is installed then we shall enable it and start using.

Now, lets start writing the plug-in, the simplest plug-in that I found on net is Google-Search. There are few changes required (we need to include .addin.xml for the plug-in and we should inherit Act etc..).

HelloWorld.cs:

using System;
using System.Collections.Generic;
using System.Linq;
using Do.Universe;
namespace HelloWorld
{
class HelloWorldAction : Act
{
public override string Name {
get { return "HelloWorld"; }
}
public override string Description {
get { return "Say Hello World."; }
}
public override string Icon {
get { return "search"; }
}
public override IEnumerable SupportedItemTypes {
get { return new Type[] { typeof (ITextItem) }; }
}
public override IEnumerable Perform (IEnumerable items, IEnumerable modItems) {
string query = (items.First() as ITextItem).Text;
System.Diagnostics.Process.Start("/usr/bin/xmessage", " -center -default okay hello, " + query);
return null;
}
}
}

HelloWorld.addin.xml:

<Addin
id="HelloWorld"
namespace= "Do"
version="0.1"
name="HelloWorld"
description="Say Hello World."
author="SatheeshKumar Mohan"
category="Community"
>

how to compile it?

$ gmcs -target:library -r:/usr/lib/gnome-do/Do.Universe.dll HelloWorld.cs "/res:HelloWorld.addin.xml"
That’s it, add the plugin to gnome-do as we did earlier and enable it. Just launch do, type anything say, sathyz and select the action “hello world”, it will display an xmessage saying “Hello, sathyz”.

The principle is this action is supported for any text item, (so the source here is text) and action to perform is show a dialog saying hello, # that text#. In the next part l am trying to get data from a specific source, say the data for Rhythmbox comes from rhythmbox.db,for ssh connect it is ~/.ssh/config.

firefox persona

Posted by: sathyz on: April 10, 2009

just tried firefox persona. Love my firefox after that.. :)


Getting Started with Personas from Mozilla Labs on Vimeo.

Tags:

form resubmission in spring

Posted by: sathyz on: March 25, 2009

we used SimpleFormController for handling forms, in which we had onSuccess mapped to url say, ‘/uploadSuccess’. The problem with this was, after submitting the form the user would be taken to “/uploadSuccess”. if user presses refresh in browser or if the user goes to some page and comes back using the back button the form would be resubmitted. To avoid this, use ‘redirect:/uploadSuccess’.

Tags:

ping from gnome-blog

Posted by: sathyz on: March 20, 2009

Testing blog posting from gnome-blog.

Preferences:

Blog Type : Self-Run Other

Blog Protocol : MetaWeblog

XML-RPC URL : http://{blog}.wordpress.com/xmlrpc.php

courtesy: http://ullu.wordpress.com/2009/02/16/gnome-blog-for-wordpresscom-blogs/

Tags: ,

problem in starting nm-applet

Posted by: sathyz on: February 12, 2009

nm-applet fails to start and shows

** (nm-applet:3006): WARNING **: nma_dbus_init(): could not acquire its service. dbus_bus_acquire_service() says: 'Connection ":1.17" is not allowed to own the service "org.freedesktop.NetworkManagerInfo" due to security policies in the configuration file'

The following solution worked for me,
user (skumar) is not a member of group netdev.

Reference : http://forums.debian.net/viewtopic.php?p=205475&sid=1675a9fa3162153fd40654f2b72cb4a8

Tags: ,

subversion client – nautilussvn

Posted by: sathyz on: February 11, 2009

I have been looking for a good subversion client on Linux and started using nautilussvn. That’s pretty cool, since it works from the file browser and pysvn based.

Installation is easy process. I used deb package from the nautilussvn home page on my Debian (unstable).

Still using meld for comparison and that’s also look cool. Have to try using Gvidiff.

Using nautilussvn, could see the modified files, files that are not added to repository, files that are added etc. with good emblems on them. Moreover, we can do svn actions like add, commit, revert etc also by simply right clicking the file.

It is still in development. Check out the screenshots and tutorials on hacking nautilus on that same website.