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