I want to install a program which is not inside ubuntu Software : Processing. I downloaded the tar.gz package, followed this doc - create a processing.desktop file inside /usr/share/applications/ - and the program works from the terminal.

inside processing.desktop :

[Desktop Entry]
Comment=Un environnement de développement pour le langage Processing
Categories=Development;Electronics' > processing.desktop

But I would like an integration : Processing have to be in the apps (win+A) and the extensions file had to be recognize.

  • 1
    Would you please add the contents of your .desktop file to your questions (edit it) and leave me a comment (@ByteCommander) when you finished? – Byte Commander Mar 11 '15 at 14:35
  • I did it, but know my .desktop file is the suggestion of david foerster – mizolm Mar 11 '15 at 21:04
  • Try the command desktop-file-install. I described it in my answer here. Don't hesitate to upvote if it helped you. – Byte Commander Mar 11 '15 at 21:11

Here's my /usr/local/share/applications/processing.desktop:

[Desktop Entry]
Name=Processing Development Environment
Exec=processing %F

Assuming processing is in your $PATH. Otherwise you need to specify the executable path after Exec=. There's no “standard“ MIME type for processing, so I made one up (application/x-processing-sketch). You also need to add it to mimeapps.list.

Alternatively you can look at the answers to How to make file association (not with CLI tool/command)? how to create a file association for your user account only.

A suitable icon pack can be found at http://www2.informatik.hu-berlin.de/~foerstda/libs/pde-icons.tar and installed with

sudo tar -xf pde-icons.tar -C / 

or simply

wget -O - http://www2.informatik.hu-berlin.de/~foerstda/libs/pde-icons.tar | sudo tar -x -C /
  • thx, I did it, Processing is now inside "apps". but nothing for the extension .pde. I copy this line application/x-processing-sketch=processing.desktop; just under _[Added Associations] ... – mizolm Mar 11 '15 at 21:00
  • we never said "recognize the extension .pde " ? – mizolm Mar 12 '15 at 8:34
  • It says so in your question: “and the extensions file had to be recognize.” What are you trying to get at? I don't understand. – David Foerster Mar 13 '15 at 15:19
  • when I launch a .pde file I want it opens with Processing, currently the file is open with Gedit. thx – mizolm Mar 14 '15 at 16:00
  • see, if my update helps you. – David Foerster Mar 14 '15 at 21:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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