Norm Radder wrote:Is this a file: xterm.desktop that is on the desktop?
Yes - both are files.
~ represents your home directory, so for you, the files should probably be put in the
/home/normt/Desktop directory (may be different with Ubuntu).
The
desktop file is used to provide specifications to launch your application from the desktop. Some information here:
https://linuxconfig.org/how-to-create-desktop-shortcut-launcher-on-ubuntu-22-04-jammy-jellyfish-linux
Norm Radder wrote:How was that file created?
I used the
vim editor, but any editor could be used.
Norm Radder wrote:I assume the script file being executed does not have an extension.
Script files don't need an extension, the fist line, with the
#!(shebang) specifies the shell/interpreter to use.
Norm Radder wrote:I see that its first line has: /usr/bin/bash vs /bin/bash in my script file???
I am running Oracle 8, and the
bash shell is located in the
/usr/bin directory. Ubuntu may be different.
Norm Radder wrote:I have two file managers: nautilus and nemo ...
The computer I am using uses Nautilus (the default for Gnome).
Norm Radder wrote:I would like to execute the .sh file and not have to answer questions. Is that possible?
Yes, but I don't really have enough knowledge/experience to help much more - sorry. I rarely use a graphical desktop, and I typically use Redhat/Oracle/Centos Linux (I do use Ubuntu OS inside containers, but those are never graphical). Hopefully someone else that uses Ubuntu and Gnome as their everyday platform can help.