How to add an entry for Zend Studio in your Ubuntu programs list

I had been trying to add a shortcut/entry for Zend studio in my Ubuntu 11.10.  Finally I could find a way to make Zend studio entry come up in the Unity Application search or Filter. Actually its a rather straight forward procedure. Create a file zendstudio.desktop in the /usr/share/applications/ as root, add the following contents to it, using your editor of choice(I used vi editor).

[Desktop Entry]
Name=Zend Studio
GenericName=PHP IDE
Comment=Zend's PHP IDE

(You could check out the above link to find way to add antry for any custom software using the same method).

N.B: Its my first blog post after nearly one year. Hope that I can follow it with more such useful posts.
The above method was tested by me in Unity based Ubuntu. But it should work fine in any GNOME based OS.

How to type New Indian Rupee Symbol(the right way)


To display the Indian rupee symbol , you must have a font—such as the Ubuntu Font Family—with support for the character.

Windows users may use the new Rupkara font which has the Unicode postion mapping for the symbol. For  downloading the font, please visit-


For K/Ubuntu 10.10 users, this is automatic.The sign can inserted in your own documents using copy-and-paste from another location, or using the Unicode-entry method, which is the correct way of doing it, and it is as follows-

  • Ubuntu 10.10:<Ctrl-Shift-u>20b9<enter>
  • MS Windows: <Press-and-hold Alt>20b9<Release Alt>
  • Kubuntu 10.10: Copy-and-paste ‘₹’
  • HTML: insert “&#x20b9;”


The codepoint at U+20B9 was assigned by the Unicode consortium on 11 August 2010 (2010-08-11).

A fact-

Ubuntu 10.10 is the first operating system to ship with out-of-the-box support for displaying the Indian Rupee Sign, and this happened on 10 October 2010 (2010-10-10).


Vi Commands

For this Purpose
Use this vi Command Syntax
To insert new text
esc + i ( You have to press ‘escape’ key then ‘i’)
To save file
esc + : + w (Press ‘escape’ key then ‘colon’ and finally ‘w’)
To save file with file name (save as)
esc + : + w “filename”
To quit the vi editor
esc + : + q
To quit without saving
esc + : + q!
To save and quit vi editor
esc + : + wq
To search for specified word in forward direction
esc + /word (Press ‘escape’ key, type /word-to-find, for e.g. to find word ‘shri‘, type as
To continue with search
To search for specified word in backward direction
esc + ?word (Press ‘escape’ key, type word-to-find)
To copy the line where cursor is located
esc + yy
To paste the text just deleted or copied at the cursor
esc + p
To delete entire line where cursor is located
esc + dd
To delete word from cursor position
esc + dw
To Find all occurrence of given word and Replace then globally without confirmation
esc + :$s/word-to-find/word-to-replace/g
For. e.g. :$s/mumbai/pune/g
Here word “mumbai” is replace with “pune”
To Find all occurrence of given word and Replace then globally with confirmation
esc + :$s/word-to-find/word-to-replace/cg
To run shell command like ls, cp or date etc within vi
esc + :!shell-command

For e.g. :!pwd

How to add PHP tags to blogs

Hey guys i’ve found out how to add php tags and hence examples to the blog. We just have to replace the ‘<‘ symbol in tags with a &lt; statement, which will render the ‘<‘ symbol for us. Its as easy as that. The problem is that google or blogspot server supports the php and hence when i quote examples, they were actually parsing it, i.e, executing the php code. So in order to prevent that we’ll render the ‘<‘ symbol in the other way, and presto it works. Also put the examples within a <pre> </pre>, it will show the examples as a code-fragment(i.e, in that style).

echo "hello World";

The syntax-highlighting of the code is based on the post- Now i’ll quote more php examples in the blog.