I have this .desktop file set to update my software:
[Desktop Entry] Version=1.0 Type=Application Name=Update Software Comment=Application Exec=/home/david/Update_Script.sh Icon=/home/david/Downloads/upgrade.jpg Categories=Application; Terminal=true
HOWEVER, It launches Terminal, where I would prefer XTerm. So do not mark this as a duplicate of this. I want file to open XTerm and then close Xterm when done. Here is what the shell file looks like currently:
sudo apt-get upgrade sudo apt-get update sudo apt-get install -f sudo apt-get clean
Would I add something to the .desktop file or to the shell to make it open the Xterm (and close it when done)?