i m new to ubuntu so i want to know how to make quanta plus as a default editor for php files

in windows we just use open with context menu first time for new type of file and check 'use this application for these type of files' & then that type of files open always in checked application .i want to know such type of facility/feature on ubuntu

and one more thing

if i open 2 php files then two instance of quanta plus opens, whereas i need that second php files open on another tab of already opens quanta plus editor.

link|improve this question

60% accept rate
see my answer on this related question for alternatives to Nautilus' built-in "open with" feature. (setting a default with Nautilus never works for me.) – quack quixote Jun 23 '10 at 19:56
feedback

2 Answers

Have a look at /etc/gnome/defaults.list and look for PHP and change it with quantaplus and restart your X session.

If it doesn't have php entry, Try this.

  • Right click on any PHP file and navigate to Open With tab.
  • Add Quanta application using add button at the bottom
  • After adding it , select it from option.
link|improve this answer
PHP not found in /etc/gnome/defaults.list, currently it's open in gedit by default – diEcho Jun 23 '10 at 13:17
each time i have to select it through option? i want to escape from that sir – diEcho Jun 24 '10 at 9:04
No, Not every time, just one time. After that file manager make that as a default one :) – TuxGeek Jun 24 '10 at 12:08
feedback

If you open a folder with a PHP file, then you can right click on the file and select "Open with other application ..." This will give you a dialog box where you can select the quantaplus editor. Make sure you tick the checkbox at the bottom of the dialog box which says 'Remember this application for "PHP script" files'.

link|improve this answer
@ Hamish there is no checkbox at bottom.... Remember this application for "PHP script" files – diEcho Jun 23 '10 at 13:19
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.