Here is my desktop entry to run "PRGM.sh"
[Desktop Entry]
Encoding=UTF-8
Name=PRGM
Comment=Launch PRGM
Exec=gksu /home/markku/PRGM.sh
Icon=utilities-terminal
Type=Application
Terminal=true
The program runs in terminal and at the end outputs a code I want to check. But the desktop entry runs the program in terminal and closes when it finishes so can't check the code. How can I modify the desktop entry to not close the terminal after execution? (It is required to use gksu)