0

I have downloaded, installed - Sublime Text 3, RStudio, VLC, etc using the official procedures mentioned. If i access these programs via Terminal, by running their respective binaries, it works. However, via GUI - when I search for the applications - only VLC appears. So basically only way to run Sublime Text and RStudio for me is to access via Terminal. I have set the environment variable PATH in /etc/profile to directories that have binary files of these applications. Still problem persists. Surprisingly no one else has reported similar error before - of not being able to launch applications without CL.

0

Just Create a 'application_name'.desktop file and save it in /usr/share/applications

Here is the format of the desktop file:

[Desktop Entry]
Version = <Version of the Application>
Name = <Name of the Apllication not the binary>
Exec=</path/to/binary>
Icon=</path/to/icon>
Terminal=False
Type=Application
Categories=<whatever the application falls into>

Enter the respective Names , binary and icons except the < and >

EDIT:

Here is an example of desktop file as @Zanna pointed out.

  • 1
    there's an example for a .desktop file for sublime here – Zanna Jul 17 '16 at 7:48
  • Well I was unaware of that , thanks for pointing out! – hellozee Jul 17 '16 at 7:53
  • Thanks. It worked. Didn't know significance of .desktop files till now. – Chaitanya Bapat Jul 17 '16 at 8:39

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.