Is there a way to set a title to a terminal that is opend via desktop shortcut?
The perfect solution would be if the [Desktop Entry] Name=myTitle could be displayed in the title. Does anyone know if this is possible?
See also (approach here didn't work): desktop shortcut to terminal-app of another user possible?
based on this: Can no longer set terminal title in Ubuntu 16 (gnome-terminal)
printf
part (which is what does setting the title of the terminal) beforesu
. Specifically, with your example, I'd doExec=bash -c 'printf \"\033]0;TEST1\007\"; su -c "/home/xyz/zzz -param1 " xyz; read -p "Hit Enter to close terminal:"' '
– Sergiy Kolodyazhnyy Jun 26 '18 at 20:24