open with

Asked by vagelis1979

hi i am very new to ubuntu and i would like to learn to use it, no more windows
so i am having a problem,
i am using ubuntu 12,04 and gnome shell 3
how i can create a new command when i right click a file type?
there is no option in right click
i have some pde file types, from Processing, that they do not open in processing window, they open in gedit text editor,
and when i right click on them it dont get the processing in suggested and recommendes applications, so i want to assosiate these file types so they can open directly in Processing when i double click them
i used nautilus advanced settings and i made a new action there, but still i have to make right click in the file--then processing(the name of the action i gave)---and then it opens only the Processing window not this specific file with the Processing window

what can i do??

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
codemaniac (arijit.dutta) said :
#1

If you want to pick a default application, update-alternatives is your friend. Run the command and a list should be displayed from which you make your selection.

sudo update-alternatives --config editor

Revision history for this message
Sam_ (and-sam) said :
#2

The mime type of .pde is text/plain.
http://filext.com/file-extension/pde

The standard app for this mime type in Gnome3 is GEdit.
~$ xdg-mime query default text/plain
~$ gvfs-mime --query text/plain

If you'd like to open a .pde file with a different application,
right click -> properties -> open with ...
select (or search) the preferred application and make it mandatory.

http://www.downloadatoz.com/file-extensions/pde-file-extension.html

Since the associated process app isn't mentioned some web query may help.
http://wiki.processing.org/w/Eclipse_Plug_In
http://gunnewiek.com/2011/open-pde-files-with-arduino-ide-in-linux/
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=99228

Revision history for this message
vagelis1979 (vagelis-kolotsios) said :
#3

sorry but i am very new to ubuntu, if you want you may please give me instructions like you were talking to a little child please, cause i dont understand
sudo update-alternatives --config editor
that you wrote
tahank you

Revision history for this message
codemaniac (arijit.dutta) said :
#4

Ubuntu can have multiple versions of the same application or even different applications of the same type. For example, there can be multiple text editors installed. If you want to pick a default application, update-alternatives is your friend. Run the command and a list should be displayed from which you make your selection. Here I will try to put commands which pick default entries for applications.

Choose default text editor: sudo update-alternatives --config editor

Change default Python version: sudo update-alternatives --config python

Can you help with this problem?

Provide an answer of your own, or ask vagelis1979 for more information if necessary.

To post a message you must log in.