0

I followed https://askubuntu.com/a/141247/638554 to create an executable script to add to my launcher. When I run my_script.sh it opens the program, but when I double click the executable I created in /usr/shared/applications, it doesn't open the program. It shows the app icon in the launcher for like 3-4 seconds, and then quits.

When I check the executable's properties, it shows the same /path/to/shell/my_script.sh as Command

This is my file:

[Desktop Entry]
Type=Application
Terminal=true
Name=Robo3T
Icon=/path/to/file/robo3t/robo3t.png
Exec=/path/to/file/robo3t/start.sh

enter image description here

mrid
  • 113
  • 1
    try sh /home/burn/Documents/robo3t/start.sh instead. – xR34P3Rx Sep 25 '17 at 13:26
  • Did you make it executable? – George Udosen Sep 25 '17 at 13:34
  • 2
    can you please clarify what you are doing exactly. I can not follow . First, if this application/script is outside the repos I highly suggest your place the .desktop in /usr/local/share/applications/ . Second I can not tell where your application lives as you are using variables. At one point you use /home/burn/Documenta/robo3t/start.sh , but then you use /path/to/shell/my_script.sh and /path/to/file/robo3t/start.sh – Panther Sep 25 '17 at 13:35
  • 1
    If you want the application to be available to all users, put things in system directories. If it is for just yo , use /home/myusername/.local/share/applications – Panther Sep 25 '17 at 13:37
  • Put your script in ~/bin and on – Panther Sep 25 '17 at 13:37
  • 2
    And finally, post your script. – Panther Sep 25 '17 at 13:42

0 Answers0