There was an error launching the application while executing .Desktop file in ubuntu

3.9k views Asked by At

I have written a desktop script but when i try to execute the .desktop file as executable file then it's showing an error There was an error launching the application. I think, i have written the desktop file in correct format.

Here is the .desktop script Client Activity Monitor.Desktop

[Desktop Entry]
Type=Application
Name=Client Activity Monitor
Terminal=true
Exec=/home/harsh/Server/server.sh
Icon=/home/harsh/Server/Server-icon.png 

Here is server.sh script file

#!/bin/bash
cd Server
./refersh_server

refresh_server is executable file. Thank You

0

There are 0 answers