-
Install ubuntu tweak
sudo apt-add-repository ppa:tualatrix/ppa sudo apt-get update sudo apt-get install ubuntu-tweak - Find the MIME description for your file extension
- Right click on the file and click on properties
- In the properties window, note the text shown after Type:
- This is the mime description we are looking for. for ex: PHP script
- Add a custom program to open your filetype
- Start Ubuntu Tweak from the Dash, and click on the Admins tab on top; then click on the File Type Manager entry on the bottom:
- After the File Type Manager opens, click on All in the left sidebar, and uncheck the Only show filetypes... box at the bottom:
- Select any filetype on the right side, and begin typing the first few letters of the MIME description from Step 2 to automatically search and select your filetype:
- Double-click on your filetype, which is now selected, to edit its associated commands.
- Click on Add, and in the Add Application window, expand the Custom Command option on the bottom
- Type the command/program you want or use the Browse button to navigate to it and select it; here I have selected the Netbeans editor from my /opt folder:
/opt/netbeans-7.2.1/bin/netbeans - Click on Add, so the new command is now the default, and then click Close:
- Now right click on file and click on properties. Click on 'open with' tab. The default application should be netbeans. Close this window and open the file. It should open in Netbeans
Thursday, December 6, 2012
Set netbeans as default editor in ubuntu
Subscribe to:
Post Comments (Atom)





2 comments:
thanks for helping,i have solved my issue by fallowing the above steps its great.
Great !!
Post a Comment