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 the file to open xterm and then close xterm when the script is done. Here is what the script looks like currently:
sudo apt-get upgrade
sudo apt-get update
sudo apt-get install -f
sudo apt-get clean
Do I need to add something to the .desktop
file or to the script to make it open xterm (and close it when done)?
.desktop
and the Ctrl-Alt-T shortcut all launchx-terminal-emulator
, which is a symlink to/etc/alternatives/x-terminal-emulator
, which in turn is a symlink to/usr/bin/gnome-terminal.wrapper
. In short,gnome-terminal
aka Terminal is the default terminal emulator on Ubuntu.If you want to use
xterm
for just one.desktop
file , follow muru's suggestion in the comments and use useIf you want to globally change the terminal that the system launches by default, run